Friday, September 22, 2017

How to install wordpress in CentOS

It's an very easy
need fresh updated centos with apache php mysql enabled for that you can refer my link

#wget http://wordpress.org/latest.tar.gz
#tar -xzvf latest.tar.gz

#cp wordpress /var/www/html/

now we need to make a db for wordpress

#mysql -u root -p
mysql>CREATE DATABASE wordpress;

mysql>quit

#ls
wordpress

//make this as writable and full permission

#chmod -R 777 wordpress

that's it now open your browser

http://localhost/wordpress

fill in the required fields


like

dbname wordpress
username root
password rootpassword
database localhost
table prefix wp_

give submit and install then you will get your complete site

http://localhost/wordpress

for admin panel http://localhost/wordpress/wp-admin

No comments:

Post a Comment