linux环境nginx启动命令_linux查看redis版本

linux环境nginx启动命令_linux查看redis版本命令:/usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx.conf、、、、、、、、、、、[root@localhostsbin]#ps-ef|grepnginxroot239571015:30?00:00:00nginx:masterprocess/usr/local/ng…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE稳定放心使用

命令:

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

、、、、、、、、、、、

[root@localhost sbin]# ps -ef|grep nginx

root 23957 1 0 15:30 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

nginx 23958 23957 0 15:30 ? 00:00:00 nginx: worker process

root 23961 23878 0 15:30 pts/5 00:00:00 grep nginx

[root@localhost sbin]# pwd

/usr/local/nginx/sbin

[root@localhost sbin]#

关闭:

ps -ef|grep nginx

到nginx的执行程序的目录(sbin-path=/usr/sbin/nginx)即  /usr/sbin

执行一下命令

./nginx -s stop

即可。

、、、、、、、、、

[root@gsidc-4q-saas23 ~]# nginx -V

nginx version: nginx/1.11.6

built by gcc 4.1.2 20080704 (Red Hat 4.1.2-55)

built with OpenSSL 1.0.1u 22 Sep 2016

TLS SNI support enabled

configure arguments: –prefix=/usr/local/nginx –sbin-path=/usr/sbin/nginx –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-log-path=/var/log/nginx/access.log –pid-path=/var/run/nginx/nginx.pid –lock-path=/var/lock/nginx.lock –user=nginx –group=nginx –with-http_ssl_module –with-http_realip_module –with-http_stub_status_module –with-http_sub_module –with-http_random_index_module –with-http_gzip_static_module –with-http_perl_module –with-stream –with-pcre=pcre-8.38 –with-zlib=zlib-1.2.8 –with-file-aio –http-client-body-temp-path=/var/tmp/nginx/client_body –http-proxy-temp-path=/var/tmp/nginx/proxy –http-fastcgi-temp-path=/var/tmp/nginx/fastcgi –http-uwsgi-temp-path=/var/tmp/nginx/uwsgi –http-scgi-temp-path=/var/tmp/nginx/scgi –with-ld-opt=-Wl,-E –with-openssl=/root/openssl-1.0.1u

[root@gsidc-4q-saas23 ~]# ps -ef|grep nginx

root 9674 8924 0 14:46 pts/4 00:00:00 grep nginx

root 23522 1 0 2017 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf

root 23523 23522 0 2017 ? 00:00:03 nginx: worker process

root 23524 23522 0 2017 ? 00:00:05 nginx: worker process

root 23525 23522 0 2017 ? 00:00:06 nginx: worker process

root 23526 23522 0 2017 ? 00:00:18 nginx: worker process

[root@gsidc-4q-saas23 ~]#

[root@gsidc-4q-saas23 sbin]# nginx -s stop

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/185521.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)


相关推荐

  • mysql 5.6 新安装登录

    mysql 5.6 新安装登录

  • UVALive 6525 Attacking rooks 二分匹配 经典题

    UVALive 6525 Attacking rooks 二分匹配 经典题

  • iOS5.1.1完美越狱教程

    iOS5.1.1完美越狱教程pod2g和绿毒都没有食言,iOS 5.1.1完美越狱工具在北京时间5月25日晚20点30分出现在了绿毒的官方上。与上次不同的是,本次越狱一口气发了三个版本——OS X、Windows、以及linux,狱友们不用再熬夜了!本次越狱所支持的设备:- iPad3 (WiFi/CDMA/Global)- iPad2 (WiFi/CDMA/GSM)- iPad1- iPhone

  • potplayermadvr设置_potplayerhdr设置

    potplayermadvr设置_potplayerhdr设置Potplayer+LAV+madVR+Xysubfilter配置指南Potplayer作为Windows上很受欢迎的一款播放器,公认的最佳配置为结合LAV、madVR、XySubfilter进行使用。本文将介绍一种对其简单配置的方法。LAV:一套主流的开源解码filtermadVR:一个高性能的视频渲染器XySubfilter:madVR专用的字幕插件关于如何设置…

  • Linux history命令

    Linux history命令1、在脚本中由于是在另外一个shell中进行语句的执行,所以history显示的是脚本运行的shell的history语句,而不会显示你执行该脚本的终端中的history2、我们可以在家目录下的.bash_history文件中查看自己的历史命令,而history查看的是内存中的历史命令,如果需要将内存中的历史命令加入其中,那么就需要使用history-w将当前终端的历史命令覆盖.bash_history的内容或是history-a在.bash_history文件的尾部添加当前shell的历史命令

  • SD卡中FAT32文件格式高速入门(图文具体介绍)

    SD卡中FAT32文件格式高速入门(图文具体介绍)

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号