rConfig - OS Configuration
This doc will help you get the base OS for rConfig7 installed. If you are experienced in LAMP stack installation, or require your own OS customization and software head to the requirements section, and make sure you meet those requirements before installing rConfig v7. If not, read on - we provide scripts at the end of this doc to make the OS setup and build process super easy!
System Requirements
General | Minimum Requirements |
---|---|
CPU/ Memory | 64-bit x86 or ARM System (min 2 cores) 4GB+ RAM |
Storage | 100GB+ |
Operating System | CentOS 9 RHEL 9 Rocky Linux 9 (preferred) Ubuntu 20.04+ Alma Linux 9+ |
Web Server | Apache 2.4+ |
Database Server | MySQL 5.6.47+ MariaDB 11.0+ |
PHP Version | 8.2 + (strictly) |
Redis | 6+ |
Other | Supervisord, Cron, NTP, Zip, ‘Development Tools’, disable SELinux |
Firewall Ports | 80/ 443 inbound. SSH and Telnet outbound as required |
Other requirements
- Setup your hostname in DNS and record it for use later
- Get your API key from the rConfig portal - requires a subscription
- DB Username and Password must be recorded for later use
- Internet access for installations and upgrades (you can restrict to rConfigs public website IP address if required)
OS Setup
You have three steps to install the OS with the required software and dependencies for rConfig to run in a supported configuration.
- Install the OS
- Install the OS dependencies
- Install rConfig - next page
OS Installation Steps
It is outside the scope of this document to guide you on how to install an operating system. Be it physical or virtual, the steps are much the same. There is an excellent document on linuxteck that has practically identical steps for both Rocky/CentOS or RHEL to install the OS.
Ok, that was the hard part. Unless your want to install rConfig manually, its all scripted from here on out. Enjoy the flashing of rapid automation before your eyes!
Setup Script
Copy the code block below that aligns to your OS. The scripts below can be used to setup the base OS dependencies for rConfig Core and Pro.
Open your SSH console to your server, login as root, and paste the contents of your clipboard (The server may reboot initially, which will require you to log back in and run the script a second time - this is normal). Sit back, and relax. It may take a few minutes depending on Internet speeds and such nuances to set everything up. Watch out for any errors and report them if you get any.
Setup scripts by OS type
CentOS / Rocky Linux Scripts
The CentOS and Rocky Linux scripts are identical.
CentOS/Rocky 9 Setup Scripts
RHEL 9 Setup Scripts
ALMA Linux 9 Setup Scripts
Ubuntu 20.04+ Scripts
Once all steps are completed record your database password some where safe, and reboot the server. Move on to the next step.