1.1 springboot cli 安装

centos 7:

java 8 



先安装sdkman :

Installing SDKMAN! on UNIX-like platforms is as easy as ever. SDKMAN! installs smoothly on Mac OSX, Linux, Cygwin, Solaris and FreeBSD. We also support Bash and ZSH shells.
Simply open a new terminal and enter:

$ curl -s "https://get.sdkman.io" | bash

Follow the instructions on-screen to complete installation.
Next, open a new terminal or enter:

$ source "$HOME/.sdkman/bin/sdkman-init.sh"

Lastly, run the following code snippet to ensure that installation succeeded:

$ sdk version

If all went well, the version should be displayed. Something like:

  sdkman 5.0.0+51

然后sdk install springboot 


如果提示:

This command is not available while offline.

则执行 :sdk  offline disable.


如果提示:

 Some functionality is disabled or only partially available.
 If this persists, please enable the offline mode:

就执行 sdk offline enable.


如果提示:

xxx not a validate candidates

或者一直不行 :

就执行:
sdk flush candidates





先安装sdkman :

Installing SDKMAN! on UNIX-like platforms is as easy as ever. SDKMAN! installs smoothly on Mac OSX, Linux, Cygwin, Solaris and FreeBSD. We also support Bash and ZSH shells.
Simply open a new terminal and enter:

$ curl -s "https://get.sdkman.io" | bash

Follow the instructions on-screen to complete installation.
Next, open a new terminal or enter:

$ source "$HOME/.sdkman/bin/sdkman-init.sh"

Lastly, run the following code snippet to ensure that installation succeeded:

$ sdk version

If all went well, the version should be displayed. Something like:

  sdkman 5.0.0+51
阅读更多
个人分类: springboot
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

1.1 springboot cli 安装

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