-
Notifications
You must be signed in to change notification settings - Fork 1
matthewpflueger/Chamber
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Add default environment variables: - sudo sh -c "echo 'ENV_TYPE=dev' >> /etc/environment" Generate a ssl cert if necessary: - http://docs.codehaus.org/display/JETTY/How+to+configure+SSL - http://support.godaddy.com/help/article/5239 - keytool -keystore Echoed20120224.keystore -alias Echoed20120224 -genkey -keyalg RSA -keysize 2048 - keytool -certreq -alias Echoed20120224 -keystore Echoed20120224.keystore -file Echoed20120224.csr -keysize 2048 - keytool -import -alias root -keystore Echoed20120224.keystore -trustcacerts -file gd_bundle.crt - keytool -import -alias cross -keystore Echoed20120224.keystore -trustcacerts -file gd_cross_intermediate.crt - keytool -import -alias intermed -keystore Echoed20120224.keystore -trustcacerts -file gd_intermediate.crt - keytool -import -alias Echoed20120224 -keystore Echoed20120224.keystore -trustcacerts -file echoed.com.crt - cp echoed.com.crt Echoed20120224.crt - cd src/main/java/exportpriv && javac *.java && java -cp . ExportPriv src/main/ops/etc/keystore/Echoed20120224.keystore Echoed20120224 Ech0ed1nc >> src/main/ops/etc/keystore/Echoed20120224.key Install keystore into default location: - sudo mkdir -p /etc/keystore - sudo cp src/main/ops/etc/keystore/Echoed20120224.* /etc/keystore/. Install compass: - sudo apt-get install ruby-compass Install nginx: - sudo apt-get install nginx - sudo rm /etc/nginx/sites-enabled/default - sudo rm /etc/nginx/nginx.conf - sudo cp src/main/ops/etc/nginx/sites-enabled/default /etc/nginx/sites-enabled/default - sudo cp src/main/ops/etc/ngins/nginx.conf /etc/nginx/nginx.conf - sudo service nginx restart Install mysql: - sudo apt-get install mysql-server - sudo rm /etc/mysql/my.conf - sudo cp src/main/ops/etc/mysql/my.conf /etc/mysql/my.conf - sudo service mysql restart Install python-pip and pagerduty: - sudo apt-get install python-pip - sudo pip install pagerduty - sudo cp src/main/ops/usr/local/bin/pagerduty* /usr/local/bin/. Install monit (http://www.thegeekstuff.com/2010/11/monit-install-config/): - sudo apt-get install monit - sudo rm /etc/default/monit - sudo rm /etc/monit/monitrc - sudo cp src/main/ops/etc/default/monit /etc/default/monit - sudo cp src/main/ops/etc/monit/monitrc /etc/monit/monitrc - sudo cp src/main/ops/etc/monit/conf.d/* /etc/monit/conf.d/. - sudo service monit restart Install Cloudkick (https://support.cloudkick.com/Installing_Cloudkick_on_Debian_and_Ubuntu): - sudo cp src/main/ops/etc/cloudkick.conf /etc/cloudkick.conf - sudo sh -c "echo 'deb http://packages.cloudkick.com/ubuntu lucid main' > /etc/apt/sources.list.d/cloudkick.list" - curl http://packages.cloudkick.com/cloudkick.packages.key >> cloudkick.packages.key - sudo apt-key add cloudkick.packages.key - sudo apt-get update - sudo apt-get install cloudkick-agent Install NewRelic (https://newrelic.com/docs/java/new-relic-for-java): - sudo mkdir -p /opt/newrelic/logs - sudo chmod -R ugo+rwx /opt/newrelic - sudo cp src/main/ops/opt/newrelic/newrelic* /opt/newrelic/. Install nodejs, requirejs, uglify-js - sudo apt-get install python-software-properties - sudo add-apt-repository ppa:chris-lea/node.js - sudo apt-get update - sudo apt-get install nodejs npm - npm install requirejs - npm install uglify-js - cd ~/bin && ln -s ../node_modules/.bin/r.js r.js
About
Echoed Chamber
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published