In this lesson we are going to get started with setting up our wordpress website on our local machine. So let us start!
1. First of all you require wamp server which is windows based development environment. WAMP is best for making windows based web applications. WAMP server has three things Apache server, PHP and MYSQL. So, download wampserver from this link
2. Once you have downloaded wamp server the installation of wampserver is pretty straight farward. Just track the exe file you have just downloaded and double click it. It is pretty much automatic and self explanatory. So keep on clicking next and finish the installation.
3. Once you have installed wamp server you would like to test it in an internet browser whether it is working or not.
4. Click the start menu and click on start wampserver. Wamp server icon would appear on right bottom first it would be red, then yellow and finally white. It s icon is shown on right bottom where you see the time
5. Now open your internet browser and write http://localhost/. You will get to the root of your WAMP server. This is the page which shows what ever you place in your www folder in c drive and we also call it the root of our local server.
6. Now you have completely set up your local server on your local machine. Using WAMP server you can not only run Wordpress but you can also run and test any kind of php sql based web applications. So it is a very good tool to learn as it gives you an environment to test your web aps on your system before finally launching them on a live server.
7. Your root directory where you would place all your aps would be C:\wamp\www.
8. To upload your database and create user there is phpmyadmin that comes with WAMP server. It is also a very important tool to learn we will talk about it later once we set up the database and user for our wordpress website
10. Once the download of wordpress is complete you will observe that downloaded file is a compressed zip file.
11. Unzip this file on your root directory (C:\wamp\www) in www folder
12. Once you have done that open your internet browser and write http://localhost/
13. Now you can also see the “wordpress” folder in which you extracted your wordpress installation files.
14. Now we need to create a database and a user for our wordpress installation
15. Database and users are created in phpmyadmin. So, click on “phpmyadmin” as shown in the snapshot below on your localhost page
16. You will enter phpmyadmin which is a very useful tool to learn. Enter the name of the database and remember the name I would write “wordpress” as the name of the database and click create and your database with the name wordpress would be created.
17. Next click on privilidges you will see that by default a user with the name of root is already there and the name of your server is localhost
18. Now you have three config details your database name that is “wordpress”, your user name that is root and your servername that is “localhost”
19. Now go to www folder and then in wordpress installation folder you will see a file with a name of ‘wp-config-sample’. Rename it to ‘wp-config’ and open it
20. Look for these details replace the text ‘database_name_here’ with the database name that is ‘wordpress’ in our case, write ‘root’ in place of ‘username_here’ and there was no password so remove the text ‘password_here’.
23. Write all the installation details the username password and remember your username and password, your email address and once done click ‘install wordpress’ button
25. Now click on login and write down the user name and password you chose in the previous step and click login and now you are logged into your dashboard.
26. Now your wordpress installation is complete to view your website you have just created click on visit site button which is on left top of your dashboard as shown in the snapshot below
28. Up till now you have successful configured local environment for wordpress development on your local machine and also made your first wordpress website … WOW!
29. In the next post we would try to push further try to understand different parts of our dashboard or admin panel and create header pages and posts of our wordpress website, play with plugins and learn about permalinks.
30. So stay tuned more to come!
If you want to read more about wordpress you can visit below links.
http://zeeshandurrani.com
https://www.facebook.com/wordpresstoday
If you want to read more about wordpress you can visit below links.
http://zeeshandurrani.com
https://www.facebook.com/wordpresstoday