ubuntu 下安装nginx
2015-06-12 08:22
531 查看
y@y:~$ sudo apt-get install nginx
y@y:~$ sudo service nginx start y@y:~$
nginx默认使用80端口,打开浏览器输入:http://localhost/
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
--------------
更新nginx:
sudo apt-add-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get upgrade nginx -y
相关文章推荐
- Nginx+php+mysql+phpmyadmin centos6.x 配置教程
- Nginx配置文件详细说明
- 启动nginx 报错 error while loading shared libraries: libpcre.so.1: cannot open shared object file
- Ubuntu中完全卸载Nginx
- Varnish+Nginx 配置----Varnish
- Varnish+Nginx 配置----Nginx
- Samba & Nginx - Resource temporarily unavailable
- Nginx配置文件详细说明
- 生产环境上nginx 不覆盖添加lua模块
- Nginx 负载均衡
- nginx-upstream安装配置
- wdcp(nginx)平滑升级到Tengine 教程!无须重启
- Ubuntu nginx+php+mysql的一些问题总结
- elk收集分析nginx access日志
- Linux服务器(CentOS 6.5)Nginx服务器的安装
- Nginx配置文件nginx.conf中文详解
- NGINX、PHP-FPM开机自动启动
- Nginx和PHP-FPM的启动/重启脚本 [转发]
- Centos 6.5 64bit 安装 nginx+php
- nginx+keepalived实现双机热备高可用性