Updated on Dec 10, 2015
This tutorial will review the installation of Bolt on your hosting plan, using SSH connection to the server. If you are comfortable with the Linux terminal, the installation of Bolt will be relatively easy that way.
The first thing you need to do is to access your account on the server through SSH.
If you do not know how to access your account over SSH, you can review our tutorial that will describe the entire process.
Once you access your account on the server via SSH, you need to access the public_html/ directory. It is the directory, accessible directly via the primary domain on your account. For that purpose, you need to execute the following command.
If you wish to install Bolt directly on the primary domain, this is the directory, where you need to perform the installation steps. Otherwise, if you are installing it for an addon domain or a subdomain, you would have to go to it first. If you do not know the directory, you can see it through your cPanel -> Domains tab -> Subdomains/Addon Domains. You will notice a Document Root column, which will show you the path to it, with regards to the home directory of your account. Then simply copy the path and execute this command with the path as its argument.
Now that you are located in the directory that you want to install Bolt, you will have to execute three commands, one after the other.
The first command will download the Bolt installation package on your account and in the directory, where you will install it. It is:
curl -O http://bolt.cm/distribution/bolt-latest.tar.gz
The next command will extract the contents of the archive. It is:
tar -xzf bolt-latest.tar.gz --strip-components=1
The last command will apply the required permissions to the folders of Bolt. This is a required step so you can perform the installation without any issues. The command is:
chmod -R 777 files/ app/database/ app/cache/ app/config/ theme/ extensions/
The next step is to access your website through your favorite web browser. You will see the Bolt user creation form, since there are currently no other users. You may notice that at the bottom of the document, there is a warning that currently the database is configured with SQLite. This should not bother you at all, as we will show you how to reconfigure it later. Now, you will have to enter the required data for the creation of a new user. The available options are:
When you are ready, click on the Create the first user button. The system will complete the rest for you.
The system will create the user and then automatically redirect you to the Bolt login form. From there, you will be able to access your new account.
The installation of Bolt is now successfully completed. You can access the administrative area of your Bolt website and start adding content.
If your project is going to be vast in size, we strongly recommend that you set up your website with a MySQL database. It is much more reliable and you can review our tutorial on how to configure Bolt with MySQL database.