First for using wordpress fedora we need to install apache(httpd)server,mysqld,php
yum install httpd
yum install mysql mysql-server
yum install php phpmyadmin
check the status of httpd and mysql
service httpd status
service mysql status
add both to startup
chkconfig httpd on
chkconfig mysql on
if needed restart stop and start the both services
service httpd restart
service mysql restart
any problem with httpd use -t to get the reason
httpd -t
type in the browser localhost to get fedora defaul page
go to /etc/httpd/conf.d/welcome.conf and comment all the lines
now downlaod the wordpress form there site
cd /tmp
wget http://wordpress.org/latest.tar.gz
now decompress the fileto /var/www/html/
tar -xvzf latest.tar.gz -C /var/www/html
change the privilage of the folder by
chmod -R 777 /var/www/html/
now we need to create database
mysql
create user user_name identified by password
create database database_name;
grand all on database_name to user_name;
flush privilages;
exit;
now go to borwser and type localhost/wordpress to get the configuration file of the wordpress
database: database_name
username:user_name
password:password
host:localhost:
and click next
to finish installing giving mail id username and password
if the config file is not made open the file /var/www/html/wordpress/wp-config-sample.php and make the need changed u will get the code to replace for the config not created page and save the page as wp-config.php
No comments:
Post a Comment