Here is the complete tutorial to install wordpress in your computer using WAMP server. WAMP is a freeware and it is bundled with all the necessary items for a complete local server creation.
Install Wordpress using WAMP
Quick Preview:
- Install & configure WAMP Server
- Copy Wordpress to the local directory
- Install Wordpress
Install & Configure WAMP Server
- Download the latest version of WAMP Server. or Click here WAMP Server.
- Install it in your computer.
- After installation, the WAMP icon will be placed in the system tray.
- Left click on the icon and select the second option (phpMyAdmin) .
- A new page with database creation option will be loaded in your default browser .
- Create a new database with the desired name, this will be used by wordpress to store data.
- After creating the database we must add an user and assign privileges.
- Click on “Database” tab and click the icon next to the database you just created.
- This will open the privileges window, in which you must add a new user.
- Click on “Add a new User “ , and enter the following details
User name:->Use text field <desired User name>
Host:->Any host -> Localhost
Password:->Use text field-><desired password>
- Then select Grant all privileges and click on “Go”
[flagallery gid=3 name="Gallery"]Note: Click on the “FS” button inthe gallery to view it in Fullscreen.
Copy Wordpress to Local Directory
- Download the latest stable version of Wordpress.
- Copy the files inside wordpress folder to the “www” directory where you installed WAMP (Default: “C:\wamp\www”)
- Note: Do not copy the entire folder and paste it, in that case you should append the folder name every time you access localhost.( The index.php must be in the www directory)
- Before Installing wordpress, some files must be configured, this includes specifying the database name and the user name which you created using WAMP.
- Open the file “wp-config-sample.php” and make changes to the following fields.
define(‘DB_NAME’, ‘putyourdbnamehere’);
define(‘DB_USER’, ‘usernamehere’);
define(‘DB_PASSWORD’, ‘yourpasswordhere’);
- The values in these fields must be replaced with the values you specified in WAMP.
- Note: The single quote must not be removed.
- Save the file and rename it from “wp-config-sample.php” to “wp-config.php”
Installing Wordpress
- With the database being created and the wordpress folder being configured, we can now install the Wordpress in your computer.
- Open your browser and enter “localhost”.
- This will start the Wordpress installation process.
- Enter you blog title and your email. The Email feature may not work as you don’t have a dedicated mail provider. Incase of installing wordpress in server, the mail option will be very much useful, particularly incase of lost passwords.
- Leave the other options to their default and click on “Install Wordpress”
- Then wordpress will provide you with a user name and password, by default the username is “admin”.
- Copy the password, because it cannot be retrieved once again.
- Click on “Log In”
- The wordpress will take you the login page where you must provide the username and the password that is generated by Wordpress.
- On a successful login it will redirect you to the Wordpress Dashboard.
- Atlast wordpress is installed in your local computer without the need of any domain.
[flagallery gid=4 name="Gallery"]
Note: Make sure to change you wordpress generated password after your first login, this can be achieved by Clicking on the “Users “option in the left sidebar.