Jenkins Amazon Linux Setup -
i have setup jenkins on ec2 instance using below steps tutorial online. novice in linux environment , deployments. problem jenkins dashboard not showing in browser @ <myip>:8080/jenkins. can me out this.
sudo yum install -y docker nginx git sudo wget -o /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key sudo yum install jenkins sudo vim /etc/nginx/nginx.conf change below server { listen 80; server_name _; location /jenkins { proxy_pass http://127.0.0.1:8080; } } sudo usermod -a -g docker jenkins sudo service docker start sudo service jenkins start sudo service nginx start sudo chkconfig docker on sudo chkconfig jenkins on sudo chkconfig nginx on
i had faced similar problem before, can check following:
- check security groups of instance specific ports
- check ip tables on instance
hope helps
Comments
Post a Comment