Continuous Integration with Jenkins on Amazon EC2 Initial Setup
Fixing Locales in Ubuntu 13.04 on Amazon EC2
sudo apt-get install language-pack-en
Installing Jenkins
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
echo "deb http://pkg.jenkins-ci.org/debian binary/" | sudo tee -a /etc/apt/sources.list.d/jenkins.list
sudo apt-get update
sudo apt-get install jenkins
Installing and Configuring Apache Installing Apache
sudo apt-get install apache2
sudo a2enmod proxy
sudo a2enmod proxy_http
/etc/apache2/sites-available/jenkins.conf
<VirtualHost *:80> ServerName HOSTNAME ProxyRequests Off <Proxy *> Order deny,allow Allow from all ProxyPreserveHost on ProxyPass / http://localhost:8080/
Enabling jenkins.conf
sudo a2ensite jenkins
sudo service apache2 reload
sudo /etc/init.d/jenkins start
Installing Java / Maven / Git
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer maven git-core
sudo su - jenking // to login into jenkins