Skip to main content
Noble Desktop Publishing Team/3 min read

Setting Up a WordPress Site

Local WordPress Setup

1

Start MAMP/XAMPP & Open phpMyAdmin

Mac: localhost:8888 → Tools → phpMyAdmin. Windows: localhost.

2

Create a Database

Databases tab → enter database name (mrp) → Create.

3

Copy WordPress to htdocs

Place the WordPress folder in MAMP htdocs (Mac) or xampp htdocs (Windows).

4

Create wp-config.php

Visit localhost/mrp in your browser to run the WordPress installer.

Master WordPress at Noble Desktop

Noble Desktop's WordPress Bootcamp teaches themes, plugins, and custom site development.

Learn how to use WordPress as a full-fledged Content Management System (CMS) to create a fully editable site, including creating a database and installing WordPress.org files.

Topics Covered in This WordPress Tutorial:

Creating a Database, Installing WordPress.org Files

Exercise Preview

ex prev 2A

Exercise Overview

In addition to a blogging platform, WordPress can also be used as a full-fledged Content Management System (CMS) to create a fully editable site. We’re going to start a new site that will be entirely dynamic, with pages and a blog. In this exercise, we will set up the new database so we can get started.

  1. To set up a database, start your server and open phpMyAdmin, as shown below:

Mac

  1. Open MAMP (Hard Drive > Applications > MAMP > MAMP.app).
  2. The servers should start automatically. If not, click Start Servers.
  3. If the MAMP start page does not open automatically, click the Open WebStart page button.
  4. On the start page, in the nav menu, go to Tools > phpMyAdmin.
  5. Click the Databases tab at the top.
  6. In the Create database field, enter: mrp
  7. Click the Create button.

Windows

  1. If XAMPP is not already running, navigate to C:/xampp, then double–click xampp-control.exe and start the Apache and MySQL services.
  2. Open your browser and go to localhost
  3. On the start page, in the Tools section, click phpMyAdmin.
  4. Click the Databases tab at the top.
  5. In the Create database field, enter: mrp
  6. Click the Create button.

Installing WordPress

We have already downloaded WordPress for you. When working on your own projects, it is always best to download the latest version from WordPress.org. However, for this class, it saves us some time to have already downloaded it for you.

  1. Navigate to the Desktop, go into the Class Files folder, then the WordPress.org Class folder.

  2. Select the WordPress-4.1 folder and hit Cmd–C (Mac) or CTRL–C (Windows).

  3. Go to the htdocs folder:
    • Mac: Hard Drive > Applications > MAMP > htdocs
    • Windows: C: > xampp > htdocs
  4. Hit Cmd–V (Mac) or CTRL–V (Windows) to paste the WordPress-4.1 folder.

  5. Rename the new pasted folder mrp

Creating a Wp-config.php File

  1. Open your favorite browser and go to:
    • Mac: localhost:8888/mrp
    • Windows: localhost/mrp
  2. English (United States) should be selected, so click Continue.

  3. Click the Let’s go! button at the bottom of the page.

  4. Enter the following database information:

    Mac
    Database Name: mrp
    User Name: root
    Password: root
    Database Host: localhost
    Table Prefix: wp_
    Windows
    Database Name: mrp
    User Name: root
    Password: (leave blank for local install)
    Database Host: localhost
    Table Prefix: wp_

    NOTE: Remember that the username and password come from MAMP or XAMPP locally, or from the hosting account remotely.

  5. Click Submit.

  6. Click Run the install.

  7. For Site Title, enter: Monteith Restoration & Performance

  8. For Username, enter: mrpAdmin

  9. For Password, enter and re-enter: student

  10. For Your Email, enter an email address that can be accessed for the remainder of the class. Make sure to double-check the address before submitting the form.

  11. Uncheck Allow search engines to index this site.

  12. Click the Install WordPress button.

  13. Click the Log In button.

  14. For Username, enter: mrpAdmin

  15. For Password, enter: student

  16. Click Log in.

    You’ll be taken to the Dashboard of Monteith Restoration & Performance.