Install/Wordpress: Difference between revisions

From Playful Exploration
Jump to navigation Jump to search
(Created page with "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...")
 
No edit summary
Line 3: Line 3:
Using ssh:
Using ssh:


    cd /var/www/html
<syntaxhighlight lang="bash">
    wget https://wordpress.org/latest.zip
cd /var/www/html
    unzip latest.zip
wget https://wordpress.org/latest.zip
    mv wordpress blog
unzip latest.zip
    mv blog/wp-config-sample.php blog/wp-config.php
mv wordpress blog
    mysql -e "CREATE DATABASE wordpress"
mv blog/wp-config-sample.php blog/wp-config.php
    nano blog/wp-config.php
mysql -e "CREATE DATABASE wordpress"
nano blog/wp-config.php
</syntaxhighlight>


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 05:57, 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 .