Install Jenkins di CentOS 7

Step by step :

  1. Setup repo dan gpg key jenkins
    # 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
  2. Install jenkins
    # yum install jenkins -y
  3. Start dan Enable jenkis
    # systemctl restart jenkins# systemctl enable jenkins
  4. Set firewall allow port 8080/tcp dimana jenkins berjalan di port 8080# firewall-cmd –permanent –add-port=8080/tcp
    # firewall-cmd –reload
  5. Set jenkins di web browser http://<ip-lu>:8080 atau http://localhost:8080
  6. Password unlock jenkins # cat /var/lib/jenkins/secrets/initialAdminPassword

     

  7. Install suggest plugin
  8. Create Admin user
  9. Instance Configuration
  10. Jenkins Ready


Di tulis oleh: