Giter Club home page Giter Club logo

jenkins's Introduction

Jenkins Installation


Create an AWS instance with type as t2.micro

Security Group is modified to include http:  80 and custom port 8080


1. How to download and install Jenkins on aws ec2 linux
2. How to access Jenkins from browser
3. How to start and stop Jenkins
4. How to start Jenkins on different port
5. How to uninstall Jenkins

sudo su -

Step 1 : Connect to your Linux machine
SetUp JAVA PATH
Set up Custom TCP port: 8080 in AWS Security Groups

Step 2: Update Packages
   yum update

Step 3 : Check Java is installed. If not install java  
   java -version
   yum install java-1.8.0

   To check and select one out of multiple java versions available
   sudo /usr/sbin/alternatives --config java


Step 4 : Download latest Jenkins code package

   wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo


Step 5 : Import a key file from Jenkins-CI to enable installation from the package
   
   rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key


Step 6 : Install Jenkins

   yum install jenkins -y
   
   systemctl status jenkins
   
   systemctl enable jenkins
   
Step 7 : Start jenkins
   systemctl status jenkins

Step 8 : Access Jenkins server using the public DNS of your ec2 on port 8080
   http://{ec2-public-dns}:8080
   example : http://3.89.79.74:8080/


In case you face issues with credentials. 

Open the file  /var/log/jenkins/jenkins.log and locate the password from the file

/Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:

This may also be found at: /var/lib/jenkins/secrets/initialAdminPassword/







jenkins's People

Contributors

nevin-cleetus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.