Difference between revisions of "Wordpress SSH"
From KOP KB
								
												
				 (Created page with "<ol> <li><abbr title="Secure shell">SSH</abbr> into your server, then navigate to your domain’s web root:<br> <kbd>cd <var>/var/www/vhosts/example.com/httpdocs</var></kbd></...")  | 
				|||
| Line 1: | Line 1: | ||
| + | You will need to use some kind of terminal program to SSH into the server. Our suggest program is Putty.  | ||
| + | |||
<ol>  | <ol>  | ||
<li><abbr title="Secure shell">SSH</abbr> into your server, then navigate to your domain’s web root:<br>  | <li><abbr title="Secure shell">SSH</abbr> into your server, then navigate to your domain’s web root:<br>  | ||
Revision as of 17:56, 5 August 2014
You will need to use some kind of terminal program to SSH into the server. Our suggest program is Putty.
- SSH into your server, then navigate to your domain’s web root:
cd /var/www/vhosts/example.com/httpdocs - Grab the latest WP install
wget http://wordpress.org/latest.tar.gz - Get the files out of the archive:
tar xfz latest.tar.gz - Navigate to the 
wordpresssubfolder:
cd wordpress - Copy everything back up to the web root:
cp -rpf * ../ - Navigate back up to web root:
cd .. - Remove the 
wordpresssubfolder:
rm -rf wordpress - Remove the downloaded archive file:
rm -f latest.tar.gz