WordPress is one of the most popular, powerful and flexible Content Management System (CMS) that helps you easily create and manage a fully functional website or a blogging site. After installation of the website, all you need is a web browser to manage, maintain and monitor your website. This article explains how you can set up WordPress manually on your web server and locally on your computer.
Recommended reading: WordPress Hosting – How to Choose the Best One
Simply said, is awesome. It powers more than 29% of the internet – which means more than a quarter website on the internet is using WordPress as its Content Management System, which amounts to more than 60 million websites. One of the WordPress e reasons that WordPress is so popular is its ease of use – from installation to getting the site up and managing the content. Not only that you can extend the features of your WordPress website using plugins that are easily and abundantly available online. And since WordPress is an open source software, all the cost that you will have to mark your presence online is for getting a web hosting and for the domain name.
How to Install WordPress?
WordPress is surprisingly easy to set up. And when I say easy, it just takes about five minutes for the installation.
There are many ways by which you can set up a WordPress site. When you are installing WordPress on your server, most hosting providers provide tools that can help you install WordPress in a matter of clicks. Your hosting provider may provide an option to pre-install WordPress on your server.
Also, some hosting providers simple scripts that will help you set up the database, enter the name and description of your website, enter the credentials of the admin and create an admin account, and install WordPress with just one click of a button.
Also Read: Creating Your First Website Using WordPress
There are certain requirements that you must have before you set up WordPress – You are going to need a domain name and a web hosting provider that has the minimum requirements to run WordPress. Then you are good to go.
Most of the web host providers provide you tools that can help you install WordPress with a few clicks and certain others gives you scripts that will set up a database, and you can enter the name of your site and description, create your WordPress account and then install. (change the text)
Installing WordPress Manually
Manual installation of WordPress is also a very simple process just with some added steps. Installing WordPress manually helps you get to know what makes up in the backend of WordPress. Especially if you are learning you can get a better understanding of WordPress. Manually installing WordPress pushes you to create a database, edit the WordPress config file, create an admin account, etc. by yourself.
Manual set up of WordPress needs you to have certain prerequisites.
Recommended reading: How to Create an Image Gallery in WordPress
You will need an FTP client software like FileZilla, which is basically a desktop application using which you can copy and upload your files to your web server. And obviously, you are going to need a working internet connection to be able to transfer files between the FTP client and the server.
Configure your FTP client with the FTP credential provided by your hosting provider. These credentials will be given to you by your hosting provider access your web server. You will also need a text Editor and a web browser of your choice.
Now, installing the WordPress will involve the following.
Step 1 – Download the latest version of the WordPress software package.
Step 2 – Upload WordPress to the web server using FTP.
Step 3 – Create a MySQL database and user for WordPress.
Step 4 – Configure WordPress to connect to the newly created database.
Step 5 – Complete the installation.
These simple steps are all that takes to install WordPress manually. Now, let’s take a look at these steps manually.
Step 1 – Download WordPress Software Package
Go to wordpress.org and download the latest version of WordPress. You will get the WordPress files in the form of a zip file. Next, locate the downloaded WordPress folder extract the contents of the zip file and then extract the contents of the zip folder in a folder preferably on the desktop for the ease of finding and uploading.
Step 2 – Upload WordPress to Server Using FTP
In almost all FTP clients, the interface is similar. The files on the left side of the FTP client window are the files on your computer. The files on the right side of the window are the files on your server.
From the FTP client chose folder with WordPress files. Enter your FTP credentials to connect your computer to the server. Once the connection is established, then upload the files to the root directory of the server.How to Manually Set Up WordPress on Your Web Server and on Your Local Computer
Uploading the WordPress will take some minutes. In the meantime, let’s go to step 3
Step 3 – Set up your database and user for WordPress
WordPress store data in a database and not in files. Even if you are creating a database in a one-click install, you have to create a database along with the process. The database is not created automatically.
So, to create a database let’s head over to your web hosting cPanel to set up your MySQL database.
In the cPanel of your hosting service provider, you will be able to find a database module. Where you can find the MySQL databases. Click on the MySQL logo. You will be able to see a field for creating a database. Enter the name of your database and click Create Database.
Now you need to create a user that has the permission to access and modify the database. For this, on the MySQL database page, you will be able to see a MySQL Users section. Enter the username and password for the user. You can use the password generator to create a strong password, but remember to copy the password because you are going to need it again.
The user that has been created now does not have any access to the database. To give the user created access to the database you have to add the user to the database. To do that, scroll down to a section called ‘Add User to a Database’. Select the username you created for the database and the name of the database and then click add.
Step 4: Connect WordPress to the newly Created Database
WordPress looks for the database details in a file called wp-config. To access this file, head back to the FTP client and on the server side find the file named wp-config-sample. You can rename this file to wp-config. Now, open the file in a text editor. Now, enter the name of the database that you created and the password of the user and save the file.
Step 5: Complete Installation
Open your web browser and enter the URL of your website. WordPress will now ask you to select your language and then give instruction on the additional information needed. Take some time to read them and then click Let’s Go.
Fill in the information required and then click submit. This will connect WordPress to the database and the show you a success message. Then click ‘Run the Install’ button.
Now you need to set up an admin account on your website. For this WordPress will ask you to enter your site name, admin username, password, and primary email address. You can choose to make the site invisible to the search engine by enabling the Search Engine Visibility checkbox. You can check out SEO for WordPress – Beginners’ Guide
After, click the Install WordPress button. This completes the installation of WordPress on your web server. You will be shown a success message with your username. Click on login, enter your username and password to start using your website.
You can always access the admin site with the URL/wp-admin. This will take you to the login screen of the admin.
Install WordPress Locally on Your Computer
WordPress can be installed locally on your computer. When WordPress is installed on your computer only you can see the work you have created. So it is ideal for developers to develop and test WordPress themes, plugins, or websites. Also, to make changes in a WordPress site before making it live for your audience.
Installing WordPress locally can not only be used for learning and testing purposes but also will prove great for learning for those who are learning WordPress plugin or theme development.
WordPress on your computer can also be your personal backup of your work.
Steps to install WordPress on your computer
Step 1 – Install a localhost on your computer
Step 2 – Set up database for your WordPress
Step 3 – Download WordPress
Step 4 – Install WordPress on your localhost
Let’s understand these steps more a little bit more.
Step 1 – Install a Localhost on your Computer
To install WordPress on your computer you are going to need a localhost on your computer. In this article, we will be using WampServer.
WAMP is a localhost server for windows that comes bundled with the technologies Apache, MySQL and PHP. It also has PHPMyAdmin that will help you easily manage your database. Also, It is completely free to install and use.
How to install WAMP?
To install WAMp on your computer, do the following steps
1 – Go to the WampServer website and download the latest version of WAMP
2 – You will have the option to choose from two different version – 32 and 64 bits. Chose from the version that works for your Windows computer. In this example, we will be using 64-bit version
3 – After downloading WAMP, run the execution file to install WAMP on your computer
4 – In the dialog box that opens, choose the language of your preference.
6 – Accept the license agreement and click next
7 – Follow the instructions that follow the installation step by step
8 – At one point you will be asked to choose the destination folder where WampServer is to be installed. By default, it will be installed in C://wamp64. you can change the location if you wish to do so.
9 – Click install and WampServer will start installing now.
10 – After installation, you will be asked if you want to change the default browser on the system from Internet Explorer to the browser of your choice. If you want to change the browser then navigate to the file where the browser of your choice is located.
similarly, you will be asked if you want to change the default text editor from the editor of your choice.
That sums up the steps involved in installing the WampServer on your Windows Computer.
Step 2: Set Up Database for WordPress
Just like when installing on a web server, you will need a database on your local server that WordPress can use. You have phpMyAdmin in WAMP to manage your MySQL databases.
To create a database on your local server first go to the WampServer icon on your Windows taskbar. Click on phpMyAdmin from the menu that appears.
A new browser window will open with phpMyAdmin window. The login screen of phpMyAdmin will ask for your username and password. By default the username is root and you can leave the input area for password empty and then click Go.
On the screen that appears after you log in, click on Databases.
Then name the database with the name of your choice. Then click Create.
This will create a MySQL database for WordPress for you.
Step 3: Installing WordPress Using WAMP
Now that you have your localhost installed and database created, next step would be to install WordPress. Go to wordpress.org from where you can download the latest version of WordPress.
After you have downloaded WordPress, go to the downloads folder where the files will be in a zip folder, so go ahead and extract the file.
The file structure of the WampServer looks like this. Locate the folder named www
Copy the WordPress file in the www folder of WAMP. You can rename the WordPress folder to the name of your choice. Rename the WordPress to the name of your site. Here, I am naming the site testsite. The name of the WordPress folder will the URL of your site. So in this example, the URL of the file will be http://localhost/testsite/.
Now after the installation is complete head over to your web browser and then enter the URL of your website, in this case, http://localhost/example/. This will open your local WordPress website on your web browser. You will be now asked to select the language of your preference.
Now, you need to set up your database.
The database set up will start automatically. In the next screen, you will be provided with some information regarding setting up the database. Take a moment to read the information about setting up the database. After that, click Let’s Go.
In the next screen, you would need to enter the name of the database that you created for WordPress in the previous step. The default username is root and you can leave the password input area as blank. After this click submit.
This will connect WordPress to the database that you created for WordPress. You will get a success message after WordPress has connected successfully with the database.
All that’s left do is to click the Run the Installation button.
After this, there is a little bit more information needed for WordPress to set up your admin site. You would need to provide the name of your website, admin username, password, and your email.
Now click on Install WordPress.
After successful installation, you will get a success message.
So now you have a fully functional WordPress site for you on your local computer which only you will be able to see, and that you can play around with. So now you can log in to the WordPress dashboard using your admin username and password from your local server like you would on a web server.
After logging in, you will be taken to the WordPress dashboard.
Now you can use WordPress on your local computer for developing a website, plugins or themes that will not be online and only you will see. You can also use the WordPress locally to test your website so that your people who use your website are not affected by any issues that you might have otherwise missed. And finally, when your website is all set, you can deploy your website from your local server to the web server and go live.
So that’s all about how you can install WordPress manually both on the web server and on your local computer using a localhost. WordPress is a great platform whether to create a website for your business, to create a blog