rConfig V8 Core Installation Guide: Complete Linux Deployment
rConfig V8 Core: Full Linux Installation Guide
Section titled “rConfig V8 Core: Full Linux Installation Guide”Introduction
Section titled “Introduction”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.
What You’ll Need
Section titled “What You’ll Need”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
Installation Overview
Section titled “Installation Overview”The installation process consists of these main steps:
- OS Configuration - Install required software dependencies
- Database Setup - Create database and user
- Application Installation - Clone repository and configure
- Web Server Configuration - Setup Apache virtual host
- Queue Worker Configuration - Setup Supervisor
- Run Installation Wizard - Complete setup
- Verification - Access web interface
Step 2: Database Setup
Section titled “Step 2: Database Setup”Create a dedicated database and user for rConfig.
Login to MySQL
Section titled “Login to MySQL”# For systems with MariaDB/MySQL root password setmysql -u root -p
# For systems without root password (Ubuntu often defaults to this)sudo mysqlCreate Database and User
Section titled “Create Database and User”-- Create the rConfig databaseCREATE DATABASE rconfig;
-- Create a dedicated user (recommended)CREATE USER 'rconfig_user'@'localhost' IDENTIFIED BY 'your_secure_password';
-- Grant all privileges to the rConfig databaseGRANT ALL PRIVILEGES ON rconfig.* TO 'rconfig_user'@'localhost';
-- Apply privilegesFLUSH PRIVILEGES;
-- Exit MySQLEXIT;Verify Database Creation:
# Test the database connectionmysql -u rconfig_user -p rconfig# Enter your password when prompted# If successful, you'll see the MySQL prompt# Type 'EXIT;' to return to shellStep 3: Application Installation
Section titled “Step 3: Application Installation”Clone the rConfig repository and prepare the application.
Clone Repository
Section titled “Clone Repository”# Navigate to web directorycd /var/www/html
# Clone the repositorygit clone https://github.com/rconfig/rconfig.git
# Navigate into the application directorycd rconfigCreate Environment File
Section titled “Create Environment File”# Copy the example environment filecp .env.example .env
# Edit the environment file with your settingsnano .envConfigure Environment Variables
Section titled “Configure Environment Variables”Update the following variables in .env:
# Application SettingsAPP_URL="https://your-server.domain.com"APP_DIR_PATH=/var/www/html/rconfig
# Database SettingsDB_HOST=localhostDB_PORT=3306DB_DATABASE=rconfigDB_USERNAME=rconfig_userDB_PASSWORD=your_secure_passwordImportant 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 2DB_PASSWORD- The database password created in Step 2
Install PHP Dependencies
Section titled “Install PHP Dependencies”# Allow Composer to run as rootexport COMPOSER_ALLOW_SUPERUSER=1
# Update Composer to version 2composer self-update --2
# Install application dependenciesyes | composer install --no-devThis process may take several minutes as it downloads all required PHP packages.
Step 4: Web Server Configuration
Section titled “Step 4: Web Server Configuration”Configure Apache to serve the rConfig application.
Run Apache Setup Script
Section titled “Run Apache Setup Script”# Make the setup script executablechmod +x setup_apache.sh
# Run the setup script./setup_apache.shThe script creates an Apache virtual host configuration for rConfig.
Update Virtual Host
Section titled “Update Virtual Host”Edit the virtual host configuration to match your server’s hostname:


# Edit the virtual host configurationnano /etc/httpd/conf.d/rconfig-vhost.confUpdate the ServerName and ServerAlias lines:
ServerName your-server.domain.comServerAlias your-server.domain.comSave and restart Apache:
systemctl restart httpd
# Edit the virtual host configurationsudo nano /etc/apache2/sites-enabled/rconfig-vhost.confUpdate the ServerName and ServerAlias lines:
ServerName your-server.domain.comServerAlias your-server.domain.comSave, enable mod_rewrite, and restart Apache:
sudo a2enmod rewritesudo systemctl restart apache2Step 5: Queue Worker Configuration
Section titled “Step 5: Queue Worker Configuration”Configure Supervisor to manage background jobs.
Run Supervisor Setup Script
Section titled “Run Supervisor Setup Script”# Make the setup script executablechmod +x setup_supervisor.sh
# Run the setup script./setup_supervisor.shVerify Supervisor
Section titled “Verify Supervisor”# Check Supervisor statussystemctl status supervisord
# If not running, start itsystemctl start supervisordsystemctl enable supervisordStep 6: Run Installation Wizard
Section titled “Step 6: Run Installation Wizard”Execute the rConfig installation wizard to complete setup.
# Run the installation wizardphp artisan v8core:installDuring the wizard, you’ll be prompted to:
- Confirm database connection
- Run database migrations
- Seed initial data
- Generate application key
- Configure cron scheduling - Type
yeswhen asked
The wizard will display progress and confirm successful completion.
Step 7: Final Configuration
Section titled “Step 7: Final Configuration”Set proper permissions and clear application caches.


