How to Install Fuel CMS 1.4.3 Version on Ubuntu 19.04
Installation of Fuel CMS 1.4.3 Version On Ubuntu 19.04
Pre-requisites
Apache 2.38
MariaDB 10.3
PHP -7.2
Download Link :
click here, to download fuel cms version 1.4.3
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:/var/www# wget https://github.com/daylightstudio/FUEL-CMS/archive/master.zip
--2019-06-21 15:31:27-- 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-21 15:31:27-- 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’
master.zip [ <=> ] 4.11M 1.09MB/s in 5.1s
2019-06-21 15:31:34 (820 KB/s) - ‘master.zip’ saved [4314698]
List the contents to view the downloaded zip file of fuel cms
root@linuxhelp:/var/www# ll
total 4228
drwxr-xr-x 3 root root 4096 Jun 21 15:31 ./
drwxr-xr-x 15 root root 4096 May 16 16:26 ../
drwxr-xr-x 2 root root 4096 May 16 16:26 html/
-rw-r--r-- 1 root root 4314698 Jun 21 15:31 master.zip
Extract the zip file of fuel cms
root@linuxhelp:/var/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/fuel/modules/fuel/views/pages/page_create_edit.php
inflating: FUEL-CMS-master/fuel/modules/fuel/views/preview.php
inflating: FUEL-CMS-master/fuel/modules/fuel/views/pwd_reset.php
inflating: FUEL-CMS-master/fuel/modules/fuel/views/reset.php
inflating: FUEL-CMS-master/fuel/modules/fuel/views/settings.php
inflating: FUEL-CMS-master/fuel/modules/fuel/views/tools.php
inflating: FUEL-CMS-master/fuel/modules/fuel/views/upload.php
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:/var/www# ll
total 4232
drwxr-xr-x 4 root root 4096 Jun 21 15:31 ./
drwxr-xr-x 15 root root 4096 May 16 16:26 ../
drwxr-xr-x 4 root root 4096 Nov 30 2018 FUEL-CMS-master/
drwxr-xr-x 2 root root 4096 May 16 16:26 html/
-rw-r--r-- 1 root root 4314698 Jun 21 15:31 master.zip
Rename the extracted directory of fuel cms
root@linuxhelp:/var/www# mv FUEL-CMS-master/ fuel
verify the renamed directory by listing the contents
root@linuxhelp:/var/www# ll
total 4232
drwxr-xr-x 4 root root 4096 Jun 21 15:32 ./
drwxr-xr-x 15 root root 4096 May 16 16:26 ../
drwxr-xr-x 4 root root 4096 Nov 30 2018 fuel/
drwxr-xr-x 2 root root 4096 May 16 16:26 html/
-rw-r--r-- 1 root root 4314698 Jun 21 15:31 master.zip
Change the directory to fuel
root@linuxhelp:/var/www# cd fuel
List the contents inside the fuel directory
root@linuxhelp:/var/www/fuel# llotal 44
drwxr-xr-x 4 root root 4096 Nov 30 2018 ./
drwxr-xr-x 4 root root 4096 Jun 21 15:32 ../
drwxr-xr-x 9 root root 4096 Nov 30 2018 assets/
drwxr-xr-x 9 root root 4096 Nov 30 2018 fuel/
-rw-r--r-- 1 root root 39 Nov 30 2018 .gitignore
-rw-r--r-- 1 root root 718 Nov 30 2018 .htaccess
-rwxr-xr-x 1 root root 11802 Nov 30 2018 index.php*
-rw-r--r-- 1 root root 1505 Nov 30 2018 README.md
-rw-r--r-- 1 root root 30 Nov 30 2018 robots.txt
Assign the Ownership permissions to the fuel directory recursively
root@linuxhelp:/var/www/fuel# chown -R www-data. ./
Assign Writable permissions to the Fuel Directory
root@linuxhelp:/var/www/fuel# chmod -R 775 ./
Change the directory to config
root@linuxhelp:/var/www/fuel# cd fuel/application/config
Log in to the MariaDB database to configure for fuel cms
root@linuxhelp:/var/www/fuel/fuel/application/config# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 58
Server version: 10.3.13-MariaDB-2 Ubuntu 19.04
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.001 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.001 sec)
MariaDB [fuel]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
MariaDB [fuel]> Ctrl-C -- exit!
Aborted
List the contents to view the files and folders in the config
root@linuxhelp:/var/www/fuel/fuel/application/config# ll
total 164
drwxrwxr-x 2 www-data www-data 4096 Nov 30 2018 ./
drwxrwxr-x 15 www-data www-data 4096 Nov 30 2018 ../
-rwxrwxr-x 1 www-data www-data 2509 Nov 30 2018 asset.php*
-rwxrwxr-x 1 www-data www-data 3919 Nov 30 2018 autoload.php*
-rwxrwxr-x 1 www-data www-data 18445 Nov 30 2018 config.php*
-rwxrwxr-x 1 www-data www-data 4390 Nov 30 2018 constants.php*
-rwxrwxr-x 1 www-data www-data 506 Nov 30 2018 custom_fields.php*
-rwxrwxr-x 1 www-data www-data 4625 Nov 30 2018 database.php*
-rwxrwxr-x 1 www-data www-data 2441 Nov 30 2018 doctypes.php*
-rwxrwxr-x 1 www-data www-data 4369 Nov 30 2018 editors.php*
-rwxrwxr-x 1 www-data www-data 547 Nov 30 2018 environments.php*
-rwxrwxr-x 1 www-data www-data 3046 Nov 30 2018 foreign_chars.php*
-rwxrwxr-x 1 www-data www-data 421 Nov 30 2018 google.php*
-rwxrwxr-x 1 www-data www-data 890 Nov 30 2018 hooks.php*
-rwxrwxr-x 1 www-data www-data 114 Nov 30 2018 index.html*
-rwxrwxr-x 1 www-data www-data 498 Nov 30 2018 memcached.php*
-rwxrwxr-x 1 www-data www-data 3032 Nov 30 2018 migration.php*
-rwxrwxr-x 1 www-data www-data 10233 Nov 30 2018 mimes.php*
-rwxrwxr-x 1 www-data www-data 706 Nov 30 2018 model.php*
-rwxrwxr-x 1 www-data www-data 452 Nov 30 2018 MY_config.php*
-rwxrwxr-x 1 www-data www-data 1517 Nov 30 2018 MY_fuel_layouts.php*
-rwxrwxr-x 1 www-data www-data 1063 Nov 30 2018 MY_fuel_modules.php*
-rwxrwxr-x 1 www-data www-data 4157 Nov 30 2018 MY_fuel.php*
-rwxrwxr-x 1 www-data www-data 564 Nov 30 2018 profiler.php*
-rwxrwxr-x 1 www-data www-data 1951 Nov 30 2018 redirects.php*
-rwxrwxr-x 1 www-data www-data 2269 Nov 30 2018 routes.php*
-rwxrwxr-x 1 www-data www-data 3181 Nov 30 2018 smileys.php*
-rwxrwxr-x 1 www-data www-data 680 Nov 30 2018 social.php*
-rwxrwxr-x 1 www-data www-data 1420 Nov 30 2018 states.php*
-rwxrwxr-x 1 www-data www-data 6129 Nov 30 2018 user_agents.php*
Open a php file named database.php to enter the database details that had configured inside the MariaDB for fuel CMS
root@linuxhelp:/var/www/fuel/fuel/application/config# vim database.php
'hostname' => 'localhost',
'username' => 'user',
'password' => 'linuxc',
'database' => 'fuel',
'dbdriver' => 'mysqli',
Open the Following php file to edit the required details for fuel cms
root@linuxhelp:/var/www/fuel/fuel/application/config# vim MY_fuel.php
$config['admin_enabled'] = 'TRUE';
$config['fuel_mode'] = 'AUTO';
Import Fuel CMS Details inside the MariaDB database by entering the root password
root@linuxhelp:/var/www/fuel/fuel/application/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:/var/www/fuel/fuel/application/config# vim /etc/apache2/sites-available/fuel.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/fuel/
<directory /var/www/fuel/>
allowoverride all
allow from all
</directory>
</virtualhost>
Disale the default site access
root@linuxhelp:/var/www/fuel/fuel/application/config# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the site access of fuel cms
root@linuxhelp:/var/www/fuel/fuel/application/config# a2ensite fuel.conf
Enabling site fuel.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp:/var/www/fuel/fuel/application/config# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the Service of Apache2
root@linuxhelp:/var/www/fuel/fuel/application/config# systemctl restart apache2
Open the Browser and enter the servername that has configured inside the virtual host of Fuel cms