In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Install maven
91 gitlab-ctl start
92 / etc/init.d/jenkins start
Upload the required installation package
View your own jdk environment
93 rpm-qa | grep jdk
94 rpm-e java-1.8.0-openjdk-headless-1.8.0.102-4.b14.el7.x86_64 java-1.7.0-openjdk-headless-1.7.0.111-2.6.7.8.el7.x86_64-- nodeps # Uninstall its own jdk environment 95 tar zxf jdk-8u211-linux-x64.tar.gz-C / usr/local/ extract the configuration file to / usr/local/ 96 tar Zxf apache-maven-3.6.1-bin.tar.gz 97 mv apache-maven-3.6.1 / usr/local/maven extract the configuration file to add export XGP=/usr/local/maven export PATH=$PATH:$XGP/binexport JAVA_HOME=/usr/local/jdk1.8.0_211export JRE_HOME=/usr/local/jdk1.8.0_211/jreexport at the end of / usr/local/ 98 vim / etc/profile # CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jarexport PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH 99 source / etc/profile refresh 100mvn-v to test whether the installation is successful
Use Aliyun warehouse address
Vim / usr/local/maven/conf/settings.xml # 158Add
Alimaven
Aliyun maven
Http://maven.aliyun.com/nexus/content/groups/public/
Central
102 cd
103 mvn archetype:generate-DgroupId=cn.bdqn.bdqnweb-DartifactId=bdqnweb-DarchetypeArtifactId=maven-archetype-webapp-DinteractiveMode=false # build a project
86 cd xgp-demo/ enter the local git repository created before 87 rm-rf * delete all the contents of the repository 88 git add * upload to the cache will report an error of 89 git status check status 92 git rm index.html x.txt xgp.txt upload delete file 93 git commit-m "del" Upload to the board library 94 git push origin master upload to the remote warehouse
96 netstat-anpt | grep 8081
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.