createrepo . # 安装httpd服务并配置,并配置虚拟主机(如果有nginx的话,可以略过,nginx配置虚拟主机时记得开启autoindex参数) #yum -y install httpd #vim /etc/httpd/conf.d/cdh_yum.conf <VirtualHost *:80> ServerAdmin webmaster@gongchang.com Do
1、ant安装 Tar jxvf apache-ant-1.8.4-bin.tar.bz2 Mv apache-ant-1.8.4 /usr/local/ant 2、fuse安装 # tar zxvf fuse-2.8.4.tar.gz # cd /usr/local/fuse-2.8.4/ # ./configure # make # make install # modprobe fuse 3、环境变量设置(请结合自己的实际情况设置如下项目) Vi /etc/profile ...
环境需求: automake,autoconf,m4,libtool,pkgconfig,fuse,fuse-devel,fuse-libs。 需要外部下载ant 1.8.2,在apache网站下载即可 安装过程: #wget http://mirror.bjtu.edu.cn/apache//ant/binaries/apache-ant-1.8.2-bin.zip #unzip apache-ant-1.8.2-bin.zip #export JAVA_HOME=/usr/java/jdk1.6.0_21 #...