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
| FROM ubuntu:12.04 | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-6-jdk curl git-core build-essential bzr | |
| RUN mkdir -p /tmp/downloads | |
| # install go | |
| RUN curl -sf -o /tmp/downloads/go1.1.1.linux-amd64.tar.gz -L https://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz | |
| RUN mkdir -p /opt && cd /opt && tar xfz /tmp/downloads/go1.1.1.linux-amd64.tar.gz | |
| # install jenkins | |
| RUN curl -sf -o /opt/jenkins-1.523.war -L http://mirrors.jenkins-ci.org/war/1.523/jenkins.war |
| #!/usr/bin/env node | |
| //please requist your app token from | |
| //https://trello.com/1/connect?key=yourkey&name=git-hook&expiration=never&response_type=token&scope=read,write | |
| var key = "your key"; | |
| var token = "your token"; | |
| //https://trello.com/board/-/4e9003324a517dad44465056 | |
| var board_id = "4e9003324a517dad44465056"; | |
| var Trello = require("node-trello"); |
| Name: play | |
| Version: 1.2.3 | |
| Release: 1%{?dist} | |
| Summary: Play Framework | |
| Group: System Environment/Daemons | |
| License: Apache License, Version 2 | |
| URL: http://www.playframework.org/ | |
| Source0: http://download.playframework.org/releases/%{name}-%{version}.zip | |
| BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
| Merge.class.php | |
| Util.class.php | |
| WSSoapClient.class.php | |
| .svn |
| # 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 git@github.com: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 |
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 |