- Learning Continuous Integration with Jenkins(Second Edition)
- Nikhil Pathania
- 164字
- 2021-07-02 21:18:37
Installing the latest stable version of Jenkins
If you prefer to install a stable version of Jenkins, then follow these step in sequence:
- 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 -
- 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
- Update the package index:
sudo apt-get update
- Now, install Jenkins using the following command:
sudo apt-get install jenkins
- See the Starting, stopping, and restarting Jenkins on Ubuntu section if you are required to start Jenkins.
- 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.
推薦閱讀
- Modern Web Testing with TestCafe
- Linux操作系統(tǒng)基礎(chǔ)
- Puppet實(shí)戰(zhàn)
- Linux從零開(kāi)始學(xué)(視頻教學(xué)版)
- Installing and Configuring Windows 10:70-698 Exam Guide
- 計(jì)算機(jī)系統(tǒng)開(kāi)發(fā)與優(yōu)化實(shí)戰(zhàn)
- 混沌工程實(shí)戰(zhàn):手把手教你實(shí)現(xiàn)系統(tǒng)穩(wěn)定性
- 8051軟核處理器設(shè)計(jì)實(shí)戰(zhàn)
- 無(wú)蘋果不生活 The New iPad隨身寶典
- Linux命令行大全(第2版)
- Linux服務(wù)器配置與管理
- Python UNIX和Linux系統(tǒng)管理指南
- Kali Linux高級(jí)滲透測(cè)試(原書第3版)
- Advanced Infrastructure Penetration Testing
- 辦公自動(dòng)化教程(Windows7+Office2010)