15 Star 42 Fork 29

Spring / init_server

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
mvn.sh 407 Bytes
Copy Edit Web IDE Raw Blame History
廖师兄 authored 2020-04-20 19:17 . edit
#!/usr/bin/env bash
wget https://mirror.bit.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
tar zxvf apache-maven-3.6.3-bin.tar.gz
rm -rf apache-maven-3.6.3-bin.tar.gz
mv apache-maven-3.6.3 /usr/local/
ln -s /usr/local/apache-maven-3.6.3/bin/maven /usr/bin/maven
echo -e "M3_HOME=/usr/local/apache-maven-3.6.3;\nexport PATH=\$PATH:\$M3_HOME/bin;" >> /etc/profile
source /etc/profile

Comment ( 0 )

Sign in for post a comment

Shell
1
https://gitee.com/liaoshixiong/init_server.git
git@gitee.com:liaoshixiong/init_server.git
liaoshixiong
init_server
init_server
master

Search