1) Downloaded wordpress application
from website.
2) Extracted the file and copied it to
the location /home/www/www/
3) Created database named "wordpress"
>create database wordpress;
Granted permission to the database
for the user root.
>GRANT ALL PRIVILEGES ON
wordpress.* TO "wordpressuser"@"localhost"
IDENTIFIED BY "redhat";
Flushed privilege
>flush privileges;
4) Changed permission of the wordpress
file on that location
chown -R www:www /home/www/www/*
5) Rename the file
wp-config-sample.php to wp-config.php
6) Edit the wp-config.php
/** The name of the database for
WordPress */
define('DB_NAME',
'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD',
'redhat');
/** MySQL hostname */
define('DB_HOST', 'localhost');
7)chmod 705 wordpress
8)Restart apache and open browser.
Entered the link in the addressbar in
browser http://test007.server.com/wordpress and started installation,follow the steps and
installation would be complete.
No comments:
Post a Comment