The CMS is installed on a pre-prepared server (hosting). Server requirements can be found here.
RK-CMS installation takes no more than "10 minutes".
Before installation, the server (hosting) must have:
1. PHP version 7.4 or higher supported;
2. Server security must be completed on the server, including anti-DDoS protection enabled if necessary;
3. Mail must be correctly configured on the server;
4. The server must be able to create and process cron jobs;
5. A MySQL database must exist on the server, and you must have access to it;
6. PHP must have the MB, json, and bcmath libraries;
7. The server must have the mod_rewrite module.
8. For Nginx servers, you must correctly process the rules from the .htaccess file.
When the server is ready for installation, do the following:
1. Download the CMS distribution;
2. Upload the CMS distribution to the server, to the root directory;
3. Open the rk-config.php file in an editor and edit the following data :
3.1 Database prefix (RK_DB_PREFIX). Any Latin letters are required to ensure uniqueness of the database.
Example:
define('RK_DB_PREFIX', 'rkcms');
3.2 Name of an existing database (RK_DB_NAME).
Example:
define('RK_DB_NAME', 'rkcms_db');
3.3 Name of an existing database user (RK_DB_USER).
Example:
define('RK_DB_USER', 'rkcms_user');
3.4 Database user password (RK_DB_PASSWORD)
Example:
define('RK_DB_PASSWORD', 'rkcms_pass');
3.5 Database host (RK_DB_HOST). Typically, this is localhost, but can be changed if necessary. Example:
define('RK_DB_HOST', 'localhost');
3.6 Full Site Address (RK_SITEURL). The full address of your site with https.
Example:
define('RK_SITEURL', 'https://rk-cms.ru/');
3.7 Administrator Login Page Address (RK_LOGINPAGE_PATH). The address where the site administrator login page will be located.
Example:
define('RK_LOGINPAGE_PATH', 'adminlogin');
3.8 Salts and Hashes. For this block, we recommend using our generator. And replace the entire block.
3.9 Administrative Panel Language (RK_ADMIN_LANG). The default is ru_RU. Available for selection: ru_RU (Russian), en_US (English).
Example:
define('RK_ADMIN_LANG', 'ru_RU');
3.10 Site Language (RK_SITE_LANG). Defaults to ru_RU. Available for selection: ru_RU (Russian), en_US (English).
Example:
define('RK_SITE_LANG', 'ru_RU');
3.11 Site Languages, if the site is intended to be multilingual (RK_ENABLE_LANGS). Languages are separated by commas. Available for selection: ru_RU (Russian), en_US (English).
Example:
define('RK_ENABLE_LANGS', 'ru_RU, en_US');
4. After editing the file, simply access the website's URL. The database will be created automatically, and the website will start working.
5. Create the first administrator.
6. Set up a cron job for the website.
7. Set permissions to 755 for the rk-db and rk-uploads folders, which are located in the website's root directory.