Friday, September 3, 2010

HOw to install WordPress(Centos):

HOw to install  WordPress :

Before installing wordpress you have to install httpd,php and mysql..

# yum -y install httpd*  php*  mysql-server
# chkconfig httpd on
# chkconfig mysqld on
# /etc/init.d/mysqld start
# /etc/init.d/httpd start

Create wordpress database:

# mysql -u root -p
mysql> CREATE DATABASE Databasename;
(eg: CREATE DATABASE wordpressdb;)
mysql> show databases;
mysql> exit

Download and configure wordpress:

cd wordpress
cp -a * /var/www/html
cd /var/www/html
mv wp-config-sample.php wp-config.php

# vi wp-config.php

--edit in this line--

define('DB_NAME', 'wordpressdb');
define('DB_USER', 'root');
define('DB_PASSWORD', 'mysqlrootpass');

Server configuraion is completed.. now you have to do the online confiuration..

http://{ip or hostname}/wp-admin/install.php

Enjoy....... :)


Motorcycle Helmets said...

Here is another article on how to intsall wordpress.

Anonymous said...

Express gratitude thank you so much for this information

php web development

Post a Comment