Setting Up a WordPress Site

WordPress Tutorial

Learn how to utilize WordPress as a full content management system and create a fully editable site in this tutorial. The tutorial covers specifics such as setting up a database, installing WordPress and creating a wp-config.php file.

Key Insights

  • The tutorial outlines using WordPress as a full-fledged Content Management System (CMS) to create a dynamic site with pages and a blog.
  • It details the steps to set up a new database using phpMyAdmin, whether you're using a Mac or Windows system.
  • The tutorial provides instructions for installing WordPress, highlighting the importance of always downloading the latest version from wordpress.org for personal projects.
  • It also guides the reader through creating a wp-config.php file, a crucial step in setting up a new WordPress site.
  • The process of entering database information and running the install is covered in depth, including specific user names, passwords, and database hosts for both Mac and Windows systems.
  • Finally, the tutorial provides instructions for logging in to the newly created WordPress site and navigating to its dashboard.

This exercise is excerpted from Noble Desktop’s past WordPress training materials and is compatible with WordPress updates through 2020. To learn current skills in WordPress, check out our WordPress Bootcamp and coding bootcamps in NYC and live online.

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.

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.

Web Design Certificate: Live & Hands-on, In NYC or Online, 0% Financing, 1-on-1 Mentoring, Free Retake, Job Prep. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.
  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.

Learn more in these courses

How to Learn WordPress

Master WordPress with hands-on training. WordPress is a content management system (CMS) commonly used to build websites and blogs.

Yelp Facebook LinkedIn YouTube Twitter Instagram