Installation process of Rconfig in ubuntu

  • OS setup

#   cd ~/

# sudo apt -y install wget https://www.rconfig.com/downloads/rconfig7_ubuntu.sh -O install.sh

# chmod +x install.sh

# sudo ./install.sh

  •  Database setup
  1. Login to your database server as root
  2. Create a new database

# mysql -u root -p

# CREATE DATABASE rconfig;

  1. Create a new user if required (do not use the credentials below in production). This is likely required for Ubutnu 20.04+. If you are using a different OS, you may not need to create a new user, and you can use the root account, though this is not recommended.

# CREATE USER ‘user1’@’localhost’ IDENTIFIED BY ‘password1’;

# GRANT ALL PRIVILEGES ON rconfig.* TO ‘user1’@’localhost’;

# FLUSH PRIVILEGES;

  1. Exit the database

# exit

  •  Rconfig Setup Steps
  1. Login as root
  2. Clone the repo

# cd /var/www/html

# git clone https://github.com/rconfig/rconfig.git

  1. Change directory to the repo

# cd rconfig

  • Create the .env file

#cp example .env

  1. Edit the .env file and update the following variables:

APP_URL=”https://SERVER.DOMAIN.LOCAL”

APP_DIR_PATH=/var/www/html/rconfig

DB_HOST=DBHOST

DB_PORT=3306

DB_DATABASE=DBNAME

DB_USERNAME=DBUSER

DB_PASSWORD=DBPASS

  1. Update apache config file for correct server name.

# sudo vi /etc/apache2/sites-enabled/rconfig-vhost.conf

Update the Server-name to match your server’s domain name

ServerName YourServerName.domain.local

ServerAlias YourServerName.domain.local

  1. Restart apache

# systemctl restart apache2

  1. Open the browser and navigate to your server’s domain name. You should see the rConfig login page. The default system credentials are below. Please change or remove these as soon as a new admin user is created.

Username: [email protected]

Password: admin

Dashboard of Rconfig

Was this article helpful?

Leave A Comment?