How to Install WordPress: A Beginner’s Guide

Wondering how to install WordPress? You’re in the right place! There are actually several ways to install the WordPress web publishing software. In this easy tutorial, you’ll learn three ways to install WordPress on your web server or on your own computer.

WordPress is a free, open-source software that is known to be versatile and effortless to install. If you’re here to know how to install WordPress, keep reading. However, this guide is for installing WordPress on a shared hosting and local machine (Windows and Mac). To Install WordPress on VPS, refer to below mentioned pointers.

To install the WordPress CMS you will need to download WordPress from the below link.

Step 1.

Download and unzip the WordPress package
  • If you will be uploading WordPress to a remote web server, download the WordPress package to your computer with a web browser and unzip the package.
  • If you will be using FTP, skip to the next step – uploading files is covered later.
  • If you have shell access to your web server, and are comfortable using console-based tools, you may wish to download WordPress directly to your web server using wget (or lynx or another console-based web browser) if you want to avoid FTPing:
    • wget https://wordpress.org/latest.tar.gz
    • Then unzip the package using:
      tar -xzvf latest.tar.gz The WordPress package will extract into a folder called wordpress in the same directory that you downloadedlatest.tar.gz.

Step 2.

Create the Database and a User #

If you are using a hosting provider, you may already have a WordPress database set up for you, or there may be an automated setup solution to do so. Check your hosting provider’s support pages or your control panel for clues about whether or not you’ll need to create one manually.

If you determine that you’ll need to create one manually, follow the instructions for Using phpMyAdmin below to create your WordPress username and database. For other tools such as Plesk, cPanel and Using the MySQL Client, refer the article Creating Database for WordPress.

If you have only one database and it is already in use, you can install WordPress in it – just make sure to have a distinctive prefix for your tables to avoid over-writing any existing database tables.

#Using phpMyAdmin

If your web server has phpMyAdmin installed, you may follow these instructions to create your WordPress username and database. If you work on your own computer, on most Linux distributions you can install PhpMyAdmin automatically.

Note: These instructions are written for phpMyAdmin 4.4; the phpMyAdmin user interface can vary slightly between versions.

  1. If a database relating to WordPress does not already exist in the Database dropdown on the left, create one:
    1. Choose a name for your WordPress database: ‘wordpress‘ or ‘blog‘ are good, but most hosting services (especially shared hosting) will require a name beginning with your username and an underscore, so, even if you work on your own computer, we advise that you check your hosting service requirements so that you can follow them on your own server and be able to transfer your database without modification. Enter the chosen database name in the Create database field and choose the best collation for your language and encoding. In most cases it’s better to choose in the “utf8_” series and, if you don’t find your language, to choose “utf8mb4_general_ci” (Refer this article).
  2. Click the phpMyAdmin icon in the upper left to return to the main page, then click the Users tab. If a user relating to WordPress does not already exist in the list of users, create one: 

Step 3: Set up wp-config.php

You can either create and edit the wp-config.php file yourself, or you can skip this step and let WordPress try to do this itself when you run the installation script (step 5). (you’ll still need to tell WordPress your database information).

(For more extensive details, and step by step instructions for creating the configuration file and your secret key for password security, please see Editing wp-config.php.)

Return to where you extracted the WordPress package in Step 1, rename the file wp-config-sample.php to wp-config.php, and open it in a text editor.

#Step 4: Upload the files

Now you will need to decide where on your domain you’d like your WordPress-powered site to appear:

  • In the root directory of your website. (For example, http://example.com/)
  • In a subdirectory of your website. (For example, http://example.com/blog/)

Note: The location of your root web directory in the filesystem on your web server will vary across hosting providers and operating systems. Check with your hosting provider or system administrator if you do not know where this is.

#Step 5: Run the Install Script

Point a web browser to start the installation script.

  • If you placed the WordPress files in the root directory, you should visit: http://example.com/wp-admin/install.php
  • If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

Run the WordPress Installation

You have successfully completed the primary steps and now you need to press the final button. After this step, you can set up one of the best WordPress blog themes and make your site live on the web.

The last job is to execute the installation script from the installation page. You can find the script using either of the below URLs:

The last job is to execute the installation script from the installation page.

Replace yourdomain.com in the above link by your actual domain link. After this you will be followed by the page saying “Welcome to the famous five minute WordPress installation process!” and you are done.

26 thoughts on “How to Install WordPress: A Beginner’s Guide”

  1. Asking questions are truly fastidious thing if you are not understanding anything entirely, however this post offers good understanding even. Babb Keven Rory

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: