CentOS 安装/卸载 Jenkins
CentOS 安装 Jenkins
安装
yum install jenkins
systemctl restart jenkins.service
访问 http://ip:8080/
卸载
systemctl stop jenkins.service
yum remove jenkins
rm -rf /etc/sysconfig/jenkins.rpmsave
rm -rf /var/cache/jenkins/
rm -rf /var/lib/jenkins/
rm -rf /var/log/jenkins
rm -rf /usr/lib/jenkins
试了试 Docker 安装 Jenkins,体验不太好。