标签:blog port alt path 环境变量 setting 开启 XML lan
Jenkins 的安装:https://www.cnblogs.com/jhxxb/p/11406805.html
发布流程:Git -> Maven -> Tomcat
https://www.cnblogs.com/jhxxb/p/10571227.html
http://maven.apache.org/download.cgi
# 下载 wget -O ./apache-maven-3.6.1-bin.tar.gz http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz # 解压 tar -zxf /opt/apache-maven-3.6.1-bin.tar.gz -C /opt/ # 配置环境变量 vi /etc/profile # MAVEN_HOME export MAVEN_HOME=/opt/apache-maven-3.6.1/ export PATH=$PATH:$MAVEN_HOME/bin # 刷新环境变量 source /etc/profile # 验证Maven mvn -v # 配置 Maven 仓库 (华为) vim /opt/apache-maven-3.6.1/conf/settings.xml
settings.xml
<!-- 本地仓库路径 --> <localRepository>/opt/repo</localRepository> <!-- 网络仓库地址 --> <mirror> <id>huaweicloud</id> <mirrorOf>central</mirrorOf> <url>https://mirrors.huaweicloud.com/repository/maven/</url> </mirror>
https://tomcat.apache.org/download-80.cgi
# 下载 wget -O ./apache-tomcat-8.5.45.tar.gz http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.5.45/bin/apache-tomcat-8.5.45.tar.gz
开启 manager 配置:https://www.cnblogs.com/jhxxb/p/11240356.html
标签:blog port alt path 环境变量 setting 开启 XML lan
原文地址:https://www.cnblogs.com/jhxxb/p/11407842.html