Preparing
emerge oracle jdk
add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java8-installer
Installing Jenkins
useradd -m jenkins su - jenkins wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war java -Xms1G -Xmx2G -jar jenkins.war >jenkins.log 2>&1 & >jenkins.pid
Configuring Jenkins
Navigate to http://yourhost:8080/
Manage Jenkins » Configure Global Security
Add some useful modules
Manage Jenkins -> Manage Plugins
Add these: Git Client Plugin, HipChat Plugin, Slack Notification Plugin
http://jenkins.example.com:8080/pluginManager/api/json?pretty=true https://wiki.jenkins-ci.org/display/JENKINS/Securing+Jenkins http://soldering-iron.blogspot.com/2014/01/jenkins-performance-hints.html