官术网_书友最值得收藏!

Installing the latest stable version of Jenkins

If you prefer to install a stable version of Jenkins, then follow these step in sequence:

  1. Add the repository key to the system using the following command:
        wget --no-check-certificate -q -O - \
https://pkg.jenkins.io/debian-stable/jenkins-ci.org.key | \
sudo apt-key add -
  1. You should get an output of OK. Next, append the Debian package repository address using the following command:
        echo deb http://pkg.jenkins.io/debian-stable binary/ | \
sudo tee /etc/apt/sources.list.d/jenkins.list
  1. Update the package index:
        sudo apt-get update
  1. Now, install Jenkins using the following command:
        sudo apt-get install jenkins 
  1. See the Starting, stopping, and restarting Jenkins on Ubuntu section if you are required to start Jenkins.
  2. Jenkins is now ready for use. By default, the Jenkins service runs on port 8080. To access Jenkins, use  http://localhost:8080/ or http://<Jenkins server IP address>:8080/ in a browser.

In order to troubleshoot Jenkins, access the logs file /var/log/jenkins/jenkins.log.

The Jenkins service runs under the user Jenkins, which is automatically created upon installation.

主站蜘蛛池模板: 阿城市| 铜川市| 黄浦区| 洪江市| 霍山县| 噶尔县| 建德市| 五华县| 延吉市| 台中县| 吉安市| 桐梓县| 神木县| 句容市| 广元市| 宁河县| 准格尔旗| 乐昌市| 垫江县| 若羌县| 吉木乃县| 望城县| 鄂托克旗| 杨浦区| 奉化市| 黑龙江省| 营口市| 财经| 麟游县| 郸城县| 朝阳市| 青龙| 正安县| 永定县| 勃利县| 阿克陶县| 保山市| 苗栗县| 元谋县| 铅山县| 共和县|