摘要:
网上看了很多资料大多比较繁琐,而且很多不能再最新的CentOS6上执行成功,最后还是自己写了一份,以供日后备用:1.首先是写 service脚本service脚本需要进入到目录/etc/init.d中,然后touch memcached,最后vim memcached后进行脚本编写,脚本如下:#chkconfig:3456060#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin exportPATH exportLANG=en_US.UTF-8start() { echo-n$& 阅读全文
posted @ 2013-04-13 10:08
helloyb
阅读(233)
评论(0)
推荐(0)

浙公网安备 33010602011771号