Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Supported Linux OS

  • Ubuntu 20.04 (LTS) Focal, Ubuntu Impish 21.10, Ubuntu 22.04 (LTS) Jammy

  • Debian Buster 10, Debian Bullseye 11

  • It only supports 64bit OS

Hardware Requirements

In order to ensure the normal operation of the server's functions, the following are some configuration suggestions, and the specific requirements will change according to the actual situation.

...

Info
  1. Each CPU core need 2.5Ghz or Higher.

  2. In terms of disk storage, as more information is stored, it will need to be expanded again, and subsequent dynamic expansion needs to be considered during deployment

  3. If using third-party Oss, such as AWS S3/Azure Blob/Mini, please activate storage services with the same storage size according to the situation.

Preparing the Linux Host Machine for Installation

Tasks that MUST be completed before installing CloudFon CX

...

Note: The installation steps may need about 20 minutes to complete.

Installation Steps

1. Make directory and change directory

Code Block
mkdir -p /root/cloudfoncloud_cx/ && cd /root/cloudfoncloud_cx/

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

2. Download install scripts

Code Block
curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.2.x/cloudfon_cx_ctl.sh -o cloudfoncloud_cx_ctl.sh
Code Block
curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.2.x/install_docker_cx.sh -o install_docker_cx.sh

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

3. Install docker environment and configure firewall.

Code Block
/bin/sh install_docker_cx.sh

4. Install MySQL, CX Service, etc.

Code Block
/bin/sh cloudfoncloud_cx_ctl.sh run -i puteyun/cloud_cx:${tag}

Note: ${tag} is the release version of CloudFon CX, for example: 3.2. X,

Please MUST replace the tag in the above command with the latest tag. The latest version is 3.2.2

/bin/sh cloudfoncloud_cx_ctl.sh run -i puteyun/cloud_cx:3.2.2

5. Login and configure the CloudFon CX.

Open Browser, input “https://IP_Address:9006/”, the “IP_Address” is the IP address of your Cloudfon CX server (Linux Server). 

Info

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

6. CX Control Commands

Show cloudfoncloud-cx services status

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh status

Restart cloudfoncloud-cx services

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh restart

Restart the selected service of cloudfoncloud-cx

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh restart -s [Service Name]

Stop cloudfoncloud-cx Services

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh stop

Stop the selected service of cloudfoncloud-cx

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh stop -s [Service Name]

Start cloudfoncloud-cx Services

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh start

Start the selected service of cloudfoncloud-cx

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh start -s [Service Name]

Uninstall cloudfoncloud-cx Services

Code Block
cd /root/cloudfoncloud_cx && /bin/sh cloudfoncloud_cx_ctl.sh rm

Uninstall Cloufon CX

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

...

Stop and delete the CX Docker instances.

Code Block
cd /root/cloudfoncloud_cx
/bin/sh cloudfoncloud_cx_ctl.sh stop
/bin/sh cloudfoncloud_cx_ctl.sh rm
Note

The below commands will delete the CX data; please be careful.

Code Block
cd /root/
rm -fr cloudfoncloud_cx

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