How To Install Bolt CMS on Centos 7

Install Bolt CMS on Centos 7

In this tutorial we will show you how to install Bolt CMS on your CentOS 7 server. For those of you who didn’t know, Bolt CMS is a lightweight open source Content Management Tool, written in PHP and it’s built upon the Silex frame.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root accge of Linount, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Bolt CMS on a CentOS 7 server.

Install Bolt CMS on Centos 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Install LEMP server.

A CentOS 7 LEMP stack server is required. If you do not have LEMP installed, you can follow our guide here. Also install required PHP modules:

Step 3. Installing Composer.

Download and install Composer by executing the following command:

Step 4. Installing Bolt CMS.

Install Bolt CMS using the “composer create-project” command:

The installer will ask you if you want to use Bolt’s standard folder structure. Choose “yes” and proceed with the installation.

By default, Bolt is configured to use an SQLite database, since we will be using a MySQL database we need to change the settings in app/config/config.yml file and enter the details of the database we created previously:

We will need to change some folders permissions:

Step 5. Configure Nginx Web Server for Bolt CMS.

Create a new Nginx virtual host:

Add the following lines:

Save and close the file. Restart the Apache service for the changes to take effects:

Step 6. Accessing Bolt CMS.

Bolt CMS will be available on HTTP port 80 by default. Open your favorite browser and navigate to or http://server-ip and register your first user. Administrative access is automatically granted to the first registered user.

Congratulation’s! You have successfully installed Bolt CMS. Thanks for using this tutorial for installing Bolt CMS on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Bolt CMS web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!