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 characters
#!/bin/bash | |
DAEMON=/usr/local/sbin/nginx | |
NAME=nginx | |
DESC=nginx | |
test -x $DAEMON || exit 0 | |
set -e | |
test_config() { |
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 characters
#!/usr/bin/python | |
import socket | |
import struct | |
import sys | |
import os | |
import os.path | |
import time | |
# see com.intelij.idea.SocketLock for the server side of this interface |
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 characters
#!/bin/bash | |
DAEMON=/usr/local/bin/mysqld_safe | |
OPTS=--defaults-file=/usr/local/etc/mysql/my.cnf | |
NAME=mysql | |
DESC=mysql | |
test -x $DAEMON || exit 0 | |
set -e |
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 characters
#!/bin/bash | |
DAEMON=/usr/local/sbin/php-fpm | |
OPTS='--fpm-config /usr/local/etc/php5/fpm/php-fpm.conf' | |
NAME='php-fpm' | |
DESC=php-fpm | |
test -x $DAEMON || exit 0 | |
set -e |
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 characters
#!/bin/bash | |
DAEMON=/usr/local/bin/redis-server | |
OPTS=/usr/local/etc/redis/redis.conf | |
NAME=redis | |
DESC=redis | |
test -x $DAEMON || exit 0 | |
set -e |
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 characters
#!/bin/bash | |
DAEMON=/usr/local/bin/mongod | |
OPTS='run --config /usr/local/etc/mongo/mongod.conf' | |
NAME=mongodb | |
DESC=mongodb | |
test -x $DAEMON || exit 0 | |
set -e |
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 characters
#!/bin/bash | |
DAEMON=/usr/local/bin/supervisord | |
OPTS='-c /usr/local/etc/supervisor/supervisord.conf' | |
NAME=supervisor | |
DESC=supervisor | |
test -x $DAEMON || exit 0 | |
set -e |
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 characters
#!/bin/bash | |
DAEMON=/usr/local/sbin/rabbitmq-server | |
OPTS='' | |
NAME=rabbitmq | |
DESC=rabbitmq | |
test -x $DAEMON || exit 0 | |
set -e |
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 characters
# Modify /etc/yum.repos.d/epel.repo. Under the section marked [epel], change enabled=0 to enabled=1. | |
sudo yum install erlang --enablerepo=epel | |
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.1/rabbitmq-server-3.1.1-1.noarch.rpm | |
sudo rpm -Uvh rabbitmq-server-3.1.1-1.noarch.rpm | |
# Enable managament plugin | |
sudo rabbitmq-plugins enable rabbitmq_management |
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 characters
sudo su | |
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
sudo rpm -Uvh remi-release-6*.rpm | |
yum-config-manager --enable remi-php71 | |
wget ftp://195.220.108.108/linux/epel/6/x86_64/scl-utils-20120229-1.el6.x86_64.rpm | |
rpm -Uvh scl-utils-20120229-1.el6.x86_64.rpm | |
yum install php71 -y |
OlderNewer