Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CentOS 6.5.
- # yum install nginx mysql mysql-server php php-fpm php-common php-mysql php-gd php-xml php-mbstring php-mcrypt
- # service nginx start
- # service mysqld start
- # service php-fpm start
- # cd /opt
- # wget https://wordpress.org/latest.tar.gz
- # tar -xvzf latest.tar.gz -C /usr/share/nginx/html/
- # chown -R nginx:nginx /usr/share/nginx/html/wordpress
- # chmod -R 755 /usr/share/nginx/html/wordpress
- # mysql -u root -p
- # vi /etc/nginx/conf.d/blog.techoism.conf
- # service nginx restart
- # cd /usr/share/nginx/html/wordpress
- # cp wp-config-sample.php wp-config.php
- # chmod 777 wp-config.php
- # chown nginx:nginx wp-config.php
- # vi wp-config.php
- Sau đó tiến hành cài đặt wordpress bình thường.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement