nginx Linux启动脚本 博客分类: LinuxNginx
程序员文章站
2024-03-22 13:26:04
...
nginx启动脚本,CentOS运行测试通过
解压文件到 /etc/init.d/ 目录下,运行以下命令安装nginx服务
# chkconfig --add nginx # chkconfig nginx on
然后就可以两种方式来管理nginx服务
# /etc/init.d/nginx start|stop|reload|restart
或者
# service nginx start|stop|reload|restart
推荐阅读
-
nginx Linux启动脚本 博客分类: LinuxNginx
-
linux sh脚本 博客分类: 常用开源
-
查看系统启动项 博客分类: python MicrosoftWindows脚本
-
查看系统启动项 博客分类: python MicrosoftWindows脚本
-
shell脚本实例 博客分类: Linux/Unix 脚本F#
-
由GlassFish V3的启动脚本说起,分析CLI 博客分类: dive into GlassFish
-
tomcat在Linux启动需要赋予权限 博客分类: 服务器
-
Apache HTTP和Nginx Web服务器Linux系统安装 博客分类: web apachenginx
-
一个 Ubuntu获取铁通独立 IP 的脚本 博客分类: Linux 脚本UbuntuLinuxRubySocket
-
mac nginx启动 博客分类: shellnginx/lua/openresty