Walker News

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: 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.
    GRANT ALL PRIVILEGES ON wtest.* TO wtestadmin@localhost IDENTIFIED BY "wtestadmin-password";

    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:

    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.: www.walkernews-test.net

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


    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.

Custom Search

  1. How To Setup SSH Port Forwarding In 3 Minutes – Walker News 21-07-07@21:46

    […] 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. Using Site Search Keywords As Technorati Tags – Walker News 12-08-07@19:23

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

  3. How To Add Tag Cloud And Post Tag In Wordpress Theme – Walker News 08-11-07@18:03

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

  4. Idetrorce 15-12-07@22:19

    very interesting, but I don’t agree with you

  5. Mustapha 10-06-09@00:29

    Thank you for your interesting post.

  6. Nik Simms 15-07-09@17:47

    I wondered what was the best or easiest hosting platform to use. I have used quite a lot of dedicated servers, linux, windows using both apache and iis but at the moment I am liking the Dreamhost system. For web developers who need to cut costs and time this is a must. If anyone has a better solution please let me know.

  7. Steve Call 15-11-09@20:09

    Thanks a lot for this nice post. But I had difficult time navigating around your web site as I kept getting 502 bad gateway error. Just thought to let you know.

  8. Walker 16-11-09@22:45

    @Steve, thank you for alerting me this error.

2018  •  Privacy Policy