So you have made the decision to install WordPress in your web server? Congratulation, it is a well-thought decision. There are two ways of installing WordPress. One is to use automatic installer like Fantastico, Installtron or Softaculous or you can install it yourself. In this post, we will guide you through the manual process. You will need the following 3 things during the process –
- Log in details of your website’s control panel,
- FTP log in details of your website and
- FTP software like FileZilla, FileHost etc.
Introducing FTP Client
As we will connect our computer directly to the server, we will need some sort of file transfer client. FTP software’s are specialized tools for this type of job. It allows you to cut, copy, move and delete files on your web server. After installing an FTP client, you have to provide the FTP credentials of your website and connect to your web server. If you save the details under a new website, then you won’t have to enter the details again the next time.
Once you have set up your FTP client, you will need a fresh copy of WordPress, which could be downloaded for free from www.wordpress.org. The downloaded file will be a compressed file, so you will need to decompress the file in a new folder in your computer.
Next, you will have to create a new database for WordPress. To do this, log in to the control panel of your web server, which is most likely CPanel or DirectAdmin. Go to the MySQL wizard or database section of your website and create a new database, name it whatever you like. Assign a user to the database with a username and a strong password. Take note of the database name, the username and the password; you will need them very soon. Allow the user full privilege to the database if your control panel needs so.
Uploading WordPress Files
Now it’s time to get back to FileZilla and connect to your web server. After establishing a successful connection, you will see a list of files under two different tabs named as ‘Local site’ and ‘Remote site.’ Local site displays the files on your computer and the remote site displays the files on your server. Navigate to the directory of your computer in which you save the decompressed WordPress files.
In the remote site, you need to go to the ‘www’ or ‘public_html’ folder, whichever applies to you. Open both directories in the local and remote site windows. Select all the files in the wordpress folder of your computer and drag all of them to the remote site window. They will be automatically copied into your web server. You can see the progress of the process in the bottom part of the client software. Make sure that there are no files in the ‘Failed transfers’ tab. Depending on your connection speed, the upload process could take a few minutes to an hour or more depending on your upload speed. Once all the files are copied into your server, you are now actually ready to install WordPress. Let’s do it.
Setting up WordPress
Open up your domain name in a new browser window and click the ‘Create a Configuration File’ button, it will create the configuration file for you. In the next screen, you will be notified that you need some items for installing WordPress, don’t worry, we have them covered. Click the ‘Let’s Go’ button and another screen will appear. In this screen, you have to provide the name of the database you created for WordPress and the user name and password for the database. If you followed the instructions above, you have a note containing these details.
There are two other things you have to provide, the database host name and the table prefix. In the database host name, ‘Localhost’ will do for most of you and guess what, it is written already. But in the table prefix box, you shouldn’t go for the default ‘wp’ name. It is well-known to everybody, including possible hackers and intruders. Therefore, you should change it to something else. Do remember to put an underscore after the name, with no space between them. As an example, you can use something like wp_y0rsite3name_
Before hitting ‘Run the install’, check the whole form once again and make sure that everything is in order.
If you provide everything accordingly, you will see a welcome message from WordPress in the next screen. This confirms that you have started the installation process. You have to provide some more details about your website in this page. Provide a strong password and re-check the email address you provide. After filling up all the fields, click ‘Install WordPress.’ If you see the success message in the next screen, then you have done it. Log in with the user name and password you provided during the installation process. If everything is okay, you will be taken to the dashboard of your new website. That was it. You have successfully installed WordPress on your web server.