Author Topic: How to Install WordPress in your computer locally  (Read 2559 times)

bbasujon

  • Administrator
  • VIP Member
  • *****
  • Posts: 1827
  • I want to show my performance at any where
    • View Profile
    • Higher Education
How to Install WordPress in your computer locally
« on: February 09, 2012, 06:59:29 AM »
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.

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.
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:wampwww”)
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.
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection