How to install Fuel CMS on Ubuntu 21.04
- 00:37 lsb_release -a
- 00:52 wget https://github.com/daylightstudio/FUEL-CMS/archive/refs/heads/master.zip
- 01:04 unzip master.zip
- 01:14 mv FUEL-CMS-master/ /var/www/fuel
- 01:31 chown -R www-data. /var/www/fuel
- 01:47 chmod -R 775 /var/www/fuel
- 02:06 mysql -u root -p
- 02:31 create database fuel character set utf8mb4;
- 02:57 use fuel;
- 03:08 grant all on fuel.* to user@localhost identified by 'linuxc';
- 03:41 flush privileges;
- 03:53 exit
- 04:08 vi /var/www/fuel/fuel/application/config/database.php
- 04:51 vi /var/www/fuel/fuel/application/config/MY_fuel.php
- 05:50 mysql -u root -p fuel < /var/www/fuel/fuel/install/fuel_schema.sql
- 06:47 vi /etc/apache2/sites-available/fuel.conf
- 07:23 a2dissite 000-default.conf
- 07:49 a2ensite fuel.conf
- 08:06 a2enmod rewrite
- 08:16 systemctl restart apache2
- 08:34 vi /etc/hosts
To Install Fuel CMS on Ubuntu 21.04
Introduction
The CMS stands for a content management system, which is the software used to manage digital content. Fuel CMS acts as a CMS hybrid. It is a PHP/MySQL, modular-based development platform built on top of the popular Code Igniter framework. Prerequisites:
• Apache Web server
• Maria DB
• PHP and its Modules
Installation Procedure:
Step 1: Check the OS version by using the following command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
Step 2: Download the Fuel CMS by using the following command
root@linuxhelp:~# wget https://github.com/daylightstudio/FUEL-CMS/archive/refs/heads/master.zip
--2021-11-24 01:19:00-- https://github.com/daylightstudio/FUEL-CMS/archive/refs/heads/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/refs/heads/master [following]
--2021-11-24 01:19:00-- https://codeload.github.com/daylightstudio/FUEL-CMS/zip/refs/heads/master
Resolving codeload.github.com (codeload.github.com)... 13.127.152.42
Connecting to codeload.github.com (codeload.github.com)|13.127.152.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’
master.zip [ <=> ] 4.62M 5.91MB/s in 0.8s
2021-11-24 01:19:01 (5.91 MB/s) - ‘master.zip’ saved [4846302]
Step3: Extract Fuel CMS by using the following command
root@linuxhelp:~# unzip master.zip
Archive: master.zip
ff2608ce3bad33f6cca782b4914482ee9214f52c
creating: FUEL-CMS-master/
inflating: 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/assets/css/reset.css
Step 4: Move the extracted file to the apache home directory
root@linuxhelp:~# mv FUEL-CMS-master/ /var/www/fuel
Step 5: Changing Ownership to the CMS directory
root@linuxhelp:~# chown -R www-data. /var/www/fuel
Step 6: Giving write Permission to the CMS directory
root@linuxhelp:~# chmod -R 775 /var/www/fuel
Step 7: Log in to the Maria DB
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 30
Server version: 10.5.12-MariaDB-0ubuntu0.21.04.1 Ubuntu 21.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.
Step 8: Create database for Fuel CMS
MariaDB [(none)]> create database fuel character set utf8mb4;
Query OK, 1 row affected (0.008 sec)
Step 9: Select the fuel database
MariaDB [(none)]> use fuel;
Database changed
Step 10: Create a user and granting all for fuel databse
MariaDB [fuel]> grant all on fuel.* to user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.011 sec)
Step 11: Flush privileges to make changes effect.
MariaDB [fuel]> flush privileges;
Query OK, 0 rows affected (0.003 sec)
Step 12: Exit from the Maria DB
MariaDB [fuel]> exit
Bye
Step 13: Open the database.php and configuring database
root@linuxhelp:~# vi /var/www/fuel/fuel/application/config/database.php
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'user',
'password' => 'linuxc',
'database' => 'fuel',
'dbdriver' => 'mysqli',
'dbprefix' => '',
Step 14: Open the database.php and configuring CMS
root@linuxhelp:~# vi /var/www/fuel/fuel/application/config/MY_fuel.php
$config['admin_enabled'] = true;
$config['fuel_mode'] = 'AUTO';
Step 15: Import fuel database to the Fuel CMS
root@linuxhelp:~# mysql -u root -p fuel < /var/www/fuel/fuel/install/fuel_schema.sql
Enter password:
Step 16: Creating Virtual Host for the Creating Virtual Host for the Fuel CMS
root@linuxhelp:~# vi /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>
Step 17: Disable the default Virtual Host file of apache
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 18: Enable the Virtual Host
root@linuxhelp:~# a2ensite fuel.conf
Enabling site fuel.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 19: Enable the read write module of apache
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Step 20: Restart the apache webserver
root@linuxhelp:~# systemctl restart apache2
Step 21: Make host entry for Fuel CMS
root@linuxhelp:~# vi /etc/hosts
Step 22: Ping the Server name in browser

Step 23: Go to admin panel

Step 24: Login with default credentials

Step 25: Updating the profile information

Step 26: Dashboard of Fuel CMS

This Install Fuel CMS documentory file is comes to End
Comments ( 0 )
No comments available