• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Bolt CMS 3.6v on CentOS 7.6

  • 01:08 mysql -u root -p
  • 01:53 wget https://bolt.cm/distribution/bolt-latest.zip
  • 02:09 unzip bolt-latest.zip
  • 02:31 wget https://bolt.cm/distribution/default.htaccess
  • 02:41 mv default.htaccess .htaccess
  • 03:22 vim /etc/httpd/conf.d/bolt.conf
{{postValue.id}}

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:

Here

Default htaceess Link:

Here

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. snap1 Enroll the Admin credentials And click Create First User. snap2 snap3 You will be taken to your Account Dashboard. snap4 Therefore, the installation Of Bolt CMS 3.6 on centos 7.6 comes to end here.

Tags:
philippe
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What are the files to be renamed in the Bolt CMS?

A

.bolt.yml , composer.json composer.lock and src/Site/CustomisationExtension.php are the files to be named where you need to remove .dist in the original files of bolt cms

Q

What is the link to download the default htaccess file in Bolt CMS?

A

https://bolt.cm/distribution/default.htaccess is the link to download the default htaccess file in bolt cms

Q

Do we have to configure anything inside app/config/config.yml in Bolt CMS?

A

Inside the config.yml configuration file,you need to set debug=true and log as true in bolt cms

Q

What is the document root folder of Bolt CMS?

A

the document root folder of bolt cms is /var/www/bolt/final/public/ in Apache's Customised COnfiguration File

Q

Do we have to rename the htaccess file after downloading default htaccess in bolt cms?

A

Rename the default htaccess file to .htaccess as it is a requirement Of bolt CMS.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.