In this article we are going to deploy octopress on debian standalone system. We will install octopress copy into user’s directory and setup a ssh deployment into /var/www/. This is a generic installation so make sure you adjust all variables to fit your needs and environment.
First we need to install all prerequisites.
Next give your user a sudo privileges if you have not done so already.
As a regular user fetch octopress from git repository:
The above command will create a new directory octopress. Navigate to this directory and install additional prerequisites:
1 2 3 4 5
In the next step configure your new blog by editing _config.yml. Feel free to leave it untouched and change it later. Next we are going to setup a ssh deployment by editing Rakefile. The below code will enable remote user root to deploy octopress blog into /var/www:
1 2 3 4 5 6 7 8
Next generate you private and public key and exchange it with remote server, the one which will host your octopress blog.
In the last step we will install default octopress theme, generate blog and deploy it on the server:
1 2 3
If all went well you should see you blog by visiting