makeporngreatagain.pro
yeahporn.top
hd xxx

Install Jenkins On Amazon Linux

4,244

Install Jenkins

  1. Create EC2 instance with Amazon Linux 2 AMI
  2. We will be using open java for our demo, Get latest version from http://openjdk.java.net/install/
    yum -y install java-1.8.0-openjdk
  3. Lets install java and set the java home
    java -version
    find /usr/lib/jvm/java-1.8* | head -n 3
    
    #JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64
    export JAVA_HOME
    PATH=$PATH:$JAVA_HOME
    
    # To set it permanently update your .bash_profile
    source ~/.bash_profile
  4. Check java version
    java -version
  5. You can install jenkins using the rpm or by setting up the repo. We will setup the repo so that we can update it easily in future.
    sudo yum install epel-release -y 
    sudo yum-config-manager --enable epel
    sudo yum install daemonize java-1.8.0-openjdk-devel -y
    wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
    rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
    yum -y install jenkins
  6. Start Jenkins
    # Start jenkins service
    systemctl start jenkins
    
    # Setup Jenkins to start at boot,
    systemctl enable jenkins
  7. By default jenkins runs at port 8080, You can access jenkins at
    http://YOUR-SERVER-PUBLIC-IP:8080

Configure Jenkins

  1. The default Username is admin
  2. Grab the default password
    Password Location:/var/lib/jenkins/secrets/initialAdminPassword
  3. Skip Plugin Installation; We can do it later
  4. Change admin password
    Admin > Configure > Password
  5. Configure java path
    Manage Jenkins > Global Tool Configuration > JDK
  6. Create another admin user id

Test Jenkins Jobs

  1. Create “new item”
  2. Enter an item name – My-First-Project
  3. Chose Freestyle project
  4. Under Build section Execute shell : echo “Welcome to Jenkins Demo”
  5. Save your job
  6. Build job
  7. Check “console output”
Leave A Reply

Your email address will not be published.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.