Well, now we have a fair Idea about WordPress and blogging from the previous post. If you are new to blogging especially to WordPress then please refer my old post here. Let’s see how to install WordPress on your local Windows PC. It is really helpful if you have a local copy when you are doing any custom layout changes or applying new themes.
You can test your customization on your local PC before implementing them on the live server. Let’s start the installation with step by step procedure.
Download WordPress Installer
Our fist step for installation is to download the setup file from the WordPress site. You can click on this link to go to WordPress download page. Once you reach the download page there will be a link to the latest version available. Click on the link and download the compressed file to your PC.
Note: Please download the .zip version. There will be another link to download .tar.gz file also. It is not for windows based operating system.
First of all, we require an http server application to execute the php scripts. The best simple and stable application is Wampserver. You can download the set up file at http://www.wampserver.com/en/
Once you open the site, click on download. You have 32 bit and 64 bit version avilable for download.
Now we will start the installation process..
Step 1 – Install Wampserver
Double click on the downloaded setup and follow the instructions and complete the installation. Select “C:\” as your default directory. The set up will install the following applications to “c:\wamp64\” folder. I am using 64 bit version. If you are using 32 bit version then the folder name may not be the same, it will not have the number 64. The set up will install
- PHP – Libraries to execute PHP scripts.
- MySQL – Database for our website.
- Apache – Web server to execute the script and render the page to browser. You can see these applications inside the bin folder of your installation directory.
- PhpMyadmin – Web based interface for MySQL database.
Step 2 – Install WordPress.
Unlike the above set up , install WordPress is not a straight forward process. You need to follow the below steps in the same order.
- Start the Wampserver application by double clicking on the desktop icon. Check for the green icon in the system tray. If all the services run properly then it will flash a green icon. If any one or both services are not started properly, system will show you orange or red icon.
- Open a web browser and open phpmyadmin by typing the URL “http://localhost/phpmyadmin“. Default username will be “root“. Password will be blank if you have not specified anything during installation. on successful login you will get the following screen.
- Create a new database for your new web application.In my example I have selected the database name as “aarvis“. You can select any name which suits your requirement. The above screen shows you the phpmyadmin home page.
- To create a new database click on “New” link in the left hand side of the page. You will get the new DB creation page on the detailed section as shown above.
- Specify your database name and click on “Create” button.
- Create a new folder “aarvis” under “C:\wamp64\www\“. The folder name may slightly vary, if you are using the 32 bit version. But the procedure is same.
- Extract the the WordPress set up to a temporary folder.
- Go in to the sub folder level until you see the files below.
- Copy all files above with the folders and paste it to “C:\wamp64\www\aarvis\“.
- Rename the “wp-config-sample.php” file to “wp-config.php“. You are removing the “sample” word from the configuration file. Now it not a sample but the live configuration for your website.
- Open the config file using notepad or notepad++. I am using notepad++. It is having more features and supports a bunch of languages. You can download Notepad++ here.
- Now you need to change three entries in your config file.
- Provide your database name. This database will be used for your website content and settings.
- Specify the User ID for MySQL login. Keep it as ‘root’, if you have not set any other user name explicitly.
- MySQL password. By default it is blank. So no need to provide anything in it. Please refer the screen shot below.
- Finally, we will start the actual process of install WordPress. Go to your root folder and open the “wp-admin” folder. You will see “install.php” file. This file is used for installing WordPress. You need to call this file using your web browser. Type in the following url “http://localhost/aarvis/wp-admin/install ” to any browser. Please make sure your “Wampserver” is running. Otherwise system will throw you a page not found error. If everything works fine you will get the below screen.
- Now select your preferred language and click “Continue“.
- In the next screen WordPress installer will ask you for the following details as shown in the below screen shot.
- Site title – It is nothing but your website name. Don’t worry, it can be changed at any time.
- Username – This username would be user for logging into your website admin area.
- Password – This password will be your admin password. WordPress will give you a default password with the combination of special characters lower and upper case letters. You can delete it and set your own password.
- WordPress requires a mail ID to configure.
- Do not check the check box “Search Engine Visibility”. Keep it blank. Click on “Install WordPress“. Thats it.. you are done with the installation.
After successful completion of WordPress you will be taken back to your home page with the default theme. Now you can start configuring your site.
We will see the configuration part in subsequent posts. Hope this article helped you to install wordpress quickly.
Happy reading …