When I came to know about WordPress I thought it is easier to download and install Worpdress on the server. I thought it is as easy as installing any general software on the PC. But when I tried it, I was bit confused. I learned several tutorials on the web but I was satisfied with none of them. I found the tutorial given on official WordPress codex is most appropriate. But it lacks images and it is somehow difficult to understand in the first glance.
WordPress installation is not a very difficult process but it require some technical skills. You should know about computer work, Cpanel, My SQL, database terms. It also requires transfer files through FTP clients. If you think it is still difficult to install wordpress then lets make it easy by step by step tutorial which elaborate all the steps with the help of images side by side.
Step 1) Install WordPress
Go to WordPress.org (WordPress official site) and Download the famous WordPress software. Current version is WordPress 2.8.6, click on the button and WordPress will download on your PC.
A zip file will download on your PC. You can extract the file on your desktop. It contains a folder named WordPress. If you see the folder there are many files.
Step 2 : Create a database and user
I am using hostgator which comes with an inbuilt Cpanel. Login to your Cpanel account. Inside cpanel click on MySQL database:
1) Chose a username for WordPress and enter it in the UserName field.
- 2) Choose a difficult-to-guess password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and enter it in the Password field.
- 3) Write down the username and password you chose in a notepad or plane paper.
- 4) Click on Create User.
1) Click on Jump to MySQL Database .
2) Create New Database (Named it WordPress).
3) Under Databases, select your WordPress username from the User dropdown(if there are more than one users), then select your WordPress database from the Db dropdown(if there are more than one databases). Make sure All is checked under Privileges, then click Make Changes.
Step 3: Set up wp-config.php
Now return to your WordPress2.8.6 download file. If you don’t extract it on your desktop, extract it now. If you already extract it on your desktop then look at the files inside the WordPress folder. You will find a file named wp-config-sample.php. You need to open this file and edit some lines inside it. You can open the file in any text editor. You can use Dreamweaver or simple notepad to edit some lines.
1) First of all rename the file from wp-config-sample.php to wp-config.php.
2) Open the file in your favorite text editor.
After editing, your new database looks like the image given below:
Here my DB_NAME is “wordpress”
DB_USER is “username”
DB_PASSWORD is “password”
Warning: Don’t select so easy to guess username and password, here I am taking easy username and password just for illustration.
STEP 4: Upload the file
This is a process in which you need to upload the WordPress files which you extract on the desktop (inside the WordPress folder) to the server. You can do this with the help of your favorite FTP client. I use Filezilla to transfer my files to server.
Enter your web server IP address in hostname, your Username and password and click on Quickconnect button to connect Filezilla to the server.
Now you will see the folder with / symbol. Click on the + sign and you will see the folder public_html folder. Click on Click on public_html folder. This is the folder where have to upload the WordPress folder (which you downloaded and extracted on your PC).
Now you have to upload the WordPress files. Before uploading you need to decide that in which location your website or blog will appear.
1) In the root directory of your web site. (For example, http://example.com/)
- 2) In a subdirectory of your web site. (For example, http://example.com/blog/)
If you want your blog to appear on http://example.com
Upload all the contents of the wordpress folder (but not the directory itself) into the root directory of your web site.
If you want your blog to appear on http://example.com/blog
Upload the directory to your desired location within the root directory of your web site. Before uploading you can rename the WordPress folder as “blog”. Or you can rename the folder after uploading the folder.
Step 5: Run The install script
1) Open your web browser. Either Chrome or Firefox.
2) Now in the address field type http://example.com/wp-admin/install.php . In place of example.com, put the name of your site on which you are installing WordPress.
Note : If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php. Click on Run the Install Button.
Enter the title of your blog and email address. Also check the option “Allow my blog to appear in search engines like Google and Technorati.”
After installation of Wordspress you will get your username and password which you can change later.
All done. Now enjoy with the latest WordPress.
You can enter inside your WordPress dashboard by entering http://example.com/wp-admin.
Do you find this tutorial useful. If you face any problem regarding installation you can discuss it in comment section. Also you can take benefit with our Services.