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 apt-get -y install haproxy | |
sudo sed -i -e 's/\(ENABLED=\)0/\11/' /etc/default/haproxy | |
sudo sed -i -e 's/^#\(.*imudp\)/\1/' /etc/rsyslog.conf | |
sudo sed -i -e 's/^#\(.*UDPServer\)/\1/' /etc/rsyslog.conf | |
sudo sed -i -e 's/\(auth,authpriv.none\)\(.*syslog\)/\1;local0.none\2/' /etc/rsyslog.d/50-default.conf | |
sudo sed -i -e 's/\(mail,news.none\)/\1;local0.none/' /etc/rsyslog.d/50-default.conf | |
echo "local0.* /var/log/haproxy.log" | sudo tee -a /etc/rsyslog.d/50-default.conf | |
sudo service rsyslog restart | |
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
mkdir _app && cd _app | |
sudo apt-get install devscripts | |
apt-get source memcached | |
sudo apt-get build-dep memcached | |
cd memcached-1.2.8 | |
wget http://downloads.sourceforge.net/project/repcached/repcached/2.2-1.2.8/repcached-2.2-1.2.8.patch.gz | |
gzip -cd repcached-2.2-1.2.8.patch.gz | patch -p1 | |
rm -rf repcached-2.2-1.2.8.patch.gz | |
sed -i -e 's/threads/replication/' debian/rules | |
debuild -us -uc |
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 apt-get -y install libssl-dev bison flex | |
wget http://mmonit.net/monit/dist/monit-5.1.1.tar.gz | |
tar xvfz monit-5.1.1.tar.gz | |
cd monit-5.1.1 | |
./configure | |
make | |
sudo make install | |
### Configure monitrc ### |
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
--- Redmine.pm 2010-06-29 14:35:18.567980004 +0900 | |
+++ Redmine.pm.new 2010-06-29 15:32:11.528961555 +0900 | |
@@ -93,6 +93,68 @@ | |
And you need to upgrade at least reposman.rb (after r860). | |
+=head1 GIT SMART HTTP SUPPORT | |
+ | |
+support for Redmine v0.8.1 based off of http://www.redmine.org/issues/4905 | |
+ |
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
# HAProxy configuration - haproxy-mysql-failover.cfg | |
global | |
log 127.0.0.1 local0 | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
defaults |
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/sh | |
### BEGIN INIT INFO | |
# Provides: redis-server | |
# Required-Start: $syslog | |
# Required-Stop: $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: redis-server - Persistent key-value db |
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 | |
# | |
# Ruby w/ Passenger Installer | |
# | |
# Michael H. Oshita (@ijin) | |
# | |
### ruby versions #### | |
RUBY_VERSION= | |
RUBY_DEFAULT=1.9.2 |
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
Host misc | |
Hostname ec2-175-41-249-100.ap-northeast-1.compute.amazonaws.com | |
User ubuntu | |
Host webdv | |
ProxyCommand ssh ec2-175-41-196-2.ap-northeast-1.compute.amazonaws.com nc %h %p | |
User ubuntu |
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
init: ureadahead-other main process (478) terminated with status 4 | |
An error occurred while mounting /mnt/s3 | |
Press S to skip mounting or M for manual recovery | |
fuse: device not found, try 'modprobe fuse' first | |
mountall: mount /mnt/s3 [483] terminated with status 1 | |
mountall: Filesystem could not be mounted: /mnt/s3 |
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
Host misc | |
User ubuntu | |
Hostname ec2-175-41-249-100.ap-northeast-1.compute.amazonaws.com | |
Host dbmaster | |
User ubuntu | |
Hostname ec2-175-41-198-110.ap-northeast-1.compute.amazonaws.com | |
ProxyCommand ssh misc nc %h %p |
OlderNewer