As discussed in my previous post discussing WordPress v Drupal, I mentioned that getting started with WordPress is easier than Drupal as well as other content management systems. But seriously, how easy is it really? This article will show you how to get started with WordPress locally on your PC or Mac. In upcoming articles I will show you how to create sites from scratch using WordPress, as well as other neat tricks; but today I will be talking about how to install WordPress locally. Trust me, it’s pretty easy.
Why install WordPress locally?
Although in this post I will be talking about local WordPress development, you can ,however, create WordPress sites within your browser with WordPress.com. If all that you are after thoguh is just a simple blog, then head over to there and get started for free. If, however, you want to create a site from scratch that gives you control over the backend database work as well more creative control and are looking to create more than just a blog, then knowing how to install WordPress locally (WordPress.org) will be an essential skill for your toolbox.
Firstly, you will need to download a desktop server; I recommend Server Press. Don’t be alarmed if you see a price tag for this, that is optional and by purchasing it you will unlock premium features such as the ability to host an unlimited amount of sites, plugins for Visual Studio Code and Adobe Dreamweaver, an ‘airplan’ mode plugin and the ability to archive and export sites. There, of course, is a freemium version, and that is what we will be using. This includes PHP 7.0 (what WordPress is built using), Apache and MySQL servers, and of course WordPress.
Click the add to cart button. You may need to fill a form. Once that has been completed, click the download button. The zip folder that you will be downloading with be approximately 443 MB in size, so it might take a couple of minutes to complete. Once it has completed, extract it, open the extracted folder and click on the ‘Install DSL’.exe file. You will now be taken through the installation wizard. Accept the terms and then select ‘install new desktop server’. Desktop Server will now start to install on your machine.
Once the installation process has completed, you will need to search for it on your operating system. Windows and Macs differ slightly in how you can search. For Windows users, navigate to the windows icon and then Search for ‘DesktopServer’. Mac users can use the ‘cmd’ + spacebar shortcut on their keyboard.
When you find the DesktopServer icon, click to open it.
Once opened, it will ask you if you want to restart DesktopServer with privileges or not. I suggest selecting yes.
Next, select ‘start Apache and MySQL services’. It is important that these are running, overwise you might have trouble running your site.
Next, create a new development website….Because we are creatiing a new WordPress portfolio website and will be starting from scratch.
This next stage will be the process of installing WordPress…
Create a site name, ‘my simple WordPress portfolio website’, for example. Currently
For the blueprint, select the latest version of WordPress. If you are happy with where it will installed within the site root box, click create. Then, click on next (once everything has been installed and setup correctly). You will be shown a .php link. Click on this. It will open in your default web browser.
From here, create your site title, a username, ideally a strong password (don’t worry too much as this will be hosted locally and not on the world web untill a later date), enter your email address, and then click ‘Install WordPress’
And once WordPress has finished installing, you will then be able to select your newly created site from the DesktopServer browser window.
So now you know how to install WordPress locally, what is next?
Well, to create the WordPress site of course. I’ll explain more in upcoming articles. But, until then, I hope that this post has been of some use to you.
Any queries, please let us know!