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

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.

主站蜘蛛池模板: 清原| 汾阳市| 财经| 县级市| 浮梁县| 泗洪县| 巴林左旗| 白玉县| 湘乡市| 桂阳县| 浦江县| 龙门县| 江山市| 营口市| 大石桥市| 彰武县| 黎平县| 鄄城县| 尼玛县| 彩票| 肇庆市| 武隆县| 镇巴县| 彭山县| 九江市| 漳州市| 南部县| 曲麻莱县| 大同市| 新巴尔虎右旗| 班玛县| 大厂| 昔阳县| 安图县| 江阴市| 吉安市| 正安县| 岳池县| 陈巴尔虎旗| 胶南市| 中江县|