Install/Wordpress: Difference between revisions

From Playful Exploration
Jump to navigation Jump to search
No edit summary
m (Peter moved page Install Wordpress to Install/Wordpress without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[category:Install]]
See https://codex.wordpress.org/Installing_WordPress .
See https://codex.wordpress.org/Installing_WordPress .


Using ssh:
Using ssh:


<syntaxhighlight lang="bash">
<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 13:
mysql -e "CREATE DATABASE wordpress"
mysql -e "CREATE DATABASE wordpress"
nano blog/wp-config.php
nano blog/wp-config.php
</syntaxhighlight>
</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

Latest revision as of 06:20, 25 May 2016


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