$: 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
| ; Sample supervisor config file. | |
| [unix_http_server] | |
| file=/tmp/supervisor.sock ; (the path to the socket file) | |
| ;chmod=0700 ; sockef file mode (default 0700) | |
| ;chown=nobody:nogroup ; socket file uid:gid owner | |
| ;username=user ; (default is no username (open server)) | |
| ;password=123 ; (default is no password (open server)) | |
| ;[inet_http_server] ; inet (TCP) server disabled by default |
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 = /a/path/*.supervisor | |
| [supervisord] | |
| directory = /a/path | |
| pidfile = /a/path/supervisord.pid | |
| logfile = /a/path/supervisord.log | |
| logfile_maxbytes = 50MB | |
| logfile_backups = 10 | |
| childlogdir = /a/path/logs |
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 - | |
| # stuff we need to build from source | |
| apt-get install libpcre3-dev build-essential libssl-dev | |
| # get the nginx source | |
| cd /opt/ | |
| wget http://nginx.org/download/nginx-0.8.54.tar.gz | |
| tar -zxvf nginx* | |
| # we'll put the source for nginx modules in here |
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
| <project name="com-ak-geisha" basedir="." default="deploy"> | |
| <!-- == properties ============================================================================================= --> | |
| <property file="${basedir}/build.properties" /> | |
| <!-- == macros ================================================================================================= --> | |
| <macrodef name="common.date"> | |
| <sequential> |
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:..:...:ll:lla" | |
| # ((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
| [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
| #!/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
| # ((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
| [10gen] | |
| name=10gen Repository | |
| baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686 | |
| gpgcheck=0 |