Showing posts with label Wordpress. Show all posts
Showing posts with label Wordpress. Show all posts

Setup and Configure Wordpress 3.4.1 on CentOS6/5, Fedora17/16/15/RHEL (Part 2)


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....:-)

Install And Setup Wordpress 3.4.1 on CentOS6/5, Fedora/17/16/15 (Part 1)


WordPress is a free and open source blogging and website application works with MySQL database and PHP. Now WordPress is one of the widely used website/blogging platform that features a wide range of plugins and template support, themes, widgets, multi-users and many more.

This article is a step by step guide to install and configure a WordPress blog/website on your Linux platform. I used CentOS 6 version to test this configurations with Wordpress version 3.4.1. And this configuration will word on CentOS6/5 versions and Fedora17/16/15/14 versions. A MySQL database (server) is required to perform back end database operations. Read my articles about installing MySQL Server and configuring MySQL server on CentOS linux.
You need to add EPEL repository to your Linux server to install wordpress packages from EPEL repository. Read my article about setting up EPEL repository in CentOS Linux.

Install Wordpress packages from EPEL repository
[root@server ~]# yum --enablerepo=epel install wordpress
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: centos.01link.hk
 * extras: centos.01link.hk
 * updates: centos.aol.in
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wordpress.noarch 0:3.4.1-1.el6 set to be updated
--> Processing Dependency: php >= 5.2.4 for package: wordpress-3.4.1-1.el6.noarc                                h
--> Processing Dependency: php-simplepie for package: wordpress-3.4.1-1.el6.noar                                ch
--> Processing Dependency: php-mysql for package: wordpress-3.4.1-1.el6.noarch
--> Processing Dependency: php-gettext for package: wordpress-3.4.1-1.el6.noarch
--> Running transaction check
---> Package php.x86_64 0:5.3.3-14.el6_3 set to be updated
--> Processing Dependency: php-cli = 5.3.3-14.el6_3 for package: php-5.3.3-14.el                                6_3.x86_64
---> Package php-common.x86_64 0:5.3.3-14.el6_3 set to be updated
---> Package php-mysql.x86_64 0:5.3.3-14.el6_3 set to be updated
--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-14.el6_3.x86_64
---> Package php-simplepie.noarch 0:1.1.3-4.el6 set to be updated
--> Processing Dependency: php-IDNA_Convert for package: php-simplepie-1.1.3-4.e                                l6.noarch
--> Running transaction check
---> Package php-IDNA_Convert.noarch 0:0.7.0-1.el6 set to be updated
---> Package php-cli.x86_64 0:5.3.3-14.el6_3 set to be updated
---> Package php-pdo.x86_64 0:5.3.3-14.el6_3 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================
 Package                Arch         Version                Repository     Size
====================================================
Installing:
 wordpress              noarch       3.4.1-1.el6            epel          4.1 M
Installing for dependencies:
 php                    x86_64       5.3.3-14.el6_3         updates       1.1 M
 php-IDNA_Convert       noarch       0.7.0-1.el6            epel           34 k
 php-cli                x86_64       5.3.3-14.el6_3         updates       2.2 M
 php-common             x86_64       5.3.3-14.el6_3         updates       523 k
 php-mysql              x86_64       5.3.3-14.el6_3         updates        79 k
 php-pdo                x86_64       5.3.3-14.el6_3         updates        73 k
 php-simplepie          noarch       1.1.3-4.el6            epel          317 k

Transaction Summary
=====================================================
Install       8 Package(s)
Upgrade       0 Package(s)

Total download size: 8.4 M
Installed size: 25 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): php-5.3.3-14.el6_3.x86_64.rpm                     | 1.1 MB     00:23
(2/8): php-IDNA_Convert-0.7.0-1.el6.noarch.rpm           |  34 kB     00:01
(3/8): php-cli-5.3.3-14.el6_3.x86_64.rpm                 | 2.2 MB     00:27
(4/8): php-common-5.3.3-14.el6_3.x86_64.rpm              | 523 kB     00:04
(5/8): php-mysql-5.3.3-14.el6_3.x86_64.rpm               |  79 kB     00:00
(6/8): php-pdo-5.3.3-14.el6_3.x86_64.rpm                                                 |  73 kB     00:00
(7/8): php-simplepie-1.1.3-4.el6.noarch.rpm                                              | 317 kB     00:09
(8/8): wordpress-3.4.1-1.el6.noarch.rpm                                                  | 4.1 MB     00:25
----------------------------------------------------------------------------------------
Total
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : php-common-5.3.3-14.el6_3.x86_64
  Installing     : php-cli-5.3.3-14.el6_3.x86_64
  Installing     : php-5.3.3-14.el6_3.x86_64
  Installing     : php-pdo-5.3.3-14.el6_3.x86_64
  Installing     : php-mysql-5.3.3-14.el6_3.x86_64
  Installing     : php-IDNA_Convert-0.7.0-1.el6.noarch
  Installing     : php-simplepie-1.1.3-4.el6.noarch
  Installing     : wordpress-3.4.1-1.el6.noarch

Installed:
  wordpress.noarch 0:3.4.1-1.el6

Dependency Installed:
  php.x86_64 0:5.3.3-14.el6_3          php-IDNA_Convert.noarch 0:0.7.0-1.el6   p
  php-common.x86_64 0:5.3.3-14.el6_3   php-mysql.x86_64 0:5.3.3-14.el6_3       p
  php-simplepie.noarch 0:1.1.3-4.el6

Complete!

Continue your Configurations
Now continue Setting up your Wordpress blog, Read my next article about Configure Wordpress Blogging platform.

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons