nginx应用

Nginx是一个高性能的HTTP和反向代理的服务器,也是一个IMAP/POP3/SMTP代理服务器。

特点:1.热部署   2.高并发   3.低内存   4.响应快   5.稳定

linux安装nginx:

1.yum install epel-release

yum install nginx

2.启动nginx:systemctl start nginx

3.访问nginx:服务器ip:80

4.编辑文件:/usr/share/nginx/html/

       vim index.html(网页界面)

 cd /etc/nginx

 vim nginx.conf

5. 关闭nginx服务

systemctl stop nginx

 

posted @ 2018-09-13 13:18  MiceRat  阅读(200)  评论(0)    收藏  举报