Skip to content

Instantly share code, notes, and snippets.


nhm tanveer hossain khan (hasan) we4tech

View GitHub Profile
we4tech /
Last active Aug 29, 2015 — forked from elvio/
With ruby 2.0
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev git
sudo mkdir /tmp/ruby_install && cd /tmp/ruby_install
wget -O ruby-install-0.4.2.tar.gz
tar -xzvf ruby-install-0.4.2.tar.gz
cd ruby-install-0.4.2/
sudo make install
sudo ruby-install -i /usr/local -p ruby 2.0
gem install chef --no-ri --no-rdoc
we4tech / tomcat.conf
Last active Aug 29, 2015 — forked from witscher/tomcat.conf
Tomcat 7 configuration
View tomcat.conf
description "Tomcat Server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn limit 10 5
limit nofile 32000 32000
console output
we4tech / elasticsearch.conf
Last active Aug 29, 2015 — forked from rbscott/elasticsearch.conf
ElasticSearch upstart script
View elasticsearch.conf
# ElasticSearch Service
description "ElasticSearch"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
You can’t perform that action at this time.