How to install Bolt via SSH

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.

To install Bolt via SSH, the steps that you need to follow are:

step

SSH Connection

The first thing you need to do is to access your account on the server through SSH.

SSH Connection

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.

cd public_html

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 cPanelDomains 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.

cd [argument]
step

Download and Prepare Bolt for Installation

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/
step

Initiate the Installation

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:

  • Username - Enter a username
  • Password - Enter a password for the new user.
  • Password (confirmation) - Enter the password twice for verification.
  • Email - Enter the email address of the new user.
  • Display Name - Enter a display name for the user.

When you are ready, click on the Create the first user button. The system will complete the rest for you.

Create First User in Bolt

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.

Bolt Admin Login

The installation of Bolt is now successfully completed. You can access the administrative area of your Bolt website and start adding content.

Bolt MySQL Setup

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.

On this page...

    Bolt Hosting

    • Free Bolt Installation
    • 24/7 Bolt Support
    • Free Domain Transfer
    • Hack-free Protection
    • Fast SSD Storage
    • Free Bolt Optimization
    • Free Bolt Transfer
    • Free Cloudflare CDN
    View More