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/env ruby | |
# | |
# Passenger management script | |
# By James Smith http://loopj.com | |
# Based heavily on a similar script by Jon Bettcher | |
# | |
# Check memory usage of all paseenger child process and kill if grows | |
# too large. | |
# |
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
# Cacti setup | |
sudo apt-get install cacti cacti-spine | |
# templates | |
# memory | |
wget http://www.eric-a-hall.com/software/cacti-netsnmp-memory/cacti-netsnmp-memory.0.7.tar.gz | |
tar xvfz cacti-netsnmp-memory.0.7.tar.gz | |
cd cacti-netsnmp-memory/scripts | |
sudo chown root: ss_netsnmp_memory.php | |
sudo cp ss_netsnmp_memory.php /usr/share/cacti/site/scripts/ |
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 websv* | |
User ubuntu | |
ProxyCommand ssh -A misc nc %h %p |
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 |
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 | |
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
#!/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
#! /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
# 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
--- 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 | |
+ |