1.JDK安装
略。
2.Tomcat 安装
下载tomcat
[root@seed local]# wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.24/bin/apache-tomcat-9.0.24.tar.gz
解压部署
[root@seed download]# tar xf apache-tomcat-9.0.59.tar.gz -C /usr/local/
[root@seed download]# cd /usr/local
[root@seed local]# ln -s apache-tomcat-9.0.59/ tomcat
[root@seed local]# ll
总用量 0
drwxr-xr-x. 9 root root 220 3月 7 10:20 apache-tomcat-9.0.59
drwxr-xr-x. 2 root root 6 4月 11 2018 bin
drwxr-xr-x. 2 root root 6 4月 11 2018 etc
drwxr-xr-x. 2 root root 6 4月 11 2018 games
drwxr-xr-x. 2 root root 6 4月 11 2018 include
drwxr-xr-x. 3 root root 60 3月 5 14:41 java
drwxr-xr-x. 2 root root 6 4月 11 2018 lib
drwxr-xr-x. 2 root root 6 4月 11 2018 lib64
drwxr-xr-x. 2 root root 6 4月 11 2018 libexec
drwxr-xr-x. 6 root root 54 3月 7 08:48 nginx
drwxr-xr-x. 2 root root 6 4月 11 2018 sbin
drwxr-xr-x. 5 root root 49 3月 4 18:11 share
drwxr-xr-x. 2 root root 6 4月 11 2018 src
lrwxrwxrwx. 1 root root 21 3月 7 10:28 tomcat -> apache-tomcat-9.0.59/
3.Jenkins安装
Jenkins 下载
Jenkins-v2.319.3https://get.jenkins.io/war-stable/2.319.3/jenkins.warJenkins 部署安装
1. 将jenkins.war文件放入tomcat下的webapps目录下,启动tomcat时,会自动在webapps目录下建立jenkins目录,在地址栏上需要输入localhost:8080/jenkins。
2.按提示步骤设置Jenkins。