这是一个最最最最简单的
下载nginx
yum install nginx
80端口需要开启(服务器开启80端口且不能被其它占用)
netstat -nplt
启动
nginx
重启nginx
service nginx restart
cd usr/share/nginx/html 把index.html换了即可
这是一个最最最最简单的
下载nginx
yum install nginx
80端口需要开启(服务器开启80端口且不能被其它占用)
netstat -nplt
启动
nginx
重启nginx
service nginx restart
cd usr/share/nginx/html 把index.html换了即可