mac安装nginx步骤
来源:互联网 发布:时时技巧软件 编辑:程序博客网 时间:2024/05/16 10:00
以下是在mac os x 10.9.2 安装nginx步骤
安装PCRE
1、Download latest PCRE.2、安装
$ cd ~/Downloads$ tar xvzf pcre-8.5$ cd pcre-8.5$ sudo ./configure --prefix=/usr/local$ sudo make$ sudo make install
安装Nginx
1、Download latest nginx from Nginx.org.
2、安装
$ cd ~/Downloads$ tar xvzf nginx-1.6.0.tar.gz$ cd nginx-1.6.0$ sudo ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-cc-opt="-Wno-deprecated-declarations"$ sudo make$ sudo make install
开启Nginx
1、将/usr/local/nginx/sbin加入到环境变量里
2、运行
$ sudo nginx
3、打开浏览器 http://localhost,如果看到如下界面表明nginx启动正常了
4、停止
$ sudo nginx -s stop
0 0
- mac安装nginx步骤
- 安装Nginx步骤
- linux安装nginx步骤
- Nginx 安装步骤
- Linux nginx安装步骤
- Nginx安装步骤
- ProtocolBuffer Mac安装步骤
- mac Tomacat 安装步骤
- ProtocolBuffer Mac安装步骤
- Mac Nginx 安装
- Mac安装nginx
- mac 安装 nginx 环境
- Mac机器安装nginx
- mac编译安装nginx
- mac 安装 nginx
- Mac 10.10 安装nginx
- mac安装nginx
- mac-php-nginx安装
- POJ 2155 二维线段树基本操作
- 二叉树的层次遍历
- 关于android编译失败的集中情况
- 字典树 详解 模板代码 加典型习题
- setuid函数解析
- mac安装nginx步骤
- nyist 132Prime Ring Problem
- 最大堆和最小堆
- Java I/O学习(附实例和详解)
- linux设备驱动程序注册过程详解
- 设置ActionBar或ToolBar菜单文字颜色及大小
- 匿名类型
- Hash 算法
- 设计模式之概述