Installing WordPress via BASH/Shell

Installing WordPress via BASH/Shell

Get the WordPress Package File and download to current directory

wget http://en-gb.wordpress.org/latest-en_GB.tar.gz

Unzip the Package File in the directory

tar xfz latest-en_GB.tar.gz

Move the contents of the WordPress directory to the parent directory.

mv wordpress/* ./

Remove the empty WordPress Folder

rmdir ./wordpress/

Remove the Package File

rm -f latest.tar.gz

Install Base Theme

Navigate to the themes folder

cd wp-content/themes

Download the Base theme

wget https://github.com/joshuaiz/plate/archive/master.zip

Unpackage

unzip master.zip

Delete zip file

rm -f master.zip

Rename the theme

mv plate-master new-theme-name
Comments are closed.