Changes

Jump to navigation Jump to search
→‎Installing WordPress (3/14/2016): more detailed installation instructions
== Installing WordPress (3/14/2016) ==
Following the [http://codex.wordpress.org/Installing_WordPress#Detailed_Instructions Detailed Instructions] to install WordPress was enough to get me started:  $ cd ~/Downloads $ wget https://wordpress. org/latest.tar.gz $ tar -xzvf latest.tar.gz Configure a database for WordPress (can be called something other than wordpress) and make a new MySQL user (can be called something other than mcnair_wp) that has all permissions for the wordpress database. Obviously, you should replace password with a secure password for the user. FLUSH PRIVILEGES reloads the permissions tables.  $ mysql -u root -p Enter password:  mysql> CREATE DATABASE wordpress; mysql> GRANT ALL PRIVILEGES ON wordpress.* TO "mcnair_wp"@"localhost" IDENTIFIED BY "password"; mysql> FLUSH PRIVILEGES; mysql> EXIT You can verify that the wordpress database and user were created correctly by logging into the mysql client commandline interface using the new user:  $ mysql -u mcnair_wp -p Enter password: mysql> SHOW DATABASES; mysql> USE wordpress; mysql> EXIT   I installed the wordpress directory under /var/lib/wordpress and then made a symlink from /var/www/blog to /var/lib/wordpress (much like how the mediawiki was done) so that http://128.42.44.22/blog points to the WP blog.
== To-do list ==
Anonymous user

Navigation menu