#!/bin/sh#filename:rsync_start.sh#date:2015-12-23#作者:linuxzkq#Email:1729294227@qq.com#version:v1.0./etc/init.d/functionspath=/application/nginx/sbin/nginxpid=/application/nginx/logs/nginx.pidprocess=`ps-ef|grepnginx|grep-vgrep|wc-l`#USAGEfunctionUSAGE(){..
分类:
其他好文 时间:
2015-12-26 23:45:12
阅读次数:
195
#!/bin/sh#filename:rsync_start.sh#date:2015-12-14#作者:linuxzkq#version:v1.0#chkconfig:23452365#description:Startrsyncandstoprsyncscripts.prog="rsync"pidfile=/var/run/rsyncd.pidexec=/usr/bin/rsync./etc/init.d/functions[-f/usr/bin/rsync]||echo"pleaseinstall..
分类:
其他好文 时间:
2015-12-26 23:42:55
阅读次数:
185
#!/bin/sh#chkconfig:23452160#description:Startmysqlandstopmysqlscripts.#filename:mydb_start.sh#date:2015-12-13#作者:linuxzkq#version:v1.0pidfile="/application/data/mysql/test-D.pid"mysql_path="/application/mysql"datadir="/application/data/mysql"password="o..
分类:
数据库 时间:
2015-12-26 23:42:44
阅读次数:
226
#!/bin/sh#chkconfig:23452160#description:Startmysqlandstopmysqlscripts.#filename:mydb_start.sh#date:2015-12-13#作者:linuxzkq#version:v1.0pidfile="/application/data/mysql/test-D.pid"mysql_path="/application/mysql"datadir="/application/data/mysql"password="o..
分类:
数据库 时间:
2015-12-16 09:43:58
阅读次数:
176
#!/bin/sh#filename:rsync_start.sh#date:2015-12-14#作者:linuxzkq#version:v1.0#chkconfig:23452365#description:Startrsyncandstoprsyncscripts.prog="rsync"pidfile=/var/run/rsyncd.pidexec=/usr/bin/rsync./etc/init.d/functions[-f/usr/bin/rsync]||echo"pleaseinstall..
分类:
其他好文 时间:
2015-12-16 09:42:04
阅读次数:
222
如果依据 daemon 的启动与管理方式来区分,可以分为:
1、可独立启动的 stand alone ;
2、super daemon 来统一管理的服务。
daemon 相关的文件,以及某些重要的配置文件,基本上是放在这些地方:
/etc/init.d/* :启动脚本放置处
系统上几乎所有的服务启动脚本都放置在这里!事实上这是公认的目录,我们的 CentOS...
分类:
系统相关 时间:
2015-08-30 16:00:07
阅读次数:
228
此脚本根据网上的进行了大量的修改,在RHEL5上做了实际测试,本人亲测有效。运行次脚本有2个注意点:1.在根目录下新建work目录,将光盘没有的rpm包放入其中,如果没有联网,将需要的rpm包也放入其中2.将apache的服务启动脚本httpd,放入work目录具体的httpd内容参见之前的博客..
分类:
其他好文 时间:
2015-06-04 06:22:52
阅读次数:
186
#!/bin/sh##nginx-thisscriptstartsandstopsthenginxdaemon##chkconfig:-8515#description:NginxisanHTTP(S)server,HTTP(S)reverse\#proxyandIMAP/POP3proxyserver#processname:nginx#config:/etc/nginx/nginx.conf#config:/etc/sysconfig/nginx#pidfile:/var/run/nginx/nginx...
分类:
其他好文 时间:
2015-04-13 21:10:04
阅读次数:
169
1.Nginx简介Nginx官方站点:http://nginx.orgNginx官方文档:http://nginx.org/en/docsNginx是一款免费,开源,轻量级高性能的网站服务器(httpserver)和反向代理(reverseproxy)服务器程序,能够反向代理http协议和mail协议。Nginx原作者于2002年开发nginx,正式第一版于200..
分类:
其他好文 时间:
2014-12-28 02:00:07
阅读次数:
221
1 #!/bin/sh 2 # Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB 3 # This file is public domain and comes with NO WARRAN...
分类:
数据库 时间:
2014-12-16 13:12:56
阅读次数:
358