码迷,mamicode.com
首页 >  
搜索关键字:pidfile    ( 236个结果
Rsync服务启动脚本
#!/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
openstack controller ha测试环境搭建记录(三)——配置haproxy
haproxy.cfg请备份再编辑:# /etc/haproxy/haproxy.cfgglobal chroot /var/lib/haproxy daemon group haproxy maxconn 4000 pidfile /var/run/haproxy.pid user haproxy...
分类:其他好文   时间:2015-12-09 11:58:48    阅读次数:278
django+nginx+uwsgi 搭建环境
一: 下载uwsgi tarxfuwsgi-1.9.6.tar.gz cduwsgi-1.9.6 pythonuwsgiconfig.py--build cpuwsgi/usr/bin/uwsgi 二: vim/usr/local/services/nginx/uwsgi.ini [uwsgi] socket=0.0.0.0:3001 master=true pidfile=/usr/local/services/nginx/uwsgi.pid processes=8 workers=2 #..
分类:其他好文   时间:2015-11-09 19:08:59    阅读次数:297
Redis-No.03 Redis单台服务器创建多个实例
1、复制redis.conf文件 cp?-rf?redis.conf?redis_6380.conf cp?-rf?redis.conf?redis_6381.conf 2、修改redis_6380.conf、redis_6381.conf文件 daemonize?yes pidfile?/var/run/redis_6380.pid port?638...
分类:其他好文   时间:2015-08-06 13:37:28    阅读次数:106
rsync服务搭建
1,首先要关闭防火墙iptables和selinux(serviceiptablesstopsentenforce0临时关闭)2更改配置文件/etc/rsyncd.cong具体配置如下:port=873//默认监听端口可以改成别的:例如:8730logfile=/var/log/rsync.log//日志文件pidfile=/var/run/rsync.pid//进程号存放文件[hu]//模块名..
分类:其他好文   时间:2015-08-05 13:13:25    阅读次数:118
生产环境下Redis主备配置(持久化)
#1.wget #tarzxvfredis-2.8.19.tar.gz #cdredis-2.8.19/src/ #viMakefile PREFIX?=/opt/etc/redis #make&&makeinstall #redis_6309.conf daemonizeyes pidfile/var/run/redis_6309.pid port6309 tcp-backlog10240 timeout600 tcp-keepalive60 loglevelnotice logfil..
分类:其他好文   时间:2015-08-01 19:16:51    阅读次数:268
【转】关于redis.conf的参数配置
1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程daemonize no2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定pidfile /var/run/redis.pi...
分类:其他好文   时间:2015-07-12 23:01:45    阅读次数:139
nginx启动脚本
#!/bin/sh##nginx-thisscriptstartsandstopsthenginxdaemin##chkconfig:-8515#description:NginxisanHTTP(S)server,HTTP(S)reverse\#proxyandIMAP/POP3proxyserver#processname:nginx#config:/usr/local/nginx/conf/nginx.conf#pidfile:/usr/local/nginx/logs/nginx.pid#Source..
分类:其他好文   时间:2015-06-30 18:41:32    阅读次数:132
redis配置文件参数说明
配置文件参数说明: 1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程     daemonizeno 2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定     pidfile/var/run/redis.pid 3. 指定Redis...
分类:其他好文   时间:2015-06-11 19:28:46    阅读次数:132
redis配置文件参数说明
配置文件参数说明:1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonizeno2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定 pidfile/var/run...
分类:其他好文   时间:2015-06-11 19:15:15    阅读次数:116
236条   上一页 1 ... 18 19 20 21 22 ... 24 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!