How to install Fiyo CMS with Nginx on CentOS 6.9

To install Fiyo CMS with Nginx on CentOS 6.9

Fiyo is an open source CMS tool used for building websites and attractive blogs. Fiyo CMS allows a person to add and or manipulating the content of a website. This tutorial covers the ground on the installation procedure of Fiyo CMS with Nginx on CentOS 6.9.

Pre-Requisite

Before starting the installation procedure, Check whether the LEMP environment is installed in the target system. Create a database for the Fiyo CMS to use and create a user and grant privileges to the user.

Installation procedure

To proceed with the installation procedure, download the fiyo package by running the wget command followed by the download link.

[root@linuxhelp1 fiyo]# wget https://excellmedia.dl.sourceforge.net/project/fiyo-cms/Fiyo%202.0/fiyo_cms_2.0.6.1.zip
--2017-09-18 13:56:18--  https://excellmedia.dl.sourceforge.net/project/fiyo-cms/Fiyo%202.0/fiyo_cms_2.0.6.1.zip
Resolving excellmedia.dl.sourceforge.net... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6155206 (5.9M) [application/octet-stream]
Saving to: “ fiyo_cms_2.0.6.1.zip” 

100%[======================================> ] 6,155,206    297K/s   in 12s     
2017-09-18 13:56:55 (503 KB/s) - “ fiyo_cms_2.0.6.1.zip”  saved [6155206/6155206]

Create a new directory for Fiyo in HTML location by running the following command.

[root@linuxhelp1 ~]# mkdir /usr/share/nginx/html/fiyo

Move the downloaded file in newly created directory.

[root@linuxhelp1 ~]# mv fiyo_cms_2.0.6.1.zip /usr/share/nginx/html/fiyo

Enter into newly created directory by running the cd command.

[root@linuxhelp1 ~]# cd /usr/share/nginx/html/fiyo

Extract the downloaded file using the unzip command.

[root@linuxhelp1 fiyo]# unzip fiyo_cms_2.0.6.1.zip
Archive:  fiyo_cms_2.0.6.1.zip
  inflating: index.php               
  inflating: LICENSE.txt             
.
.
 inflating: .htaccess               
  inflating: installer.php           

Open the PHP configuration file using the vim editor and edit the time zone changes in the file. Save and exit the file.

[root@linuxhelp1 fiyo]# vim /etc/php.ini
date.timezone = Asia/Kolkata

Next open the configuration file of php-fpm file and edit the following changes in the file. Save and exit the file.

[root@linuxhelp1 fiyo]# vim /etc/php-fpm.d/www.conf
listen = /var/run/php-fpm/php-fpm.sock
listen.owner = nginx
listen.group = nginx
user = nginx
group = nginx

Edit the Nginx' s default.conf configuration file and edit the following changes in the file. Save and exit the file.

[root@linuxhelp1 fiyo]# vim /etc/nginx/conf.d/default.conf
server {
    listen       80 default_server 
    listen       [::]:80 default_server 
    server_name  _ 
    root         /usr/share/nginx/html 
    # Load configuration files for the default server block.
    include /etc/nginx/default.d/*.conf 
    index index.html index.php 
    location ~ \.php {
    fastcgi_index index.php 
    fastcgi_split_path_info ^(.+\.php)(.*)$ 
    include /etc/nginx/fastcgi_params 
    fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock 
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name 
    }
   error_page 404 /404.html 
        location = /40x.html {
    }
    error_page 500 502 503 504 /50x.html 
        location = /50x.html {
    }
}

Change the ownership of php-fpm file by running the following command.

[root@linuxhelp1 fiyo]# chown nginx:nginx /var/run/php-fpm/php-fpm.sock

Change the ownership of file in HTML location.

[root@linuxhelp1 fiyo]# chown -R nginx:nginx /usr/share/nginx/html

Change the permissions of file in HTML location.

[root@linuxhelp1 fiyo]# chmod -R 775 /usr/share/nginx/html

Restart the php-fpm service by executing the following command.

[root@linuxhelp1 fiyo]# service php-fpm restart
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]

Restart the Nginx service.

[root@linuxhelp1 fiyo]# service nginx restart
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]

Switch over to the browser and give the URL as machine IP. The installation page appears on the screen. Configure the database in this page shown below.

Enter the database user name, database password and database name. Save the following changes.

Next fill the admin details and click next option.

The installation is complete. To open the admin panel, click ‘ go to admin’ option.

Enter the admin credentials and click login option.

The Admin page of Fiyo CMS is shown as below.

The installation procedure of Fiyo CMS with Nginx on CentOS 6.9 is done successfully.

FAQ
Q
What are the requirements of Fiyo CMS?
A
The requirements of Fiyo CMS are as follows, LEMP environment is installed in the target system. Create a database for the Fiyo CMS to use and create a user and grant privileges to the user.
Q
What version of PHP is recommended for Fiyo CMS?
A
PHP 5.6 and above are recommended for Fiyo CMS.
Q
what is Fiyo CMS?
A
Fiyo is an open source CMS tool used for building websites and attractive blogs. Fiyo CMS allows a person to add and or manipulating the content of a website.
Q
Where to download Fiyo CMS?
A
To download Fiyo CMS, please refer the link as follow "Fiyo is an open source CMS tool used for building websites and attractive blogs. Fiyo CMS allows a person to add and or manipulating the content of a website.
Q
Can I make the installation of Fiyo CMS on ubuntu?
A
To install Fiyo CMS follow the link as "https://www.linuxhelpbkp.revyy.com/how-to-install-fiyo-cms-in-ubuntu/"