1.把ant拖到data目录下
cd /data/
2.解压
tar -zxvf apache-ant-1.9.14-bin.tar.gz
cd apache-ant-1.9.14
pwd
3./etc/profile修改配置文件
export ANT_HOME=/data/apache-ant-1.9.14
source /etc/profile
ant -v