安装
首先需要环境是安装jdk环境
安装好Jdk之后打开官网 Gradle官方下载地址:https://gradle.org/releases/
使用 xftp工具将文件下载到服务器上

我们选择下载

我们下载完成之后打开xftp工具

我们将下载好的压缩包移动到服务器上
使用wget 安装
上图中我们地红色区域内右键选择复制链接地址


修改配置文件
解压完成后,输入命令 vim /etc/profile ,进入配置文件进行编辑,输入下面红色圈出来的内容

刷新配置文件然后查看版本信息表示安装成功

网友评论