Part. 2 (Final)
Configuring a WordPress blog on your linux server(CentOS, Fedora, any RHEL) is a two step process. First is installing a MySQL server for back end database and second is installing and configuring wordpress. if you not yet installed a MySQL database server on your machine?, then read my two articles about installing and configuring a MySQL database.
1. Install MySQL database on CentOS/Fedora/RHEL(ignore if done)
2. Setup and configure MySQL database. (ignore if done)
The third Step?
After completing the above two steps, the third step is
3. Installing WordPress packages from EPEL yum repository (Ignore this step/link if you already installed the Wordpress packages from EPEL yum repository.)
Login into MySQL
[root@server ~]# mysql -u root -p
Password
Create MySQL database for Wordpress
mysql> create database wordpress;
Query OK, 1 row affected (0.18 sec)
Setting a password for WordPress (Note: Password is yourpassword)
mysql> grant all privileges on wordpress.* to wordpress@'localhost' identified by 'yourpassword';
Query OK, 1 row affected (0.04 sec)
Flush Privileges
mysql> flush privileges;
Query OK, 1 row affected (0.00 sec)
Exit MySQL
mysql> exit
Bye
Configure Wordpress with MySQL Database (wp-config.php)
Edit Wordpress configuration file located in /etc/wordpress/wp-config.php. Taking a backup of wp-config.php file is recommended.
[root@server ~]# vi /etc/wordpress/wp-config.php
modify the lines 19, 22 and 25 only.
Modify the 19th line as below
define('DB_NAME', 'wordpress');
Modify the 19th line as below
define('DB_USER', 'wordpress');
Modify the 19th line as below
define('DB_PASSWORD', 'yourpassword');
Now save the wp-config.php file.
Start httpd service (Apache)
[root@server ~]# service httpd start
Add httpd (Apache) service to Linux Start-up
[root@server ~]# chkconfig httpd on
Congratulations..!! 99 percent is completed, your WordPress blogging platform is ready to use.. Access the Wordpress dashboard to complete the final step by accessing this way: http://<ipaddress>/wordpress/
eg: http://192.168.10.50/wordpress/ And fill the required informations(see and fillow screenshots below, you can click on each screenshots below to enlarge).
Set a Blog name, and a user account, password to login and administering blogs. Set your official email address also. You can set your Wordpress blogs as search engine friendly and helps to crawl your blog by search engines like Google, Yahoo, Bing, etc. (Applicable only when your blogs are accessible from web.)
click on screenshots to enlarge |
Success..!! ? Now click "Log in" button
click on screenshots to enlarge |
Now all configurations are 100% completed. Go to http://ip address/wordpress/wp-login.php and login to Admin pannel (Wordpress Dashboard) to post new stories, articles, images, videos, Blog designing, SEO, and many more.
click on screenshots to enlarge |
While your blog is alive at http://ipaddress/wordpress/
click on screenshots to enlarge |
Post your valuable comments and feedbacks....:-)
1 comments:
I was just about to give up on my website for now and try something "simpler WordPress Tutorial " but you just saved the day!! 💜 Definitely subbed and can't wait to watch more!!
Post a Comment