Found from https://gist.github.com/889297
yum install -y git gcc gcc-c++ zlib-devel curl curl-devel openssl
wget http://nodejs.org/dist/node-v0.4.9.tar.gz
# getting source | |
wget 'http://jruby.org.s3.amazonaws.com/downloads/1.6.5/jruby-bin-1.6.5.tar.gz' --directory-prefix=`rpm --eval '%{_sourcedir}'` | |
git clone [email protected]:jlbfalcao/jruby-rpm.git | |
cd jruby-rpm | |
cp * `rpm --eval '%{_sourcedir}'` | |
# build rpm | |
rpmbuild -bb jruby.spec |
Name: logstash | |
Version: 1.1.0 | |
Release: 1%{?dist} | |
Summary: logstash is a tool for managing events and logs | |
Group: System/Logging | |
License: ASL 2.0 | |
URL: http://logstash.net/ | |
Source0: http://semicomplete.com/files/logstash/logstash-%{version}-monolithic.jar | |
Source1: logstash |
#!/bin/sh | |
# | |
# for use with https://github.com/mojodna/metricsd | |
# chkconfig: 2345 95 1 | |
# description: Starts Daemon Using metricsd.jar. | |
# | |
# Source function library. | |
# author: Joyce Chan | |
. /etc/init.d/functions |
yum install -y git gcc gcc-c++ zlib-devel curl curl-devel openssl
wget http://nodejs.org/dist/node-v0.4.9.tar.gz
# FOR CENTOS 6 | |
# Andrew Diller Jan 2012 | |
# Get EPEL Repo installed | |
rpm --httpproxy proxy --httpport 3128 --import https://fedoraproject.org/static/0608B895.txt | |
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm | |
vi /etc/yum.repos.d/epel.repo |
# install git | |
sudo apt-get install g++ curl libssl-dev apache2-utils | |
sudo apt-get install git-core | |
# download the Node source, compile and install it | |
#git clone git://github.com/joyent/node.git | |
wget http://nodejs.org/dist/latest/node-v0.5.10.tar.gz | |
tar xvfz node-v0.5.10.tar.gz | |
mv node-v0.5.10 node | |
cd node | |
./configure |
cd ~ | |
sudo apt-get install unzip | |
sudo apt-get install python-software-properties -y | |
# before this step make sure /etc/hostname is same as /etc/hosts | |
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" | |
sudo apt-get update | |
sudo apt-get install sun-java6-jre sun-java6-plugin -y | |
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.6.tar.gz -O elasticsearch.tar.gz |
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# Forked from: http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Ubuntu 11.04 | |
# Last tested & updated 10/14/2011 | |
#################################### | |
#sudo apt-get update | |
#sudo apt-get dist-upgrade |
mkdir free_monkey | |
cd free_monkey | |
git init | |
git remote add origin git@YOUR_SERVER_HOSTNAME:free_monkey.git | |
# do some work, git add and commit files | |
# need the allow empty flag | |
git commit -a -m "added files" --allow-empty | |
git push origin master:refs/heads/master |
mkdir free_monkey | |
cd free_monkey | |
git init | |
git remote add origin git@YOUR_SERVER_HOSTNAME:free_monkey.git | |
# do some work, git add and commit files | |
git push origin master:refs/heads/master |