Skip to content

Instantly share code, notes, and snippets.

@aschmoe
Created January 10, 2015 01:39
Show Gist options
  • Save aschmoe/d4d431b1006c21f1ee61 to your computer and use it in GitHub Desktop.
Save aschmoe/d4d431b1006c21f1ee61 to your computer and use it in GitHub Desktop.
Installing jenkins on ec2
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
Goto IP:8080
Set up security:
IP:8080/configureSecurity/
(Check) Enable security -> (Check) Jenkins’ Own User Database -> (Check) Allow account creation
Create admin role with all permissions
Now log in, create account as "admin"
now back to configureSecurity:
Enable security -> Jenkins’ Own User Database -> (UnCheck) Allow account creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment