centos6/7 装 ant
来源:互联网 发布:怎么学java编程基础 编辑:程序博客网 时间:2024/05/18 11:12
ant的基础:http://blog.csdn.net/u014803081/article/details/72866756
ant的进阶:http://blog.csdn.net/u014803081/article/details/72869410
ant的svn:http://blog.csdn.net/u014803081/article/details/72884895
先装jdk,可以参看之前文章:http://blog.csdn.net/u014803081/article/details/72763300
到ant官网(http://ant.apache.org/bindownload.cgi)下载ant最新版本,比如
[root@localhost ~]# cd /usr/local/src
[root@localhost src]#wget https://mirrors.tuna.tsinghua.edu.cn/apache//ant/binaries/apache-ant-1.10.1-bin.tar.gz
解压
[root@localhost src]# tar -zxvf apache-ant-1.10.1-bin.tar.gz
移动重命名
[root@localhost src]# mv apache-ant-1.10.1 ../ant
配置环境变量
[root@localhost ~]# vi /etc/profile
export ANT_HOME=/usr/local/antPATH=$ANT_HOME/bin:$PATH
配置文件生肖
[root@localhost ~]# source /etc/profile
查看是否安装成功,如果不成钢,可以重启试试,source有时候也不知道有没有问题
[root@localhost ~]# ant -version
- centos6/7 装 ant
- CentOS6.3 安装配置 ant
- centos6/7 装 maven
- centos6/7 装 activemq
- CentOS6+ANT编译环境_和ant的一些属性
- centos6.5 jdk7 ant 64位安装
- centos6/7 装 git gogs服务
- CentOS6.6 装nginx
- vm12装centos6.5
- centos7/centos6 装nginx
- centos7/centos6 装mongodb
- centos7/centos6装redis
- CentOS6 安装 Python2.7
- CentOS6.7 安装Codeblocks
- centos6.7多网口聚合
- CentOS6.7 vsftpd配置
- centos6.7 安装 memcached
- centos6.7搭建SVN
- 如何制作9妹图
- 查看网络图片功能
- JDOM解析
- Android
- 第十六周:( LeetCode606) Construct String from Binary Tree(c++)
- centos6/7 装 ant
- 轮播图插件swiper
- liunx 环境下安装JDK1.8
- 正则表达式手记
- 数据库期末复习(6-9章)
- ecshop首页分类树广告设置
- 零基础研究kotlin
- 6.5世界环境日!来聊聊那些你想不到的环保黑科技?
- python中的函数可变参数