WordPress is not a program that you normally install on your computer, it is installed on the server of your web hosting company.
But, if you have a live website and need a safe area where you can work and play during a LearnWP W0rdPress workshop you can run WordPress locally on your laptop.
If you just need a short-term development space then we recommend that you use a Flywheel WordPress hosting account – select the free trial option.
Please select the option below for your operating system.
InstantWP is a great simple local FREE installation solution for Windows users
Go to http://instantwp.com and run their free download [windows only]. You’ll be done in just a few minutes and ready to play with WordPress!
MAC – MAMP
MAMP stands for Macintosh, Apache, MySQL, and PHP. MAMP is an application you can install on your Mac which allows you to have access to a local PHP server and MySQL server. Before you install WordPress to your MAMP server you need to download it from the MAMP website. Save the file to your downloads and double click on the download package to begin the installation.
Then follow these instructions to install WordPress on a MAMP server for a Mac
- Download a copy of WordPress from WordPress.org.
- Extract the zip file, copy the wordpress folder inside it and paste it in your MAMP document root folder.
- Rename this folder to anything you want e.g. mysite.
- Click on Open Start Page button in MAMP application window. A new browser window will open. Click on phpMyAdmin from the top menu bar. phpMyAdmin is a web based application used to manage MySQL databases.
- In phpMyAdmin click on Databases and then create a new database. You can name this database anything you want. We will use this database name in the next step.
- Open a new browser window and type http://localhost/mysite. If you re-named the wordpress folder to something else, then use that name here.
- WordPress will notify you that it was unable to find wp-config.php file. Click on Create a Configuration File button.
- On the next screen provide your database information. In the database name field, enter the name of database you created earlier. For database username and password fields use root. Use localhost as your database server.
- WordPress will now connect to your database and create a configuration file for you. After this it will show you a success message. Click on Run Install button to proceed.
- On the next screen, WordPress will ask you to provide your website information, choose a username and password, and enter an email address. Fill in the form and then click on Install WordPress button.
- WordPress will now run the installation script, create tables inside database and set up your website. You will see a success message once the installation is complete.
That’s all, now you can run WordPress on your Mac using MAMP, just like you would run WordPress on a live web server. Just launch MAMP application to start your local server and use WordPress.
Bring your existing content in
If you have an existing WordPress site you’ll probably want to simply import the content that you already have.
- Login to your existing website and go to tools -> Export and create an export file of all your content
- Then come back to your local install and go to tools -> Import and upload the content into your local host.
How to use Jetpack for a Local WordPress Install
During the workshop we will be using the Jetpack plugin. To get it to work you need to follow these steps.
- Download this zip file to run jetpack locally plugin before the workshop.
- Then in your WordPress installation choose Plugins -> Add New ->
- Then click Upload Plugins (at the top next to Add Plugins title).
- Now browse your computer for the zip file you saved and click open.
- Activate the plugin.
Please note some of the features of Jetpack will not work on a local install.
Whew! Congratulations you’ve done it. Now you are ready to work and play.
Extend the Learning….
Join us to learn WordPress Training with Gutenberg, August 22 & 23, 2019.
Or subscribe here to get our blog posts sent to your inbox.