Linux服务器上安装Jenkins,对照Jenkins官网说明,记录下命令安装步骤.
官网说明地址:https://pkg.jenkins.io/debian-stable/
命令:
This is the Debian package repository of Jenkins to automate installation and upgrade. To use this repository, first add the key to your system:
wget -q -O -https://pkg.jenkins.io/debian-stable/jenkins.io.key| sudo apt-key add -
Then add the following entry in your/etc/apt/sources.list:
deb https://pkg.jenkins.io/debian-stable binary/ >/etc/apt/sources.list
Update your local package index, then finally install Jenkins:
sudo apt-get update
sudo apt-get install jenkins
安装完成后,查看进程
ps -ef | grep jenkins

网友评论