Install WordPress over SSH

Installing WordPress over SSH is the simplest and quickest method of installing it. Simply login with your usual SSH client, then navigate to the directory you want to install it into.

Download the latest version of WordPress with the following command :


Then unpack the downloaded package :

tar xfz latest.tar.gz

which will unzip it to a directory called “WordPress”. To move the entire contents from that directory up into your current directory, simply type :

mv wordpress/* ./

Then finally clear up after yourself by removing the original zip file :

rm latest.tar.gz

and the empty directory :

rm -rf wordpress

Then continue the installation through WordPress’s web-based setup at – you’ll need your MySQL database name, username and password to create your config.php file (or you can do it manually – I may well cover that in another post!).