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

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.

主站蜘蛛池模板: 肇源县| 汉中市| 卢龙县| 分宜县| 湾仔区| 台中县| 龙南县| 格尔木市| 浦县| 寻甸| 衡阳市| 壶关县| 舒城县| 久治县| 务川| 嘉定区| 扎囊县| 襄汾县| 怀远县| 大荔县| 清水县| 新闻| 中阳县| 昔阳县| 客服| 宿州市| 珲春市| 淳安县| 大田县| 巍山| 通江县| 广饶县| 安泽县| 昭觉县| 会同县| 福建省| 花莲市| 宁阳县| 大洼县| 凤城市| 北宁市|