Web development

How to Install WordPress: Step by Step Complete Guide for Beginner

how to install wodpress

How to Install WordPress: WordPress is well known for its ease of installation. In most cases, installing WordPress is a very simple process that takes less than five minutes to complete. Many web servers now offer tools (for example, Fantastico) to install WordPress automatically. However, if you want to install WordPress yourself, the following guide will help you. Now with the automatic update, the update is even easier.

The following installation guide will help you, whether you choose the famous 5-minute installation, or require a more detailed installation guide.

Things you should know before installing WordPress:

Before starting the installation, there are some things you should have and do.

These are:

  • Access to your web server (via FTP or shell)
  • Possibility of creating MySQL databases
  • A text editor
  • An FTP client
  • Your web browser of choice

Things you must do to install WordPress:

Begin your installation by:

  1. Checking to ensure that you and your web server have the minimum requirements to run WordPress.
  2. Downloading the most current version of WordPress.
  3. Unzip the downloaded file to a folder on your hard drive.
  4. Create a secure password for your secret key
  5. Keep this web page open to have it on hand during installation.

Famous 5 minute installation:

Here is the quick version of the instructions for those who are already comfortable with the realization of such facilities. They follow more detailed instructions.

If you do not feel comfortable with renaming the files, step 3 is optional and you can skip it since the installation program will create the wp-config.php file for you.

  1. Download and unzip the WordPress package if you have not already done so.
  2. Create a database for WordPress on your web server, as well as a MySQL user (or MariaDB) that has all the privileges to access and modify it.
  3. (Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add the information from your database.
  4. Upload the WordPress files to the desired location on your web server:

Detailed Instructions Install WordPress:

Step 1: Download and Extract:

Download and unzip the WordPress package from https://wordpress.org/download/.

  • If you are uploading WordPress to a remote web server, download the WordPress package to your computer with a web browser and unpack the package.
  • If you are going to use FTP, skip Step 2 and go to the next step: uploading files is discussed later.
  • If you have shell access to your web server and feel comfortable using console-based tools, you can download WordPress directly to your web server using wget (or lynx or other console-based web browser) if you want to avoid FTPing:
    wget https://wordpress.org/latest.tar.gz
  • Then decompress the package using:
    tar -xzvf latest.tar.gz

The WordPress package will be extracted in a folder called wordpress in the same directory that downloaded latest.tar.gz.

Step 2: Create the Database and a User:

If you are using a hosting provider, you may already have a WordPress database configured, or there may be an automatic configuration solution to do so. Check the support pages of your hosting provider or your control panel for clues as to whether or not to create one manually.

If you determine that you must create one manually, follow the instructions to access phpMyAdmin on multiple servers, or follow the instructions for Using Plesk, Using cPanel or Using phpMyAdmin below.

If you are installing WordPress on your own web server, follow the instructions in Using phpMyAdmin or Using the MySQL client below to create your WordPress username and database.

If you only have one database and it is already in use, you can install WordPress on it; just make sure you have a distinctive prefix for your tables to avoid overwriting any existing database table.

Using Plesk:

Note: Plesk recommends that all users install and manage WordPress using the WordPress Toolkit. However, if you want to install WordPress manually, follow these steps to create a database:

  1. Log in to Plesk
  2. In the upper right corner of the screen, click Databases.
  3. Click at add database button
  4. Choose and type new database name
  5. Choose and type the database user name and password both then click ok button.

Once the database is created, click Connection Information to view the information you will need to connect to the database (host name and port of the database server, database name, and user name) of the database).

install wordpress

Using cPanel:

If your hosting provider supplies the cPanel hosting control panel, you can follow these simple instructions to create your WordPress username and database. You can find a more complete set of instructions for using cPanel to create the database and the user in Use of cPanel.

  1. Log in to your cPanel.
  2. Click on the MySQL database wizard icon in the Databases section.
  3. In step 1. Create a database enter the name of the database and click Next step.
  4. In step 2. Create database users enter the user name of the database and password. Make sure you use a secure password. Click Create user.
  5. In step 3. Add user to the database, click the All privileges check box and click Next step.
  6. In step 4. Complete the task note, the name of the database and the user. Enter the values ​​of hostname, username, databasename, and the password you chose. (Note that the host name will usually be localhost).

Using phpMyAdmin:

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

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

If a database related to WordPress does not yet exist in the drop-down menu of the Database on the left, create one:
Choose a name for your WordPress database: ‘wordpress’ or ‘blog’ are good, but most hosting services (especially shared hosting) will require a name that starts with your username and a low script, therefore, even if you work on your own computer, we advise you to verify the requirements of your hosting service so that you can follow them on your own server and be able to transfer your database without modifications. Enter the name of the chosen database in the Create database field and choose the best collation for your language and coding. In most cases, it is better to choose in the “utf8_” series and, if you can not find your language, choose “utf8mb4_general_ci” (Reference: [1]).

install wordpress

Click on the phpMyAdmin icon in the upper left corner to return to the main page, then click on the Users tab. If a user related to WordPress does not yet exist in the user list, create one:

install wodpress

  1. Click on Add User.
  2. Choose a username for WordPress (‘wordpress’ is good) and enter it in the Username field. (Be sure to use the text field: it is selected from the drop-down menu).
  3. Choose a secure password (ideally containing a combination of uppercase and lowercase letters, numbers and symbols) and enter it in the Password field. (Be sure to Use text field: it is selected from the drop-down menu). Re-enter the password in the Repeat field.
  4. Enter the username and password you chose.
  5. Leave all options under global privileges at their default values.
  6. Click on Go
  7. Return to the Users screen and click on the Edit Privileges icon on the user you just created for WordPress.
  8. In the database’s specific privileges section, select the database that you just created for WordPress under Add privileges to the following database drop-down menu, and click Go.
  9. The page will be updated with privileges for that database. Click Check All to select all privileges and click Go.
  10. On the resulting page, write down the host name listed after Server: at the top of the page. (This will generally be localhost).

Step 3: Set up wp-config.php

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

(For more detailed information and step-by-step instructions for creating the configuration file and its secret key for password security, see Editing wp-config.php).

Go back to where you extracted the WordPress package in Step 1, change the name of the wp-config-sample.php file to wp-config.php and open it in a text editor.

Step 4: Upload the files:

Now you must decide where in your domain you want your site to appear with WordPress:

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 file system of your web server will vary according to hosting providers and operating systems. Check with your hosting provider or system administrator if you do not know where it is.

Step 5: Run the Install Script:

Point to 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 place the WordPress files in a subdirectory called a blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

Setup configuration file:

If WordPress can not find the wp-config.php file, it will indicate it and offer to try to create and edit the file. (You can also do it directly by loading wp-admin / setup-config.php in your web browser). WordPress will ask you the details of the database and write them in a new wp-config.php file. If this works, you can continue with the installation; otherwise, go back and create, edit and upload the wp-config.php file yourself (step 3).

how to install wodpress

Finishing installation:

The following screenshots show how the installation progresses. Please note that when entering the details screen, enter the title of your site, your desired username, your choice of a password (twice) and your email address. A check box is also displayed asking if you want your blog to appear in search engines such as Google and Technorati. Leave the box unchecked if you want your blog to be visible to everyone, including search engines, and check the box if you want to block search engines, but allow normal visits. Note that all this information can be changed later in the Administration Screens.

wodpress installation

Note: You should not use “admin” as a user id as shown above!

If you successfully install the WordPress, login prompt will be displayed.

Review Date
Reviewed Item
How to Install WordPress
Author Rating