Skip to content

rConfig V8 Core Installation Guide: Complete Linux Deployment

rConfig V8 Core: Full Linux Installation Guide

Section titled “rConfig V8 Core: Full Linux Installation Guide”

This guide provides comprehensive installation instructions for rConfig V8 Core - the free, open-source Network Configuration Management platform.

rConfig V8 Core is a powerful solution for automated configuration backups across networks of any size, from small deployments to large, heterogeneous enterprise environments.

Before beginning installation, ensure you have:

  • ✅ One of the supported operating systems:

    • Rocky Linux 8/9+ (recommended)
    • CentOS 8/9+
    • RHEL 8/9+
    • Ubuntu 22.04+
    • Alma Linux 8/9+
    • AWS Linux 2023
  • ✅ Root or sudo access to the server

  • ✅ Basic command-line knowledge

  • ✅ Approximately 30-45 minutes for installation



The installation process consists of these main steps:

  1. OS Configuration - Install required software dependencies
  2. Database Setup - Create database and user
  3. Application Installation - Clone repository and configure
  4. Web Server Configuration - Setup Apache virtual host
  5. Queue Worker Configuration - Setup Supervisor
  6. Run Installation Wizard - Complete setup
  7. Verification - Access web interface

Create a dedicated database and user for rConfig.

Terminal window
# For systems with MariaDB/MySQL root password set
mysql -u root -p
# For systems without root password (Ubuntu often defaults to this)
sudo mysql
-- Create the rConfig database
CREATE DATABASE rconfig;
-- Create a dedicated user (recommended)
CREATE USER 'rconfig_user'@'localhost' IDENTIFIED BY 'your_secure_password';
-- Grant all privileges to the rConfig database
GRANT ALL PRIVILEGES ON rconfig.* TO 'rconfig_user'@'localhost';
-- Apply privileges
FLUSH PRIVILEGES;
-- Exit MySQL
EXIT;

Verify Database Creation:

Terminal window
# Test the database connection
mysql -u rconfig_user -p rconfig
# Enter your password when prompted
# If successful, you'll see the MySQL prompt
# Type 'EXIT;' to return to shell

Clone the rConfig repository and prepare the application.

Terminal window
# Navigate to web directory
cd /var/www/html
# Clone the repository
git clone https://github.com/rconfig/rconfig.git
# Navigate into the application directory
cd rconfig
Terminal window
# Copy the example environment file
cp .env.example .env
# Edit the environment file with your settings
nano .env

Update the following variables in .env:

Terminal window
# Application Settings
APP_URL="https://your-server.domain.com"
APP_DIR_PATH=/var/www/html/rconfig
# Database Settings
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=rconfig
DB_USERNAME=rconfig_user
DB_PASSWORD=your_secure_password

Important variables to configure:

  • APP_URL - The URL where rConfig will be accessed (use your server’s hostname or IP)
  • APP_DIR_PATH - Path to rConfig installation (keep as /var/www/html/rconfig)
  • DB_USERNAME - The database user created in Step 2
  • DB_PASSWORD - The database password created in Step 2
Terminal window
# Allow Composer to run as root
export COMPOSER_ALLOW_SUPERUSER=1
# Update Composer to version 2
composer self-update --2
# Install application dependencies
yes | composer install --no-dev

This process may take several minutes as it downloads all required PHP packages.


Configure Apache to serve the rConfig application.

Terminal window
# Make the setup script executable
chmod +x setup_apache.sh
# Run the setup script
./setup_apache.sh

The script creates an Apache virtual host configuration for rConfig.

Edit the virtual host configuration to match your server’s hostname:

Red Hat Enterprise Linux logoRocky Linux logoAlmaLinux logo
Terminal window
# Edit the virtual host configuration
nano /etc/httpd/conf.d/rconfig-vhost.conf

Update the ServerName and ServerAlias lines:

ServerName your-server.domain.com
ServerAlias your-server.domain.com

Save and restart Apache:

Terminal window
systemctl restart httpd

Configure Supervisor to manage background jobs.

Terminal window
# Make the setup script executable
chmod +x setup_supervisor.sh
# Run the setup script
./setup_supervisor.sh
Terminal window
# Check Supervisor status
systemctl status supervisord
# If not running, start it
systemctl start supervisord
systemctl enable supervisord

