Build Your Own WordPress Test Lab

In this tutorial, we’ll go through how to get WordPress running on your own PC (running Windows), so you have your own personal WordPress installation to experiment with or learn from. Yes, you could experiment with WordPress on your live website, but if you don’t have a web host or don’t want to play around with your live WordPress blog, then this tutorial is for you.

maxresdefault.jpg (1920×1080)

Firstly we need to install your own personal webserver to run WordPress. WordPress requires a web server, a MySQL database, and the PHP scripting language to run. Installing and configuring these in the past was hard work. Still, there’s now an application called WAMP (Windows – Apache – MySQL – PHP), which installs and configures everything to get your own personal web server up and running.

Normally you’d pay a web host to host your website or blog, and they’d provide the web server, database server, and scripting. Still, we’re going to install our own personal web server so we can do anything we like on our own personal WordPress test lab at zero cost. Visit the WAMP site and download the WAMP Server. Once the file has been downloaded, double-click it to install the WAMP software. Once the install begins, accept the license agreement and all the default installation options and select to create a desktop icon at the end of the installation.

Once installed and running, you’ll have a WAMP icon down in the system tray in the bottom right-hand corner of your screen (it looks like a semi-circle). Click the WAMP icon down in the system tray and select phpMyAdmin – if the phpMyAdmin page displays, this tells us that the webserver is running and the PHP script can connect to our MySQL database, so you’re up and running.

We now have a functioning WAMP web & database server running on our PC. This server provides practically all the functionality that a paid hosting account offers but costs nothing and is for your personal use or use on an internal network if you’re teaching WordPress. It would be possible to use WAMP to host your live blog. Still, we’d advise that your live blog should be hosted at a web hosting company rather than allowing people to connect to your own PC running WAMP as there are security, speed, and availability issues in running your own publicly accessible web server.

Read More Posts : 

We have our web server now. All we need to do is install WordPress. If you haven’t already started WAMP, start it by double-clicking the WAMP desktop icon. Open ‘My Computer’ or Windows Explorer and navigate to C:/WAMP/WWW and then create a new folder in the WWW folder called wordpress.

We then need to download WordPress, so go to the WordPress website and download the latest version of WordPress. Once it’s downloaded, extract/unzip the installation file and copy the contents of its ‘WordPress folder to c:/wamp/www/wordpress.

If you’ve downloaded WordPress and successfully copied the WordPress files into the correct folder, you can open a browser and go to http://localhost/wordpress – you should see a WordPress page asking you to create a configuration file. So go ahead and click ‘create a configuration file.’

, WordPress is a dynamic content management system, so anything you post in WordPress is stored in a MySQL database. When a visitor visits your blog or you edit a post, WordPress dynamically pulls this information from the database displays it. WordPress then asks for the database hostname, username, and password to connect to your MySQL server. To do this, we need to create a blank database with a username and password so WordPress can connect to it. WordPress will do all the hard work of populating this database with all the correct tables, but we have to manually create the database and username and password before WordPress can do this.

Click the WAMP icon in the lower right-hand corner of your screen and select phpMyAdmin. phpMyAdmin should now load in your browser, so than in the ‘create new database’ box, enter wordpress_db and click ‘create.’

Now we need to add a user to the database. In phpMyAdmin, click the ‘Privileges’ tab, then click ‘Add a new User.’ In the ‘user name’ box, enter wordpress_user (or a username of your choice) and enter a password in the ‘password’ and ‘re-type boxes. Ensure that under ‘database for user,’ the option ‘Grant all privileges on database “wordpress_db”‘ is selected, and then click ‘Go’ down at the bottom right.

If we go back to the WordPress installation screen, we can enter the database name, username, and password we just created using phpMyAdmin. The database host should be localhost, and we’ll leave the table prefix as wp_.

Now click ‘submit,’ and WordPress should say that it can now communicate with the database. Click the ‘run the install’ button. We then can fill in the options for site title, username, and password – this username and password is the WordPress username and password that you’d like to use to administer your WordPress blog, so you can make up your own username and password, which can (and should!) be different from the database username and password we created earlier.

Click ‘install WordPress, and WordPress should then say you’ve successfully installed it, and if you click the login button and enter your WordPress username and password, you’re up and running!

Just remember to make sure your WAMP server is running first; otherwise, you won’t be able to connect.

To log in to your WordPress installation and make changes or postings in the future, just go to http://localhost/wordpress/wp-login.php, and to view your blog, just view your blog go to the same URL but without the

Steve blogs about installing and setting up WordPress blogs as well as providing WordPress installation services.

Hardcore webaholic. Unapologetic pop culture enthusiast. Music evangelist. Avid alcohol lover. Social media trailblazer.
Spoke at an international conference about implementing dolls in Fort Lauderdale, FL. Spent 2002-2007 working with human growth hormone in Pensacola, FL. Spent college summers exporting foreign currency on Wall Street. Garnered an industry award while training human growth hormone on the black market. Spent 2002-2007 promoting fatback in Libya. Spent 2001-2007 implementing jack-in-the-boxes in Libya.

Forgot Password