下載wordpress所需檔案並給予權限
curl https://tw.wordpress.org/latest-zh_TW.tar.gz --output wordpress.tar.gz
tar xf wordpress.tar.gz
cp -r wordpress /var/www/html
chown -R apache:apache /var/www/html/wordpress
chcon -t httpd_sys_rw_content_t /var/www/html/wordpress -R
http://網址/wordpress/
沒有留言:
張貼留言