It’s Open source content Management tool.

Package Requirement:

PHP:- 5.6 or above
MariaDB:- 5.6 or above
nginx:- 1.15

Step1: Install webtatic repository

rpm -Uvh

Step2. Install PHP

yum install  php72w-cli php72w-fpm php72w-common php72w-mbstring php72w-gd php72w-intl php72w-mysql php72w-xml  wget vim unzip bash-completion elinks -y

Step3. Check PHP version

php --version

Step4: Create nginx repo file

vim /etc/yum.repos.d/nginx_mainline.repo
name=nginx repo

Step5. Download and import sign key

rpm --import nginx_signing.key

Step6. Install nginx

yum install nginx -y

Step7. Check nginx version

nginx -v

Step8. Enable and start service

systemctl enable nginx.service
systemctl start nginx.service

Step9. create database repo file

vim /etc/yum.repos.d/MariaDB.repo
name = MariaDB
baseurl =

Step10. Install MariaDB 10

yum install  MariaDB-server MariaDB-client -y

Step11. Check database version

mysql --version

Step12. Enable and start service

systemctl enable mariadb.service
systemctl start mariadb.service

Step13. Create Database

mysql  -u root -p
create database fork;
grant all on fork.* to 'fork' identified by 'Redhat@123_000';

Step14. Configure nginx file

vi /etc/nginx/conf.d/fork.conf 
 server {
     listen 80;
     root /var/www/fork;
     index index.php index.html;
     server_name;              # ----- Change IP   
     location / {
         # Checks whether the requested url exists as a file $uri or directory $uri/ in the root, else redirect to /index.php.
         try_files $uri $uri/ @redirects;
     location @redirects {
         rewrite ^ /index.php;
     location ~ .php$ {
         try_files $uri =404;
         include fastcgi_params;
         fastcgi_pass; # Make sure to doublecheck this!
         fastcgi_index index.php;
         fastcgi_read_timeout 60;
         fastcgi_split_path_info ^(.+.php)(/.+)$;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
     # Don't pollute the logs with common requests
     location = /robots.txt  { access_log off; log_not_found off; }
     location = /favicon.ico { access_log off; log_not_found off; }
    # As Fork CMS has the app_root as doc_root, we need to restrict access to a few things for security purposes! 
location ~* ^/(composer\..*|vendor\/.*|Procfile$|\.git\/.*|src\/Console.*|.*\.gitignore|\.editorconfig|\.travis.yml|autoload\.php|bower\.json|phpunit\.xml\.dist|.*\.md|app\/logs\/.*|app\/config\/.*|src\/Frontend\/Cache\/CompiledTemplates.*|src\/Frontend\/Cache\/Locale\/.*\.php|src\/Frontend\/Cache\/Navigation\/.*\.php|src\/Frontend\/Cache\/Search\/.*|src\/Backend\/Cache\/CompiledTemplates\/.*|src\/Backend\/Cache\/Locale\/.*\.php)$ {     
deny all;     
access_log off;     
log_not_found off; } 
# Deny access to dot-files. 
 location ~ /\. {     
 deny all;     
 access_log off;     
 log_not_found off; 

Step15. Validate nginx configuration

nginx -t

Step16. Reload nginx service

systemctl reload nginx.service

Step17. Download and setup composer.

curl -sS | php
mv composer.phar /usr/bin/composer
chmod +x /usr/bin/composer

Step18. Download fork using composer

mkdir -p /var/www/fork
cd /var/www/fork
composer create-project forkcms/forkcms.

Step19. Set permission

chown -R nginx:nginx /var/www/fork

Step20. Change User and Group

vim /etc/php-fpm.d/www.conf 
 user = nginx                 
 group = nginx

Step21. Restart php-fpm service

systemctl restart php-fpm.service

Step22. Check db file

vim /var/www/fork/app/config/parameters_install.yml
Database host | Database username | Database password

Step23. Create session folder in PHP

mkdir -p /var/lib/php/session
chown -R nginx:nginx /var/lib/php/session

Step24. Access on browser

Username : Maild ID 
Password: Mail id's password (Have to set during install fork using GUI)

For Live Installation you may refer below youtube link:-


Please enter your comment!
Please enter your name here