Tuesday, February 2, 2010

Installing Wordpress on NullShells Networks

I'm migrating my external Blogger-Blog at NullShells Networks; Google/Blogger is dropping FTP support for external blogs. I've decided on switching to Wordpress here for my blog. I will briefly chronicle my journey, and start with a set of shell commands on our servers below:

[[email protected]] [~]$ cd ./www/website.tld
[[email protected]] [~/www/website.tld]$mkdir wordpress-dl
[[email protected]] [~/www/website.tld/wordpress-dl]$wget http://wordpress.org/latest.tar.gz
[[email protected]] [~/www/website.tld/wordpress-dl]$tar -xzvf latest.tar.gz
[[email protected]] [~/www/website.tld/wordpress-dl]$mv wordpress ..
[[email protected]] [~/www/website.tld/wordpress-dl]$cd ../wordpress

Ok, now I'm going to login to our hosting control panel and create a database. I click "Databases" under the Tools navigation menu below:

This brings up the Databases window, I click the Green '+' and then it the Add Database window pops up.

I reference my personal settings in order to enter the correct info here in the "Add Database" window to create my database for my wordpress installation.

Database name: wordpress_db
Database type: MySQL
Database user: --Create a new user--
New user name: wordpress-user
Password: wordpressPassword
Re-enter password: wordpressPassword
Allow remote access: UNCHECKED!

Now I need to enter this information into my wp-config.php file, but I haven't created that yet. I'm going to copy wp-config-sample.php inside the control panel file manager to wp-config.php. I do not wish to go back to the shell now that I've got the control panel open, so I'm going to use the built-in editor of the control panel!

I go to click the File Manager on the tools navigation menu provided previously. I find my ~/www/website.tld/wordpress dir and create-copy then edit wp-config.php. Now, I'm going to get started and get my admin login password generated at http://www.website.tld/wordpress/ so I can begin migrating my site! :)