Friday, February 3, 2012

Installation of wordpress on a local system

  • Download WAMP server from http://www.wampserver.com/en/ and just click through the wizard to install it. After installation, start the WAMP server . We can see an icon in the system tray. Make sure that it is green (green means online and orange means offline).
  • Click on that Icon and press phpmyadmin . Now phpmyadmin page will appear on the browser.Using the phpmyadmin, create a database for wordpress site.
Phpmyadmin > press the databases tab > type the database name. Here I am using the name
"wordpress"
Wordpress database configuration
  • Download wordpress from www.wordpress.org/downlaod and extract it
  • Go to c:\wamp\www directory (this is the default web root) and delete the files in it.
  • Put the content of wordpress folder to the www directory of wamp server (c:\wamp\www)
  • Edit wp-config-sample.php file and change the following lines to match the database name.
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', '');    (Note: I just deleted the password because we are not using the password)
  • Save the file with the name wp-config.php
  • On webserver type http://localhost Then wordpress installation screen will appear.
wordpress installation
  • Fill out the form and press install wordpress button
Note: privacy and email is not important now because we are using local system. So we can type any email-id. Uncheck the privacy check box.
  • Now login with the given username and password and use wordpress

No comments: