wordpress的安装与使用
作者:
伤了谁疼111 | 来源:发表于
2018-12-15 16:00 被阅读0次
一、配置nginx环境
1.安装wget
#yum -y install wget
#mkdir /nginx
#cd /nginx
#wget http://nginx.org/download/nginx-1.11.6.tar.gz
#tar -zxvf nginx-1.11.6.tar.gz
#cd nginx-1.11.6
#yum -y install openssl openssl-devel
#yum install gcc-c++ -y
#./configure
#make &&make install
#cd /usr/local/nginx/sbin
#./nginx
如果出现如下错误,修改nginx.conf的端口号为7788
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
#cd ..
#cd conf
vi nginx.conf

image.png
#cd ..
#cd sbin
#./nginx
本文标题:wordpress的安装与使用
本文链接:https://www.haomeiwen.com/subject/lbeahqtx.html
网友评论