zoukankan      html  css  js  c++  java
  • Centos搭建Groovy开发环境

    背景

            临时接到需求,要帮兄弟团队跑一点线上的数据,据说很急。于是拿出了许久不用的Spring-Boot。可是,可是,死活启动有问题,心累了。其实一般写脚本就是在Boot用Groovy写好,然后放到线上服务器运行之。最后实在无奈,只得在线上服务器安装Groovy环境。跑下脚本。

    ### 详情         现在博客上寻找一番,无果,也真的是很难看懂,一个环境配置,竟然没有找到一个现成的教程。于是乎,到官网一看,文档实在详细。奉上原文如下: ***

    3. SDKMAN! (The Software Development Kit Manager)

    This tool makes installing Groovy on any Bash platform (Mac OSX, Linux, Cygwin, Solaris or FreeBSD) very easy.

    Simply open a new terminal and enter:

    $ curl -s get.sdkman.io | bash 

    Follow the instructions on-screen to complete installation.

    Open a new terminal or type the command:

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

    Then install the latest stable Groovy:

    $ sdk install groovy 

    After installation is complete and you’ve made it your default version, test it with:

    $ groovy -version 

    That’s all there is to it!

  • 相关阅读:
    面试题总结
    h5c3新特性
    redis常用命令大全
    windows下挂载linux的nfs网络硬盘
    mysql之char、varchar、text对比
    Lua与C的交互
    通信模型socket
    程序编译流程
    区块链共识机制(POW、POS、DPOS等)的优缺点
    .net c#获取自定义Attribute
  • 原文地址:https://www.cnblogs.com/a-du/p/8310109.html
Copyright © 2011-2022 走看看