rConfig - Vector CM Manual Offline Installation
rConfig Vector Central Manager (VCM) is a centralized management system for rConfig. It provides a centralized dashboard for managing multiple rConfig instances. This guide will walk you through the manual installation of rConfig Vector Central Manager. This guide should be followed as part of an onboarding session with rConfig support, and is primarily used by internal teams for review and internal server preperation.
OS Setup
-
Check OS Version for Offline installation is CentOS, RHEL, or Rocky Linux 8.0 or later
-
Disable SELinux & reboot the system (advanced users can skip this step)
-
Recommend updating the system to the latest version and packages
-
Install the following packages:
- yum-utils
- vim
- telnet
- zip
- unzip
- wget
- curl
- openssl-devel openssl mod_ssl
- supervisord
- Redis
- apache 2.4+
- mariadb 11++/ Mysql5.7+
- php 8.3+
- Rabbit MQ 4+
- Following PHP extensions:
- php php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo php-pear php-mbstring php-common php-pdo php-ldap php-gmp php-snmp
Note: the addition for php-snmp from V7.3.0
-
chown -R apache:apache /var/www/html
-
Start and enable the following services:
- httpd
- mariadb
- redis
- supervisord
-
If Firewall is enabled, open the following ports:
- 80
- 443
-
Verify that the following services are running and versions are correct;
- httpd 2.4+
- mariadb 11++/ Mysql5.7+
- redis 5.0+
- php 8.3+
- supervisord
- Rabbit MQ 4+
-
Run the Mysql secure installation script:
- mysql_secure_installation
- configure your mysql root password
Manually Install rConfig
Make sure to follow the installation steps for new installations ONLY. Updates, see the update section below.
-
Download the latest rConfig Zip file from the rConfig website (replace APITOKEN with your API token)
-
Create the following directories:
-
If required, copy the previously downloaded zip file to the offline server. Unzip the file to /var/www/html/rconfigcm/releases/$currentReleaseDir
-
From the newly created releases directory copy the following files:
-
Delete the zip file
-
Create a symlink to the current release directory
-
Create a symlink to the persistentData directory. This command creates a symbolic link (soft link) named storage inside the /var/www/html/rconfigcm/current/ directory that points to the directory /var/www/html/rconfigcm/persistentData
-
Create symlink for .env file
-
Create a new database in mysql
-
change to current directory
-
Edit the .env file and replace the follow placeholder text with the correct values for each of the following:
-
Edit the supervisor config file (persistentData/horizon_supervisor.ini) and replace the follow placeholder text with the correct values for each of the following:
-
Link the supervisor config file to the supervisor config directory
-
Setup apache to use the rconfig.conf file, if required.
-
Edit the apache config file (rconfig-vhost.conf) and replace the follow placeholder text with the correct values for each of the following:
-
Add the laravel Cron Job
-
Reset dir permissions
-
Migrate the DB files. If any errors here, check your DB credentials in the .env file
-
Run the following setup commands for laravel horizon
-
Restart the following services:
- httpd
- mariadb
- supervisord
-
Verify that the following services are running and versions are correct;
- httpd 2.4+
- mariadb 10.3+/ Mysql5.7+
- redis 5.0+
- php 8.1+
- supervisord 4.0+
- Rabbit MQ 4+
-
Verify that the following ports are open:
- 80
- 443
-
Check the install has completed, by open the rConfig web interface in a browser and login with the default credentials:
- Username: [email protected]
- Password: admin
Manually Update rConfig
To manually update rConfig, follow the steps below:
-
Download the latest rConfig Zip file from the rConfig website (replace APITOKEN with your API token)
-
Create the following directories:
-
If required, copy the previously downloaded zip file to the offline server. Unzip the file to /var/www/html/rconfigcm/releases/$currentReleaseDir
-
Unlink the current symlink
-
Create a symlink to the current release directory
-
Create a symlink to the persistentData directory. This command creates a symbolic link (soft link) named storage inside the /var/www/html/rconfigcm/current/ directory that points to the directory /var/www/html/rconfigcm/persistentData
-
Create symlink for .env file
-
Change to current directory
-
Restart apache, MariaDB, Redis, and supervisord