$: yum update
$: yum install nano wget tree gcc gcc-c++ compat-gcc-34-c++ gcc-gfortran zlib zlib-devel bzip2 bzip2-devel openssl openssl-devel ncurses ncurses-devel sqlite sqlite-devel gdbm gdbm-devel readline readline-devel expat expat-devel freetype freetype-devel libjpeg libjpeg-devel libpng libpng-devel gdb bison libtool make automake strace autoconf gettext automake curl mercurial
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 | |
# by http://github.com/jehiah | |
# this prints out some branch status (similar to the '... ahead' info you get from git status) | |
# example: | |
# $ git branch-status | |
# dns_check (ahead 1) | (behind 112) origin/master | |
# master (ahead 2) | (behind 0) origin/master | |
tot_diff=0 |
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
cd ~ | curl -O https://gist.github.com/alejandrobernardis/5497458/raw/cfa73fdcadead945eddcdf10913228aa49c12ef8/install-env.sh | chmod +x install-env.sh | ./install-env.sh |
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 | |
# /etc/rc.d/init.d/supervisord | |
# | |
# Supervisor is a client/server system that | |
# allows its users to monitor and control a | |
# number of processes on UNIX-like operating | |
# systems. | |
# | |
# chkconfig: 345 83 04 | |
# |
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
[include] | |
files = /etc/supervisord/*.supervisor | |
[supervisord] | |
directory = /etc/supervisord | |
pidfile = /var/run/supervisord.pid | |
childlogdir = /var/log/supervisord | |
logfile = /var/log/supervisord/supervisord.log | |
logfile_maxbytes = 50MB | |
logfile_backups = 10 |
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
# ((ak)) config | |
export HISTCONTROL=ignoredups:ignorespace | |
export HISTSIZE=5000 | |
export HISTFILESIZE=1000 | |
export HISTIGNORE="ls:cd:[bf]g:exit:..:...:l:l.:ll:la:h:history:edit-profile:reload-profile" | |
# ((ak)) helpers | |
alias l='ls -l'; | |
alias l.='ls -d .*' | |
alias ll='ls -Al'; |
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
[nginx] | |
name=nginx repo | |
baseurl=http://nginx.org/packages/centos/6/$basearch/ | |
gpgcheck=0 | |
enabled=1 |
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
[10gen] | |
name=10gen Repository | |
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 | |
gpgcheck=0 |
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
[10gen] | |
name=10gen Repository | |
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686 | |
gpgcheck=0 |
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
[cpu] | |
# Limits values for CPU user in % | |
# Defaults values if not defined: 50/70/90 | |
user_careful=50 | |
user_warning=70 | |
user_critical=90 | |
# Limits values for CPU system in % | |
# Defaults values if not defined: 50/70/90 | |
system_careful=50 | |
system_warning=70 |