cd /var/www/html/rconfig
# Set ownership to Apache userchown -R apache storage bootstrap/cache
# Clear all cachesphp artisan rconfig:clear-all
cd /var/www/html/rconfig
# Set ownership to Apache userchown -R www-data storage bootstrap/cache
# Clear all cachesphp artisan rconfig:clear-allAccessing rConfig
Section titled “Accessing rConfig”Open your web browser and navigate to your server’s URL or IP address:
http://your-server.domain.comor
http://your-server-ipDefault Credentials
Section titled “Default Credentials”Login with these default credentials:
- 📧 Email:
admin@domain.com - 🔑 Password:
admin
Post-Installation Steps
Section titled “Post-Installation Steps”1. Create New Admin User
Section titled “1. Create New Admin User”- Log in with default credentials
- Navigate to Settings → Users
- Click Add User
- Create a new user with admin role
- Use your real email address
- Log out and test the new account
2. Remove Default Admin
Section titled “2. Remove Default Admin”After verifying your new admin account works:
- Log in with your new account
- Navigate to Settings → Users
- Disable or delete the
admin@domain.comaccount
3. Configure SSL/TLS (Recommended)
Section titled “3. Configure SSL/TLS (Recommended)”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
4. Update Templates
Section titled “4. Update Templates”Update device templates to the latest versions:
cd /var/www/html/rconfigphp artisan rconfig:clone-templatesThis downloads the latest vendor templates from GitHub.
5. Add Your First Device
Section titled “5. Add Your First Device”- Navigate to Devices → Add Device
- Enter device details (name, IP, credentials)
- Assign to a category (command group)
- Save and test connectivity
Verification Checklist
Section titled “Verification Checklist”After installation, verify these items:
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”1. Cannot Access Web Interface
Section titled “1. Cannot Access Web Interface”Check Apache status:
# CentOS/Rocky/RHELsystemctl status httpdsystemctl restart httpd
# Ubuntusystemctl status apache2systemctl restart apache2Check firewall:
# CentOS/Rocky/RHELfirewall-cmd --list-allfirewall-cmd --permanent --add-service=httpfirewall-cmd --permanent --add-service=httpsfirewall-cmd --reload
# Ubuntuufw statusufw allow 80/tcpufw allow 443/tcp2. Permission Errors
Section titled “2. Permission Errors”cd /var/www/html/rconfig
# CentOS/Rocky/RHELchown -R apache:apache /var/www/html/rconfigchmod -R 755 /var/www/html/rconfigchmod -R 775 storage bootstrap/cache
# Ubuntuchown -R www-data:www-data /var/www/html/rconfigchmod -R 755 /var/www/html/rconfigchmod -R 775 storage bootstrap/cache3. Database Connection Errors
Section titled “3. Database Connection Errors”Test database connection:
mysql -u rconfig_user -p rconfigVerify .env settings:
- Check
DB_USERNAMEmatches your database user - Check
DB_PASSWORDis correct - Check
DB_DATABASEis set torconfig
4. Queue Jobs Not Processing
Section titled “4. Queue Jobs Not Processing”Check Supervisor:
# Check statussystemctl status supervisord
# Restart if neededsystemctl restart supervisord
# Check logstail -f /var/log/supervisor/supervisord.log5. Blank Page or 500 Error
Section titled “5. Blank Page or 500 Error”Clear caches:
cd /var/www/html/rconfigphp artisan rconfig:clear-allCheck permissions:
# CentOS/Rocky/RHELchown -R apache:apache storage bootstrap/cache
# Ubuntuchown -R www-data:www-data storage bootstrap/cacheCheck logs:
tail -f /var/www/html/rconfig/storage/logs/laravel.logLog File Locations
Section titled “Log File Locations”- 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/
Getting Help
Section titled “Getting Help”Community Support
Section titled “Community Support”- 📖 Documentation: v8coredocs.rconfig.com
- 🐛 Bug Reports: GitHub Issues
- 💡 Feature Requests: GitHub Issues
- 💬 Community Forums: community.rconfig.com
Need Professional Support?
Section titled “Need Professional Support?”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
Next Steps
Section titled “Next Steps”After successful installation:
- Quick Start Guide - Learn basic operations
- Device Management - Add and configure devices
- CLI Commands - Automation and scripting
- Security Hardening - Secure your installation
- Backup Configuration - Understand backup process
Made with ❤️ by the rConfig Team
rConfig V8 Core - Professional network configuration backups. Free forever. Open-source always.