Walker News

A capsule of walker’s experience in life…

How To Install Wordpress Blog In 3 Minutes

This post is to assure my friends who are about to migrate from Blogger to Wordpress, that it’s not a scary task at all. Before committing to register a domain name and hosting plan, you can always install Wordpress locally to explore the robust features of this world class Weblog cum CMS project lead by Matthew Mullenweg!

Since most Wordpress hosting servers are LAMP-compatible (Linux, Apache, MySQL, and PHP), I’m writing this 3-minutes Wordpress setup guide for Red Hat Linux (my another 3-minutes setup guide attempt).


How to setup or install latest Wordpress locally in 3 minutes on Red Hat Linux LAMP?

A LAMP-compatible machine to run the Wordpress is powered by any one of the Linux distributions (in this case, it’s Red Hat Enterprise Linux 4), Apache web server, MySQL database version 4.0 or latest and PHP version 4.2 or latest. For simplicity, these following steps are all done in Linux command line with root user ID!

  1. Edit the /etc/hosts file to append a mnemonic name for the Red Hat IP address, e.g:
    127.0.0.1 localhost www.walkernews-test.net
  2. Make sure the MySQL database server and Apache web server are both running. If you’re not sure, just type these commands to restart them:

    service mysqld restart
    service httpd restart
     

  3. Download the latest Wordpress installation file to the Red Hat Linux LAMP (R-LAMP) machine.
     
  4. Type mysql (MySQL client or database manager) to connect to the MySQL database server (automatically login with MySQL database admin user privileges under Linux root user ID).
     
  5. At the MySQL client prompt (”mysql>”), create and configure a testing database for Wordpress to store blog posts, login users, etc:

    Replace the database name “wtest”, admin user “wtestadmin” and password “wtestadmin-password” with your favour.

    CREATE DATABASE wtest;
    
    GRANT ALL PRIVILEGES ON wtest.* TO wtestadmin@localhost IDENTIFIED BY "wtestadmin-password";
    
    FLUSH PRIVILEGES;
    
    exit

    Type show databases; to list all existing databases created in MySQL server. By default, MySQL installation creates two databases named as “mysql” and “test”. So, try NOT to name the testing database for Wordpress as “test” or “mysql” or any database name that are already in use!
     

  6. Create Wordpress installation directory and Extract the Wordpress installation file downloaded in step 3 to the installation directory:

    mkdir /var/www/html/wtest
    tar -zxvpf wordpress*.tar.gz (.tar.gz format)
    unzip wordpress*.zip (.zip format)
    mv wordpress/* /var/www/html/wtest

    You can also NOT to create Wordpress installation directory and extract all the Wordpress installation files in /var/www/html directory, which will make the testing Wordpress blog URL seen as “http://www.walkernews-test.net” in web browser (otherwise, it’s http://www.walkernew-tests.net/wtest)!
     

  7. Edit and configure the Wordpress configuration file, i.e. wp-config.php:
    define('DB_NAME', 'wtest');
    define('DB_USER', 'wtestadmin');
    define('DB_PASSWORD', 'wtestadmin-password');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
  8. This is the last step to go. Open a web browser (IE7, Firefox, Safari, Opera, etc) to finalize Wordpress installation by entering this URL to the web browser Address bar and follow its simple 2-steps instruction:
    http://www.walkernews-test.net/wtest/wp-admin/install.php

    If you run this step from another machine, you need to edit the /etc/hosts file on that machine accordingly (see step 1), e.g.:

    172.101.20.25 www.walkernews-test.net

    On Windows machine, such as Windows Vista, the Linux /etc/hosts file equivalent is called

    %windir%\system32\drivers\etc\hosts

    Since this is just a local Wordpress installation for testing purpose, remember to untick the check-box “I would like my blog to appear in search engine like Google and Technorati” in step 1!

    Once the Wordpress installation completed successfully, there is a default Wordpress administration user ID called “admin” and its auto-generated random password. Remember to copy the password carefully in order to login and change the default password later!

With references:

The official Wordpress site outline a “5-minutes Wordpress Install” as quick reference for experienced users and a “Detailed Wordpress Install” for first-time Wordpress user.

Suppose those plain-text references are not intuitive, refer to the flash videos that guide (Blogger) users on how to install Wordpress visually (via Cre8d Design)!

If you prefers to Windows-LAMP (WAMP) or other Linux distributions (which the steps are mostly the same), refer to the references of “Install Wordpress Locally” at Wordpress site.

Bookmark and Share:
  • Facebook
  • StumbleUpon
  • Sphinn
  • Digg
  • Pownce
  • del.icio.us
  • Live
  • Google
  • YahooMyWeb
  • Slashdot
  • Furl
  • NewsVine
  • Reddit
  • Ma.gnolia
  • TailRank
  • Technorati
  • BlinkList
  • blogmarks
  • IndianPad
  • Haohao
Topic - Howto, Internet   Search - , , , , , ,

Similar Articles:
» How To Change WordPress Image Caption Text Style To Superscripts?
» How To Insert Multiple Images In WordPress 2.6 Without Using Shortcode?
» Update WP_TITLE To Display Blog Name On The Right
» Disable Wordpress Directory Listing In Web Browser
» WordPress: Adds wp-caption-text To CSS File For Image Caption Styling
» Favicon: How To Create A Website Icon For A Blog?
» Windows Media Player: How To Embed WMV File In HTML Code?

Custom Search
Make your PC more useful by downloading the FREE Google Pack!

Latest Posts @ WalkerNews.net

↑ Grab this Headline Animator

Navigation:
» HOME - WalkerNews.net
« PREV  - Simple JavaScript Extract Login Form Password
» NEXT  - How To Setup SSH Port Forwarding In 3 Minutes

4 Comments so far

  1. WalkerNews.net

    [...] this is another attempt of writing 3-minutes Linux guide. This round, it’s about how to setup or configure SSH Local Port Forwarding in 3 minutes (or [...]

  2. WalkerNews.net

    [...] a default Wordpress installation, each of the categorized posts will be tagged to Technorati.com, with respect to the category [...]

  3. WalkerNews.net

    [...] Install/upgrade to Wordpress 2.3 or higher (supposedly the Tag feature will not be removed in future) [...]

  4. Idetrorce December 15th, 2007 10:19 pm
    WalkerNews.net

    very interesting, but I don’t agree with you
    Idetrorce

Appreciate your comments, but please be in topic.
Please use proper English with punctuation, from 12th of May 2008 onwards.
WalkerNews.net supports Gravatar (Web ID)