Browse Source

更新 'README.md'

chenxixian 6 years ago
parent
commit
4e01a6e07f
1 changed files with 20 additions and 0 deletions
  1. 20 0
      README.md

+ 20 - 0
README.md

@@ -178,6 +178,26 @@ cloudera-manager-server-db-2-6.0.1-610811.el7.x86_64.rpm
 
 ## hive-testbench部署
 
+安装Maven
+
+```
+wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
+tar zxf apache-maven-3.1.1-bin.tar.gz
+mv apache-maven-3.1.1 /usr/local/maven3
+nano /etc/profile
+source /etc/profile
+mvn -v
+```
+
+/etc/profile
+
+```
+export M2_HOME=/usr/local/maven3
+export PATH=$PATH:$JAVA_HOME/bin:$M2_HOME/bin
+
+```
+
+
 从Github克隆和部署hive-testbench项目
 
 ```