nginx-备注
来源:互联网 发布:知在文言文中的意思 编辑:程序博客网 时间:2024/05/18 01:35
安装
1、brew search nginx
2、brew install nginx
启动nginx ,sudo nginx ;访问localhost:8080 发现已出现nginx的欢迎页面了。
常用的指令有:
nginx -V 查看版本,以及配置文件地址
nginx -v 查看版本
nginx -c filename 指定配置文件
nginx -h 帮助
Starting, Stopping, and Reloading Configuration
To start nginx, run the executable file. Once nginx is started, it can be controlled by invoking the executable with the -s
parameter. Use the following syntax:
nginx -s signal
Where signal may be one of the following:
stop
— fast shutdownquit
— graceful shutdownreload
— reloading the configuration filereopen
— reopening the log files
For getting the list of all running nginx processes, the ps
utility may be used, for example, in the following way:
ps -ax | grep nginx
7813 ?? 0:00.00 nginx: master process ./nginx
7814 ?? 0:00.00 nginx: worker process
7827 ttys000 0:00.01 grep nginx
0 0
- nginx-备注
- Nginx详细配置的备注说明
- Nginx详细配置的备注说明
- Nginx详细配置的备注说明
- Nginx详细配置的备注说明
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 备注
- 重温Maven--eclipse中使用Maven
- 监听contentprovider中数据变化
- 泰勒python笔记二:正则表达式
- 支持向量机-SVM
- leetcode随笔VI
- nginx-备注
- android 4.4以上项目的选择文件和从图库中选择图片
- 3-7 关于浮动之所得
- SAP FTP上传出现的几个小问题归纳
- loadrunner11录制手机app
- 真机测试 之 证书测试
- ZSC 1568 小明的数学作业 (DFS + 模拟栈)
- python中关于深嵌元组转列表的小问题
- iOS开发-NSAarray数字组的元素去重-OC操作中数组元素的去重样例