安装jenkins
[root@localhost ~]# ls
anaconda-ks.cfg apr-util-1.6.1
apache-tomcat-9.0.45 apr-util-1.6.1.tar.gz
apache-tomcat-9.0.45.tar.gz jenkins.war
apr-1.7.0 mysql-5.7.33-linux-glibc2.12-x86_64.tar.gz
apr-1.7.0.tar.gz
[root@localhost ~]# mv jenkins.war /usr/local/tomcat/webapps/
[root@localhost ~]# cd /usr/local/tomcat/webapps/
[root@localhost webapps]# ls
docs examples host-manager jenkins jenkins.war manager ROOT
[root@localhost webapps]# cat /root/.jenkins/secrets/initialAdminPassword
6c4f2b70cc654448b73af1b726bbf585
选择插件
People
Build History of Jenkins
Manage Jenkins
System Configuration系统配置
Global Tool Configuration全局工具配置
plugin manager插件管理器
Configure Global Security配置全局安全