Install/Wordpress: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
Using ssh: | Using ssh: | ||
< | <source lang="Bash"> | ||
cd /var/www/html | cd /var/www/html | ||
wget https://wordpress.org/latest.zip | wget https://wordpress.org/latest.zip | ||
| Line 11: | Line 11: | ||
mysql -e "CREATE DATABASE wordpress" | mysql -e "CREATE DATABASE wordpress" | ||
nano blog/wp-config.php | nano blog/wp-config.php | ||
</ | </source> | ||
While in the nano editor Setup the database information and set ABSPATH = "/blog". | While in the nano editor Setup the database information and set ABSPATH = "/blog". | ||
To complete the installation navigate to http://www.playfulexploration.com/blog | To complete the installation navigate to: | ||
http://www.playfulexploration.com/blog | |||
Revision as of 06:02, 28 December 2015
See https://codex.wordpress.org/Installing_WordPress .
Using ssh:
cd /var/www/html
wget https://wordpress.org/latest.zip
unzip latest.zip
mv wordpress blog
mv blog/wp-config-sample.php blog/wp-config.php
mysql -e "CREATE DATABASE wordpress"
nano blog/wp-config.php
While in the nano editor Setup the database information and set ABSPATH = "/blog". To complete the installation navigate to:
http://www.playfulexploration.com/blog