Last active
April 19, 2017 04:56
-
-
Save kassadin/746f6e7e4bc93943be5251025fead4e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak | |
## ubuntu 14.04 清华镜像 | |
#sudo curl -O https://gist.githubusercontent.com/kassadin/bcb1e07863f40f61be5dc5561149856f/raw/8c74bd0d66002940129ce284b816d9af071e6c08/sources.list | |
sudo wget -P /etc/apt/ https://gist.githubusercontent.com/kassadin/bcb1e07863f40f61be5dc5561149856f/raw/8c74bd0d66002940129ce284b816d9af071e6c08/sources.list | |
sudo apt-get -y update | |
sudo apt-get -y install zip unzip git | |
# sdkman nedd zip unzip | |
curl -s "https://get.sdkman.io" | bash | |
source "$HOME/.sdkman/bin/sdkman-init.sh" | |
sdk version | |
# sdkman auto answer | |
# rm -rf ~/.sdkman/etc/config | |
mv ~/.sdkman/etc/config ~/.sdkman/etc/config.bak | |
wget -P ~/.sdkman/etc/ https://gist.githubusercontent.com/kassadin/b22670d5cdcc08917c0dd7520748e19c/raw/9a65b01c5b0f76f0313480ec1fd99ad6d6403f6d/config | |
sdk install java 8u121 | |
# sdk install springboot | |
# sdk install maven | |
# sdk install kotlin | |
git clone https://github.com/spring-io/initializr.git | |
cd initializr | |
./mvnw clean install | |
cd initializr-service | |
../mvnw spring-boot:run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
从服务器复制文件到本地