Skip to content

Instantly share code, notes, and snippets.

@danemorgan
Last active May 21, 2018 17:14
Show Gist options
  • Save danemorgan/543f9503212bd3ed5df6 to your computer and use it in GitHub Desktop.
Save danemorgan/543f9503212bd3ed5df6 to your computer and use it in GitHub Desktop.
Install WordPress via SSH
cd install-directory/
wget --no-check-certificate http://www.wordpress.org/latest.tar.gz
tar xfz latest.tar.gz
mv wordpress/* ./
rmdir ./wordpress/
rm -f latest.tar.gz
@danemorgan
Copy link
Author

Sometimes wget fails with ERROR: certificate common name “*.wordpress.org” doesn’t match requested host name “wordpress.org”.

Then use wget --no-check-certificate http://www.wordpress.org/latest.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment