Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This Document will guide you how to install CloudCX on your own server.

...

Code Block
breakoutModewide
sh cloud_cx_ctl.sh run -i puteyun/cloud_cx:${tag} -t api -w ${DBdb_Addraddr} -m ${DBdb_Passwdpasswd} -r ${Redisredis_Passwdpasswd}

Note: Please MUST replace the Variables in the above command with the correctly value

  • ${tag} is the release version of CloudCX, for example: 3.2.3

  • ${DBdb_Addraddr} is the Database Server address of CX (Midware Services Address). It is recommended to keep the Midware in the same LAN for local installations or on the same switch for cloud installations to ensure better performance and connectivity.

  • ${DBdb_Passwdpasswd} is the password of the database

  • ${Redisredis_Passwdpasswd} is the password of the Redis

...

Open Browser, input “https://host:9006/”, the “host” is the IP address or domain name of your CloudCX server (Linux Server). 

...

Midware Server Installation Steps

  • Make directory and change directory

Code Block
mkdir -p /opt/cloud_cx/ && cd /opt/cloud_cx/

Note: /opt/cloud_cx/ is an example here, you can change to your directory name, and this directory will storage user data.

  • Download install scripts

Code Block
breakoutModefull-width
curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.3.x/cloud_cx_ctl.sh -o cloud_cx_ctl.sh

...

Note: cloud_cx_ctl.sh is an example here, you can download and rename to your name.

  • Install docker environment and configure

...

  • firewal.

Code Block
/bin/sh install_docker_cx.sh
  • Install CX Midware Services

breakoutMode
Code Block
wide
sh cloud_cx_ctl.sh run -i puteyun/cloud_cx:${tag} -t apimid -wm ${DBdb_Addrpasswd} -m ${DB_Passwd} -r ${Redisredis_Passwdpasswod}

Note: Please MUST replace the Variables in the above command with the correctly value

  • ${tagdb_passwd} is the release version of CloudCX, for example: 3.2.3password of the database what you want to set.

  • ${DBredis_Addrpasswd} is the Database Server address of CX (Midware Services Address). It is recommended to keep the Midware in the same LAN for local installations or on the same switch for cloud installations to ensure better performance and connectivity.

  • ${DB_Passwd} is the password of the database

  • ${Redis_Passwd} is the password of the Redis

  1. Login and configure the CloudFon CX.

Open Browser, input “https://host:9006/”, the “host” is the IP address or domain name of your CloudCX server (Linux Server). 

Info

IMPORTANT: To complete CloudCX initial configuration, please refer to 'System initialization' guide.

  1. CX Control Commands

  • Show CloudCX services status

...

  • password of the Redis what you want to set.

Uninstall ClouCX

Please use the below steps to uninstall the Cloudfon CX for Linux.

Uninstall the CX

Stop and delete the CX Docker instances.

Code Block
cd /opt/cloud_cx
/bin/sh cloud_cx_ctl.sh stop
/bin/sh cloud_cx_ctl.sh status

...

rm
Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#FF8F73

The following command will delete all local data of CloudCX. Before you understand the consequences of the command you are executing, please carefully confirm that it is correct before executing it.

Code Block
cd /opt/
rm -fr cloud_cx && /bin/sh cloud_cx_ctl.sh restart
  • Restart the selected service of CloudCX

Code Block
cd /opt/cloud_cx && /bin/sh cloud_cx_ctl.sh restart -s [Service Name]
  • Stop CloudCX Services

Code Block
cd /opt/cloud_cx && /bin/sh cloud_cx_ctl.sh stop
  • Stop the selected service of CloudCX

Code Block
cd /opt/cloud_cx && /bin/sh cloud_cx_ctl.sh stop -s [Service Name]
  • Start CloudCX Services

Code Block
cd /opt/cloud_cx && /bin/sh cloud_cx_ctl.sh start
  • Start the selected service of CloudCX

Code Block
cd /opt/cloud_cx && /bin/sh

Note: cloud_cx is an example here, you can change to your directory name, and this directory will store user data.

Single Machine Deployment (Only for Testing)

For Testing, you only need provide the basic 4 cores CPU and 8G RAM, and then follow below comand to install the CX Application and Midware on the same machine.

Testing Server Installation Steps

Before install Application Server, please reference https://cloudfon.atlassian.net/wiki/spaces/CCSD/pages/edit-v2/48857403#Install-CloudCX-Midware-Server to install Midware services(DB&Redis) first

  1. Make directory and change directory

Code Block
mkdir -p /opt/cloud_cx/ && cd /opt/cloud_cx/

Note: /opt/cloud_cx/ is an example here, you can change to your directory name, and this directory will storage user data.

  1. Download install scripts

Code Block
breakoutModefull-width
curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.3.x/cloud_cx_ctl.sh -o cloud_cx_ctl.sh start -s [Service Name]
  • Uninstall CloudCX Services

Code Block
cd /opt/cloud_cx && /bin/sh 
Code Block
breakoutModefull-width
curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.2.x/install_docker_cx.sh -o install_docker_cx.sh

Note: cloud_cx_ctl.sh

...

Uninstall Cloufon CX

Please use the below steps to uninstall the Cloudfon CX for Linux.

Uninstall the CX

...

is an example here, you can download and rename to your name.

  1. Install docker environment and configure firewall.

Code Block
cd /opt/cloud_cx
/bin/sh cloudinstall_docker_cx_ctl.sh stop
/bin/
  1. Install CX Application Service

Code Block
sh cloud_cx_ctl.sh rm
Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#FF8F73

The following command will delete all local data of CloudCX. Before you understand the consequences of the command you are executing, please carefully confirm that it is correct before executing it.

Code Block
cd /opt/
rm -fr cloud_cx

...

 run -i puteyun/cloud_cx:${tag}

Note: Please MUST replace the Variables in the above command with the correctly value

  • ${tag} is the release version of CloudCX, for example: 3.2.3

  1. Login and configure the CloudFon CX.

Open Browser, input “https://host:9006/”, the “host” is the IP address or domain name of your CloudCX server (Linux Server). 

Info

IMPORTANT: To complete CloudCX initial configuration, please refer to 'System initialization' guide.