中间件_nginx

虚拟机—右键管理—克隆_克隆出3台干净的机器_新建虚拟机(linux-centos\CentOS-6.5-i386-bin-DVD1.iso)32位操作系统

yum  -y  install  wget

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo  更新下载yum源

yum  -y  install  nginx

启动nginx     service nginx start

修改文件位置     vi  /etc/nginx/conf.d/default.conf

访问ip

 

猜你喜欢

转载自www.cnblogs.com/njq666/p/10911335.html
今日推荐