# Debian/Ubuntu
apt-get -y remove clustercontrol clustercontrol-cmonapi
apt-get update
apt-get -y install clustercontrol
# Centos/Redhat
yum -y remove clustercontrol clustercontrol-cmonapi
yum clean all
yum -y install clustercontrol
cp /var/www/html/clustercontrol/bootstrap.php.default /var/www/html/clustercontrol/bootstrap.php
# set the DB_PASS and DB_PORT in the bootstrap.php file
# normally cmon and 3306
cp /var/www/html/cmonapi/config/bootstrap.php.default /var/www/html/cmonapi/config/bootstrap.php
# set the CMON_TOKEN in the boostrap.php file. get the old one from the database
mysql -uroot -p -e “select token from dcps.apis where id=1”
cp /var/www/html/cmonapi/config/database.php.default /var/www/html/cmonapi/config/database.php
# set DB_PASS and DB_PORT in the database.php file
* If you are on Debian/Ubuntu with Apache 2.2.x then your ClusterControl directories are /var/www/clustercontrol and /var/www/cmonapi
Comments
0 comments
Article is closed for comments.