Execute the rConfig installation wizard to complete setup.

Terminal window
# Run the installation wizard
php artisan v8core:install

During the wizard, you’ll be prompted to:

  1. Confirm database connection
  2. Run database migrations
  3. Seed initial data
  4. Generate application key
  5. Configure cron scheduling - Type yes when asked

The wizard will display progress and confirm successful completion.


Set proper permissions and clear application caches.

Red Hat Enterprise Linux logoRocky Linux logoAlmaLinux logo
Terminal window
cd /var/www/html/rconfig
# Set ownership to Apache user
chown -R apache storage bootstrap/cache
# Clear all caches
php artisan rconfig:clear-all

Open your web browser and navigate to your server’s URL or IP address:

http://your-server.domain.com

or

http://your-server-ip

Login with these default credentials:

  • 📧 Email: admin@domain.com
  • 🔑 Password: admin

  1. Log in with default credentials
  2. Navigate to SettingsUsers
  3. Click Add User
  4. Create a new user with admin role
  5. Use your real email address
  6. Log out and test the new account

After verifying your new admin account works:

  1. Log in with your new account
  2. Navigate to SettingsUsers
  3. Disable or delete the admin@domain.com account

For production deployments, configure SSL/TLS encryption:

  • Use Let’s Encrypt for free SSL certificates
  • Or use your organization’s PKI infrastructure
  • See SSL Configuration Guide for details

Update device templates to the latest versions:

Terminal window
cd /var/www/html/rconfig
php artisan rconfig:clone-templates

This downloads the latest vendor templates from GitHub.

  1. Navigate to DevicesAdd Device
  2. Enter device details (name, IP, credentials)
  3. Assign to a category (command group)
  4. Save and test connectivity

After installation, verify these items:


Check Apache status:

Terminal window
# CentOS/Rocky/RHEL
systemctl status httpd
systemctl restart httpd
# Ubuntu
systemctl status apache2
systemctl restart apache2

Check firewall:

Terminal window
# CentOS/Rocky/RHEL
firewall-cmd --list-all
firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https
firewall-cmd --reload
# Ubuntu
ufw status
ufw allow 80/tcp
ufw allow 443/tcp
Terminal window
cd /var/www/html/rconfig
# CentOS/Rocky/RHEL
chown -R apache:apache /var/www/html/rconfig
chmod -R 755 /var/www/html/rconfig
chmod -R 775 storage bootstrap/cache
# Ubuntu
chown -R www-data:www-data /var/www/html/rconfig
chmod -R 755 /var/www/html/rconfig
chmod -R 775 storage bootstrap/cache

Test database connection:

Terminal window
mysql -u rconfig_user -p rconfig

Verify .env settings:

  • Check DB_USERNAME matches your database user
  • Check DB_PASSWORD is correct
  • Check DB_DATABASE is set to rconfig

Check Supervisor:

Terminal window
# Check status
systemctl status supervisord
# Restart if needed
systemctl restart supervisord
# Check logs
tail -f /var/log/supervisor/supervisord.log

Clear caches:

Terminal window
cd /var/www/html/rconfig
php artisan rconfig:clear-all

Check permissions:

Terminal window
# CentOS/Rocky/RHEL
chown -R apache:apache storage bootstrap/cache
# Ubuntu
chown -R www-data:www-data storage bootstrap/cache

Check logs:

Terminal window
tail -f /var/www/html/rconfig/storage/logs/laravel.log
  • Application Logs: /var/www/html/rconfig/storage/logs/
  • Apache Logs (RHEL/CentOS): /var/log/httpd/
  • Apache Logs (Ubuntu): /var/log/apache2/
  • Supervisor Logs: /var/log/supervisor/

For business-critical environments, consider rConfig V8 Pro which includes:

  • Priority support with SLA
  • Advanced features
  • Enterprise integrations
  • Dedicated account management

Learn more at rconfig.com


After successful installation:

  1. Quick Start Guide - Learn basic operations
  2. Device Management - Add and configure devices
  3. CLI Commands - Automation and scripting
  4. Security Hardening - Secure your installation
  5. Backup Configuration - Understand backup process

Made with ❤️ by the rConfig Team

rConfig V8 Core - Professional network configuration backups. Free forever. Open-source always.