Created
May 17, 2015 04:12
-
-
Save crossai-2033/efd3f370e2deff8c3a5f to your computer and use it in GitHub Desktop.
Revisions
-
crossai-2033 created this gist
May 17, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ #!/bin/bash ### mysql begin ### /usr/local/mysql/bin/mysqld_safe --user=mysql & ### mysql end ### ### nginx begin ### /usr/local/nginx/sbin/nginx ### nginx end ### ### gearmand begin ### #/usr/local/gearmand/sbin/gearmand -d -u root -p 8000 -P /tmp/gearmand.pid -j 1 -l /usr/local/gearmand/log/gearmand.log ### gearmand end ### ### redis begin ### /usr/local/redis/bin/redis-server /usr/local/redis/redis.conf & ### redis end ### ### ipquery begin ### #echo 1073741824 > /proc/sys/kernel/shmmax ### ipquery end ### ### fpm_default begin ### /usr/local/php/sbin/php-fpm -c /usr/local/php/etc/php.ini -y /usr/local/php/etc/php-fpm.conf -g /tmp/php-fpm.pid ### fpm_default end ### ### memcached begin ### #/usr/local/memcached/bin/memcached -d -p 11211 -P /tmp/memcached.pid -c 4096 -t 4 -m 256 -u root -v ### memcached end ### ### kafka begin ### #/usr/local/zookeeper/bin/zkServer.sh start #/usr/local/kafka/bin/kafka-server-start.sh /usr/local/kafka/config/server.properties & ### kafka end ### ### mongodb begin ### #/usr/local/mongodb/bin/mongod --dbpath /home/data/mongodb & ### mongodb end ### ### shadowsocks ### #nohup ssserver -c /etc/shadowsocks.json > /dev/null 2>&1 &