Installing WordPress on Windows PC using WAMP has several advantages like using the command line tools if you use other softwares like Ruby for Windows. Previously we described other two ways to install WordPress. First is Installing WordPress on Windows PC using XAMPP, Second way is Installing WordPress on Windows PC using AMPPS. This the third and a bit advanced way for Installing WordPress on Windows PC.
Installing WordPress on Windows PC using WAMP : Preface
Installing WordPress on Windows PC using WAMP has several advantages like you can actually use command line interface in the way we are describing, secondly you can push this local installation to any special PaaS like AppFog. We will basically emulate a LAMP server setup.
Installing WordPress on Windows PC using WAMP
Download and install Ruby for Windows :
Please follow the steps described here to understand what options to keep checked and how to launch the command line tool. Now download and install WAMP :
You must be running WAMP and follow this guide for using wget Command Natively on Windows PC. For this tutorial on Installing WordPress on Windows PC using WAMP, we could have omit the step to install Ruby, but for future tutorials I have added it. Most Windows users who want to increase knowledge, must understand that learning UNIX commands is very precious, that is the reason I am not making Installing WordPress on Windows PC using WAMP tutorial a short. Your wget folder is here :
Right Click and Copy it. Start Command Prompt with Ruby as we wrote here. Change Directory from Command Line Tool to that wget folder :
cd C:Program Files (x86)GnuWin32bin
Download the latest version of WordPress :
Unzip it :
tar -xzvf latest.tar.gz
70% work has been done for Installing WordPress on Windows PC using WAMP :
Yes, we have downloaded and unzipped WordPress. Move the WordPress folder to C:/wamp/www folder :
mv wordpress C:wampwww
Open any browser and go to this url :
It will look like this :
Click button. The next screen will ask you for database details. You have not created a database still now. Go to this url :
This is PHPMyAdmin. You can create database from here graphically. But I will not do. I will do from command line. Here is your MySQL folder :
Copy that path. CD in your windows command which is running using Ruby, go to MySQL :
Type MySQL and hit enter :
Like This :
You can also create a database from here by launching MySQL console :
Default password is blank, just hit enter.
Create a database :
CREATE DATABASE wordpress;
Done. In that WordPress installation wizard on your browser use :
Database name in this tutorial is wordpress, User name is root, password is blank (empty), database host is localhost. And click the submit button. It will get installed.
Basically we install on server in this way. You can enjoy all advantages of a LAMP server if you follow this way for Installing WordPress on Windows PC using WAMP.
(Pun Intended) Optional step is – Download Ubuntu, backup all data and clean install Ubuntu to delete Windows forever. If you unable to understand, ask here :
Tagged With windows remove mysql reinstall wamp