Skip to content

rConfig - V8 Pro Installation

15 mins V8 Pro

This guide provides step-by-step instructions for installing rConfig V8 Professional on all supported Linux distributions.

With V8, deployment has been simplified through a new streamlined Bash-based installer, which replaces the legacy Laravel Envoy system. This ensures a faster, more reliable, and consistent installation experience across environments.


To complete the rConfig V8 Professional installation, follow the steps below.
All commands must be executed as the root user.

  1. Set up a new MySQL or MariaDB user account.
  2. Download the deployment script.
  3. Run the initialization deployment.
  4. Verify the installation.

Rocky 9+ users will need to create a new user and password for the database. Login to the MariaDB/Mysql Database server using the root user. The root user password is the same as the one you used in the OS install script.

Terminal window
sudo mariadb -u root -p

Create a user and password for your database. An example is provided below, but be sure to update the username and password to something more secure and unique. The grant statement below does create the user and grant them privileges in one go.

Terminal window
GRANT ALL PRIVILEGES ON *.* TO 'user1'@localhost IDENTIFIED BY 'password1';
FLUSH PRIVILEGES;
quit;
Terminal window
mkdir -p /var/www/html/rconfig8
cd /var/www/html/rconfig8
wget https://dl.rconfig.com/downloads/rconfig8-deploy.sh -O rconfig8-deploy.sh
chmod +x rconfig8-deploy.sh

Note: Hit the enter key to accept the defaults when prompted during the download and setup process.

First run Initialization of the deployer script

Section titled “First run Initialization of the deployer script”

You need to have the follow details ready before you run the next command.

  • Database host name - ‘localhost’ if you followed all the instructions to this point
  • Database user name - ‘root’ unless you specify otherwise
  • Database password - per the previous steps in OS Setup
  • Hostname - The DNS Hostname for your machine, please create one if you do not have one already prepared
  • API Token - This can be retrieved from the license keys section rConfig.com portal (remove the angel brackets < >)

Once you have the above details, run the following command to initialize the rConfig V8 installation:

Terminal window
./rconfig8-deploy.sh --mode=init --apitoken=yourApiToken --dbuser=user1 --dbpass="password1" --hostname=rconfig8vm.domain.local

After the initial one-time setup, all future updates should be performed using the deployment mode.

Terminal window
./rconfig8-deploy.sh --mode=deploy --apitoken=yourApiToken

Answer any prompts as needed. You can accept the defaults by pressing Enter.

The deployment script supports several command-line options for flexibility:

  • --mode=init - Initialize a new installation
  • --apitoken - Your rConfig API token
  • --dbuser - Database username
  • --dbpass - Database password
  • --hostname - Server hostname
  • --mode=deploy - Update existing installation
  • --apitoken - Your rConfig API token
  • --dbhost - Database host (default: 127.0.0.1)
  • --dbport - Database port (default: 3306)
  • --help - Show usage information
Terminal window
./rconfig8-deploy.sh --mode=init --apitoken=abc123 --dbuser=rconfig --dbpass="mypass" --dbhost=192.168.1.100 --hostname=rconfig.company.com
Terminal window
./rconfig8-deploy.sh --mode=deploy --apitoken=abc123

If you need to rollback to a previous version:

Terminal window
./rconfig8-deploy.sh --mode=rollback

rConfig V8 uses a symlink-based deployment strategy that ensures zero downtime during updates:

  • New releases are deployed to timestamped directories
  • Symlinks are updated atomically
  • Previous releases are retained for quick rollback

The new deployment script provides real-time progress tracking:

  • Visual progress bars
  • Step-by-step status updates
  • Comprehensive logging to /var/log/rconfig-deploy.log

Enhanced error handling includes:

  • Detailed error messages
  • Recovery suggestions
  • Support contact information
  • Complete operation logging

Once this process has completed without errors you may login to the server IP address or hostname with the following credentials:

Username: [email protected] Password: admin

  1. Permission Errors

    • Ensure you’re running as root
    • Check file ownership: chown -R apache /var/www/html/rconfig8
  2. Database Connection Issues

    • Verify database credentials
    • Test connection: mariadb -u username -p -h hostname
  3. API Token Problems

    • Verify token from rConfig.com portal
    • Check network connectivity to dl.rconfig.com
  4. Service Issues

    • Check Apache status: systemctl status httpd
    • Check Supervisor status: systemctl status supervisord
  5. 403 Forbidden Errors

    If you encounter a 403 Forbidden error when accessing the web interface:

    • Run the following commands to set the correct permissions:
    Terminal window
    chown -R apache:apache /var/www/html/rconfig8
    chmod 0600 /var/www/html/rconfig8/persistentData/storage/oauth-private.key
    chmod 0644 /var/www/html/rconfig8/persistentData/storage/oauth-public.key
    cd /var/www/html/rconfig8/current && php artisan rconfig:update-rbac-data
    systemctl restart httpd

    If the error persists, check the contact rConfig support.

  • Deployment Log: /var/log/rconfig-deploy.log
  • Apache Logs: /var/log/httpd/ (RHEL/CentOS) or /var/log/apache2/ (Ubuntu)
  • Application Logs: /var/www/html/rconfig8/persistentData/storage/logs/

If you encounter issues:

  1. Check the deployment log file
  2. Review this documentation
  3. Contact support (Active Subscriptions Only): [email protected]
  4. Visit the support portal: rConfig.com Portal

If you’re upgrading from rConfig V7, the V8 deployment script will:

  • Automatically detect existing installations
  • Preserve your data and configuration
  • Remove legacy Envoy components
  • Update to the new deployment system