How to Install Fuel CMS 1.4.3 Version on CentOS 7.6
Installation of Fuel CMS 1.4.3 Version On CentOS 7.6
Pre-requisites
Apache 2.4.38
MariaDB 10.3
PHP -7.2
Download Link :
click here to download Fuel CMS version 1.4.3.
Installation procedure
Change the directory to Apache’s Document root directory
[root@linuxhelp ~]# cd /var/www
Download the Fuel CMS latest version using wget with the below-given link.
[root@linuxhelp www]# wget https://github.com/daylightstudio/FUEL-CMS/archive/master.zip
--2019-06-27 15:56:46-- https://github.com/daylightstudio/FUEL-CMS/archive/master.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/daylightstudio/FUEL-CMS/zip/master [following]
--2019-06-27 15:56:46-- https://codeload.github.com/daylightstudio/FUEL-CMS/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’
[ <=> ] 4,314,698 11.2KB/s in 8m 11s
2019-06-27 16:04:59 (8.59 KB/s) - ‘master.zip’ saved [4314698]
List the contents to view the downloaded zip file of fuel cms
[root@linuxhelp www]# ll
total 4216
drwxr-xr-x 2 root root 6 Nov 5 2018 cgi-bin
drwxr-xr-x 2 root root 22 Apr 15 11:10 html
-rw-r--r-- 1 root root 4314698 Jun 27 16:04 master.zip
Extract the zip file of fuel cms
[root@linuxhelp www]# unzip master.zip
Archive: master.zip
a8d721797b538b8a36899a0359af72cbc5de0c15
creating: FUEL-CMS-master/
extracting: FUEL-CMS-master/.gitignore
inflating: FUEL-CMS-master/.htaccess
inflating: FUEL-CMS-master/README.md
creating: FUEL-CMS-master/assets/
creating: FUEL-CMS-master/assets/cache/
inflating: FUEL-CMS-master/assets/cache/index.html
creating: FUEL-CMS-master/assets/css/
inflating: FUEL-CMS-master/assets/css/blog.css
inflating: FUEL-CMS-master/assets/css/common.css
inflating: FUEL-CMS-master/assets/css/main.css
.
.
.
.
.
.
.
inflating: FUEL-CMS-master/fuel/modules/index.html
creating: FUEL-CMS-master/fuel/scripts/
extracting: FUEL-CMS-master/fuel/scripts/.htaccess
inflating: FUEL-CMS-master/index.php
extracting: FUEL-CMS-master/robots.txt
List the contents to view the extracted directory of fuel cms
[root@linuxhelp www]# ll
total 4216
drwxr-xr-x 2 root root 6 Nov 5 2018 cgi-bin
drwxr-xr-x 4 root root 119 Nov 30 2018 FUEL-CMS-master
drwxr-xr-x 2 root root 22 Apr 15 11:10 html
-rw-r--r-- 1 root root 4314698 Jun 27 16:04 master.zip
Rename the extracted directory of fuel cms
[root@linuxhelp www]# mv FUEL-CMS-master/ fuel
Change the directory to renamed directory
[root@linuxhelp www]# cd fuel/
Assign the Ownership permissions to the fuel directory recursively
[root@linuxhelp fuel]# chown apache. -R ./
Assign the writable permissions to the fuel directory recursively
[root@linuxhelp fuel]# chmod -R 775 ./
List the contents to view the files and directories present in the extracted directory of fuel cms
[root@linuxhelp fuel]# ll
total 20
drwxrwxr-x 9 apache apache 88 Nov 30 2018 assets
drwxrwxr-x 9 apache apache 164 Nov 30 2018 fuel
-rwxrwxr-x 1 apache apache 11802 Nov 30 2018 index.php
-rwxrwxr-x 1 apache apache 1505 Nov 30 2018 README.md
-rwxrwxr-x 1 apache apache 30 Nov 30 2018 robots.txt
Change the directory to the following location
[root@linuxhelp fuel]# cd fuel/application/config/
Configure the MariaDB using the root password as follows
[root@linuxhelp config]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 19
Server version: 5.5.60-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database fuel character set utf8mb4;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> use fuel;
Database changed
MariaDB [fuel]> grant all on fuel.* to user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.00 sec)
MariaDB [fuel]> flush privileges;
Query OK, 0 rows affected (0.01 sec)
MariaDB [fuel]> exit
Bye
List the contents in the config directory
[root@linuxhelp config]# ll
total 156
-rwxrwxr-x 1 apache apache 2509 Nov 30 2018 asset.php
-rwxrwxr-x 1 apache apache 3919 Nov 30 2018 autoload.php
-rwxrwxr-x 1 apache apache 18445 Nov 30 2018 config.php
-rwxrwxr-x 1 apache apache 4390 Nov 30 2018 constants.php
-rwxrwxr-x 1 apache apache 506 Nov 30 2018 custom_fields.php
-rwxrwxr-x 1 apache apache 4625 Nov 30 2018 database.php
-rwxrwxr-x 1 apache apache 2441 Nov 30 2018 doctypes.php
-rwxrwxr-x 1 apache apache 4369 Nov 30 2018 editors.php
-rwxrwxr-x 1 apache apache 547 Nov 30 2018 environments.php
-rwxrwxr-x 1 apache apache 3046 Nov 30 2018 foreign_chars.php
-rwxrwxr-x 1 apache apache 421 Nov 30 2018 google.php
-rwxrwxr-x 1 apache apache 890 Nov 30 2018 hooks.php
-rwxrwxr-x 1 apache apache 114 Nov 30 2018 index.html
-rwxrwxr-x 1 apache apache 498 Nov 30 2018 memcached.php
-rwxrwxr-x 1 apache apache 3032 Nov 30 2018 migration.php
-rwxrwxr-x 1 apache apache 10233 Nov 30 2018 mimes.php
-rwxrwxr-x 1 apache apache 706 Nov 30 2018 model.php
-rwxrwxr-x 1 apache apache 452 Nov 30 2018 MY_config.php
-rwxrwxr-x 1 apache apache 1517 Nov 30 2018 MY_fuel_layouts.php
-rwxrwxr-x 1 apache apache 1063 Nov 30 2018 MY_fuel_modules.php
-rwxrwxr-x 1 apache apache 4157 Nov 30 2018 MY_fuel.php
-rwxrwxr-x 1 apache apache 564 Nov 30 2018 profiler.php
-rwxrwxr-x 1 apache apache 1951 Nov 30 2018 redirects.php
-rwxrwxr-x 1 apache apache 2269 Nov 30 2018 routes.php
-rwxrwxr-x 1 apache apache 3181 Nov 30 2018 smileys.php
-rwxrwxr-x 1 apache apache 680 Nov 30 2018 social.php
-rwxrwxr-x 1 apache apache 1420 Nov 30 2018 states.php
-rwxrwxr-x 1 apache apache 6129 Nov 30 2018 user_agents.php
Open the database.php file to enter the database details that had configured inside the mariadb for fuel cms
[root@linuxhelp config]# vim database.php
'hostname' => 'localhost',
'username' => 'user',
'password' => 'linuxc',
'database' => 'fuel',
'dbdriver' => 'mysqli',
Open the following php file to enable the admin page of fuel cms
[root@linuxhelp config]# vim MY_fuel.php
$config['admin_enabled'] = 'TRUE';
$config['fuel_mode'] = 'AUTO';
Import the ful cms details to the fuel database in the mariadb by entering the root password
[root@linuxhelp config]# mysql -u root -p fuel < /var/www/fuel/fuel/install/fuel_schema.sql
Enter password:
Create a virtual host for fuel cms
[root@linuxhelp config]# vim /etc/httpd/conf.d/fuel.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/fuel/
<directory /var/www/fuel/>
allowoverride all
allow from all
</directory>
</virtualhost>
Test the configuration file of Apache
[root@linuxhelp config]# httpd -t
Syntax OK
Restart the service of Apache.
[root@linuxhelp config]# systemctl restart httpd
Open the Browser and enter the servername that has configured inside the virtual host of Fuel cms