How to Install Bolt CMS 3.6v on CentOS 7.6
Installation of Bolt CMS 3.6 on CentOS 7.6
Bolt is an open source Content Management Tool, which strives to be as simple and straightforward as possible.It is quick to set up, easy to configure, uses elegant templates.This tutorial covers the video on installation of Bolt CMS 3.6 on CentOS 7.6.
Features:
It uses Twigs for its templates.
It is completely free to use for both personal and commercial websites.
It is very easy to add a download or to insert images.
Pre-requisites:
Apache 2.4.34
MariaDB 5+
PHP 5.5.9 or higher
PHP Modules:
php php-gd php-pdo php-sqlite3 php-mysql php-mbstring php-intl php-mcrypt php-curl php-zip
Download Link:
Default htaceess Link:
Before you begin, configure the MariaDB for Bolt CMS 3.6v using root password.
[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 21
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 b character set utf8mb4;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> use b;
Database changed
MariaDB [b]> create user buser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.00 sec)
MariaDB [b]> grant all on b.* to buser@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [b]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [b]> exit
Bye
And then, change the directory to apache’s Document root directory.
[root@linuxhelp ~]# cd /var/www
Create a directory for Bolt CMS.
[root@linuxhelp www]# mkdir bolt
Change the directory to Bolt CMS.
[root@linuxhelp www]# cd bolt
Download the Bolt CMS latest version using wget. The download link is provided in the following command.
[root@linuxhelp bolt]# wget https://bolt.cm/distribution/bolt-latest.zip
--2019-04-30 14:27:05-- https://bolt.cm/distribution/bolt-latest.zip
Resolving bolt.cm (bolt.cm)... 82.196.12.59, 2a03:b0c0:0:1010::20f:5001
Connecting to bolt.cm (bolt.cm)|82.196.12.59|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23647708 (23M) [application/zip]
Saving to: ‘bolt-latest.zip’
100%[===================================================================================================>] 23,647,708 1.08MB/s in 21s
2019-04-30 14:27:27 (1.07 MB/s) - ‘bolt-latest.zip’ saved [23647708/23647708]
List the contents to view the zip file of Bolt CMS.
[root@linuxhelp bolt]# ll
total 23096
-rw-r--r-- 1 root root 23647708 Apr 11 19:31 bolt-latest.zip
Extract the zip file of Bolt CMS.
[root@linuxhelp bolt]# unzip bolt-latest.zip
Archive: bolt-latest.zip
creating: bolt-v3.6.7/
creating: bolt-v3.6.7/app/
creating: bolt-v3.6.7/app/database/
extracting: bolt-v3.6.7/app/database/bolt.db
creating: bolt-v3.6.7/app/cache/
extracting: bolt-v3.6.7/app/cache/.gitignore
creating: bolt-v3.6.7/app/config/
creating: bolt-v3.6.7/app/config/extensions/
linking: bolt-v3.6.7/app/nut -> ../vendor/bin/nut
inflating: bolt-v3.6.7/index.php
.
.
.
.
.
.
bolt-v3.6.7/vendor/bin/jsonlint -> ../seld/jsonlint/bin/jsonlint
bolt-v3.6.7/vendor/bin/doctrine-dbal -> ../doctrine/dbal/bin/doctrine-dbal
bolt-v3.6.7/vendor/bin/bolt-requirements -> ../bolt/requirements/bin/bolt-requirements
bolt-v3.6.7/vendor/bin/requirements-checker -> ../symfony/requirements-checker/bin/requirements-checker
bolt-v3.6.7/vendor/bin/nut -> ../bolt/bolt/app/nut
List the contents to view the extracted files and folders.
root@linuxhelp bolt]# ll
total 23096
-rw-r--r-- 1 root root 23647708 Apr 11 19:31 bolt-latest.zip
drwxr-xr-x 7 root root 200 Apr 11 19:31 bolt-v3.6.7
Rename the newly created directory to final.
[root@linuxhelp bolt]# mv bolt-v3.6.7/ final
Change the directory to final.
[root@linuxhelp bolt]# cd final
List the contents to view the files and folders.
[root@linuxhelp final]# ll
total 216
drwxr-xr-x 5 root root 60 Aug 26 2018 app
-rw-r--r-- 1 root root 971 Apr 11 19:31 composer.json.dist
-rw-r--r-- 1 root root 204220 Apr 11 19:30 composer.lock.dist
drwxr-xr-x 2 root root 6 Apr 11 19:31 extensions
-rw-r--r-- 1 root root 3912 Aug 26 2018 index.php
drwxr-xr-x 7 root root 117 Aug 26 2018 public
-rw-r--r-- 1 root root 345 Aug 26 2018 README.md
drwxr-xr-x 3 root root 18 Aug 26 2018 src
drwxr-xr-x 35 root root 4096 Apr 11 19:31 vendor
Download the default htaccess file.
[root@linuxhelp final]# wget https://bolt.cm/distribution/default.htaccess
--2019-04-30 14:28:39-- https://bolt.cm/distribution/default.htaccess
Resolving bolt.cm (bolt.cm)... 82.196.12.59, 2a03:b0c0:0:1010::20f:5001
Connecting to bolt.cm (bolt.cm)|82.196.12.59|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1684 (1.6K) [text/plain]
Saving to: ‘default.htaccess’
100%[===================================================================================================>] 1,684 --.-K/s in 0s
2019-04-30 14:28:40 (183 MB/s) - ‘default.htaccess’ saved [1684/1684]
List the contents to check the default htaccess file.
[root@linuxhelp final]# ll
total 220
drwxr-xr-x 5 root root 60 Aug 26 2018 app
-rw-r--r-- 1 root root 971 Apr 11 19:31 composer.json.dist
-rw-r--r-- 1 root root 204220 Apr 11 19:30 composer.lock.dist
-rw-r--r-- 1 root root 1684 Apr 25 2016 default.htaccess
drwxr-xr-x 2 root root 6 Apr 11 19:31 extensions
-rw-r--r-- 1 root root 3912 Aug 26 2018 index.php
drwxr-xr-x 7 root root 117 Aug 26 2018 public
-rw-r--r-- 1 root root 345 Aug 26 2018 README.md
drwxr-xr-x 3 root root 18 Aug 26 2018 src
drwxr-xr-x 35 root root 4096 Apr 11 19:31 vendor
Rename the default htaccess file to .htaccess file.
[root@linuxhelp final]# mv default.htaccess .htaccess
Rename the following files in the below mentioned way.
[root@linuxhelp final]# mv composer.json.dist composer.json
[root@linuxhelp final]# mv composer.lock.dist composer.lock
[root@linuxhelp final]# mv src/Site/CustomisationExtension.php.dist src/Site/CustomisationExtension.php
Assign Ownership permissions to the final directory.
[root@linuxhelp final]# chown -R apache. ./
Assign Writable permissions to the final directory.
[root@linuxhelp final]# chmod -R 775 ./
Create a customised configuration file for Bolt CMS.
[root@linuxhelp final]# vim /etc/httpd/conf.d/bolt.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/bolt/final/public/
<directory /var/www/bolt/final/>
allowoverride all
allow from all
</directory>
</virtualhost>
Restart the service of Apache.
[root@linuxhelp final]# systemctl restart httpd
Once the Apache service is restarted, open the browser and and enter the servername and hit enter key. Enroll the Admin credentials And click Create First User. You will be taken to your Account Dashboard. Therefore, the installation Of Bolt CMS 3.6 on centos 7.6 comes to end here.
Comments ( 0 )
No comments available