1.下载tomcat9.tar
2.下载jenkins.war
3.安装tomcat
tar -zxvf tomcat.tar /usr/local/apache-tomcat/
4.添加配置 /usr/local/apache-tomcat/bin/startup.sh
5.部署jenkins
cp jenkins.war /usr/local/apache-tomcat/webapps/
6.缺少libxrender-dev库
sudo apt-get install
7.缺少libxtst-dev库
apt-get install libxtst-dev