Install WordPress at Home

Hello everybody, at previous posts I’ve talk everything around preparing development tools for offline activities. For some of you that not familiar with the term, here what I means ‘offline activities’:

  • Person who have laptop
  • Person who have workstation / PC at home
  • Other

They don’t have hosting account and want to try everything locally.

OK, let start install WordPress at home 🙂

Download WordPress

Get latest wordpress from wordpress.org. Pick .tar.gz or .zip file.

download_wordpress

Save to any folder and extract to :

C:\wamp\www

extract_wordpress

Running Wampserver

Click Start -> All Programs -> Wampserver -> Start Wampserver

Open Browser and type the address :

http://winhows.net/wordpress and hit Enter (winhows.net created from previous tutorial about setting fake domain)

The address should be open and display this error :

There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

Move the file and create config file for wordpress

Previous address (http://winhows.net/wordpress) isn’t good as I want the address is :

http://winhows.net

Would make me easier for future work (migrating to real host etc)

The easiest way to do that is simple. Cut and paste all content of ‘wordpress’ folder to its root folder.

Before move

move_wordpress

After move the content

move_wordpress2

After move the content next step is create config file that easily accomplished by rename existing file :

wp-config-sample.php to wp-config.php

Create MySQL Database

Open http://winhows.net/phpmyadmin

and create database ‘winhows’.

create_mysql_db

Edit wp-config.php

Change these variables :

/** The name of the database for WordPress */
define(‘DB_NAME’, ‘putyourdbnamehere’);

/** MySQL database username */
define(‘DB_USER’, ‘usernamehere’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘yourpasswordhere’);

Save file.

Install WordPress ‘5 minutes famous way’

Open :

http://winhows.net

Fill all info and don’t forget to use email account that I’ve made before.

install_wordpress_5_minutes

Press “Install WordPress” button will give me this message :

Success!

WordPress has been installed. Were you expecting more steps? Sorry to disappoint.

Username admin
Password FrsyDyc)mls@
Note that password carefully! It is a random password that was generated just for you.

Great, everything looks Good.

Check Email

Oops, one more thing to check.

Email notification.

Just open your webmail as previously installed.

check_wordpress_email

Everything work as planned.

See you in next tutorial.

Stay Health!