又新买了个服务器,先试试手,立马安装个lnmp
第一步:
yum install screen
第二步:
wget -c http://soft.vpser.net/lnmp/lnmp1.3-full.tar.gz && tar zxf lnmp1.3-full.tar.gz && cd lnmp1.3-full && ./install.sh lnmp
输入各种配置之后静静等待。。。
上来都给我报个错,醉了
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=
解决办法:
yum -y install pcre-devel openssl openssl-devel