#!/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
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
一:
下载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
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
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
#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
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
#!/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
配置文件参数说明:
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
配置文件参数说明:1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonizeno2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定 pidfile/var/run...
分类:
其他好文 时间:
2015-06-11 19:15:15
阅读次数:
116