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.
0 comments:
Post a Comment