To install wordpress you didn’t must have hosting, but you can also be installed on the local computer that does not connect to the network or internet.
Surely the computer should have some application that supports WordPress, such as PHP, My SQL, web server and wordpress itself. Here i’m using XAMPP which built in with My SQL and apache service. For WordPress can be downloaded directly from the source http://wordpress.org.
Let’s go step by step (assumed you have successfully installed xampp) :
1. Extract wordpress into htdocs directory on XAMPP (the extract is usually called wordpress folder)
2. Make new database for wordpress. Type http://localhost on the browser then choose phpmyadmin on the left tab and create new database.
3. type on browser htpp://localhost/wordpress. Will appear a button to create configuration files, then fill the form with Database name, Database Username, Database password, Database host and table prefix.
If you are not familiar with it all, you can just edit a file name wp-config-sample.php then save with name wp-config.php
4. After success will appear to fill the form again to fill the blog title and email address.
5. Finally, you will get a username and password to start the wordpress on local machine.