MadanRevoor.com | Aesthetic Web design using Wordpress and JQuery | { This site sponsored by Gatwick Airport Parking }
Installing wordpress on your website can be an easy thing if you understand how to setup the environment required for it correctly. Wordpress is dependent on MySQL, PHP and Apache. Assuming that you are working on Windows platform (WAMP – Windows, Apache, MySQL and PHP), this blog post shall help you to install Wordpress and write your very own blog entry for the first time in a few minutes.
Step 1: Install Apache. Download Apache HTTP server application from http://httpd.apache.org/download.cgi. I always prefer to download the windows installer (MSI) and follow the step by step installation wizard. Just follow the default options and install it.
Step 2: Install MySQL. Download the MySQL community database server which is available for free download from http://www.mysql.com. The exact link to follow is http://dev.mysql.com/downloads/mysql/5.1.html#win32. Select the EXE download and follow the installation wizard by keeping to default options. It is alright to configure the MySQL database as a service that shall start automatically on every reboot. Otherwise, we may need to start it manually. You can test the MySQL installation by opening a command prompt and typing cd \Program Files\MySQL\MySQL Server 5.0\bin and executing “mysqld-nt.exe –console”. This shall start the MySQL server manually. We can open a client connection to test whether we installed the server correctly. we can do this by opning a command prompt and typing “mysql.exe -u root -p” and supplying it with the root password which was created during installation. If the client connects successfully, you can see the MySQL welcome message and then prompt. Go ahead and create a separate database for your blog. I create mine as “blog”. MySQL> create database blog; use blog;
Step 3: Install PHP. PHP can be downloaded from http://www.php.net/downloads.php. I always prefer to download the installer from the website. Follow the step by step PHP installation wizard. Be careful to select the MySQL extensions when installing. Wordpress will not work without the MySQL PHP extensions and it shall be a headache to do it again after you miss it for the first time.
Step 4: Follow the five minute guide “readme.html” from wordpress to set it up. Wordpress can be downloaded from http://wordpress.org. Extract the zip into your web server directory. For example into the /htdocs directory if you are using Apache HTTP server. Rename the wp-config-sample.php file as wp-config.php and fill it up with your correct connection details. My wp-config.php looks like the following:
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(’DB_NAME’, ‘blog’);
/** MySQL database username */
define(’DB_USER’, ‘root’);
/** MySQL database password */
define(’DB_PASSWORD’, ‘password’);
/** MySQL hostname */
define(’DB_HOST’, ‘localhost’);
Step 5: Open the /wp-admin/install.php file in your web browser typing the entire path as http://localhost:8080/wordpress/wp-admin/install.php. This shall setup wordpress for you and generate a unique password for you. You can then open the wordpress dashboard page following the URL http://localhost:8080/wordpress/wp-admin/index.php. The dashboard shall present a really simple UI for you to create your first blog post. Just type the content and click post it or update post. You can view your blog page from the URL http://localhost:8080/wordpress/.
In my next post, I plan to write about how wordpress can be customized to match the look and feel of your own website. For now, have fun downloading the default themes and playing around with them.
This entry was posted on Friday, February 6th, 2009 at 1:19 am and is filed under Web Designing. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
I had known other ways to install wordpress but this seems to be much more easier than that. Thanks for this great help and post.
Will look forward in future as well for your help!!
i m unable to connect word press to my data base $table_prefix = ‘wp_’; what fill here===define (’WPLANG’, ”); ===if ( !defined(’ABSPATH’) )
define(’ABSPATH’, dirname(__FILE__) . ‘/’);===require_once(ABSPATH . ‘wp-settings.php’);
?> ==all these setting pls email me at anjforeva@gmail.com
Hi, You don’t have to get your hands dirty by dealing with the database in a raw fashion. You just have to rename the ‘wp-config-sample.php’ file as wp-config.php and assign your database name and other connection details as shown in step4 of my post.
I wonder if you are trying to localize wordpress to your own language. In that case, you may need to download a ‘.mo’ file that suits the language of your choice and assign it to the ‘WPLANG’ attribute in ‘wp-config.php’ file. Detailed instructions are available at http://codex.wordpress.org/Installing_WordPress_in_Your_Language
Have fun!
thanks………. i want know some more things that how to add Google adsence code to my blog and
I found your site on google, great site, keep it up. Will return in the future. Submitted this post to Google News Reader.
Thanks for the info. The I love the fact that there is a never ending amount of help for my website and other aspects of my life on the Internet
nice post realy this is great we like to touch and see some articles like this
Wow a very easy step by step tutorial to install WP. Thanks for this.
It’s great to see some unique content and a good quality blog for once, actually I would be very interested in doing a link exchange with you.
Hello Madan,
I’m one of the Geocities website users losing their website and need to start working on a new one.
I’m interested in using WordPress, I have some, but limited, HTML code experience.
My question is I just want to use WordPress as a website, not a blog.
Do I still have to download WAMP? My SQL? I’m not familar with these …
After I register with WordPress.com does it make a website for me to build on or do I have to already have to have one?
Do you have links to direct me to answering these questions so I won’t be so much bother …
Thank you,
Al
Thanks for the info. The I love the fact that there is a never ending amount of help for my website and other aspects of my life on the Internet
Very nice information.
altough it is easy to install wordpress – this post will guide people who have difficulties with wp installation – escpecially for rookies.
Thanks for the info. The I love the fact that there is a never ending amount of help for my website and other aspects of my life on the Internet
thanks for all..