Ubuntu 16.04 MAVEN Install
############ MAVEN INSTATLL
cd /server/tools wget http://mirror.apache-kr.org/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz tar xf apache-maven-3.5.0-bin.tar.gz mv apache-maven-3.5.0 /server/ ln -s /server/apache-maven-3.5.0 /server/maven echo 'export M2_HOME=/server/maven' >> /etc/profile echo 'export M2=$M2_HOME/bin' >> /etc/profile echo 'export MAVEN_OPTS="-Xms256m -Xmx512m"' >> /etc/profile echo 'export PATH=$M2:$PATH' >> /etc/profile source /etc/profile mvn -version Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T04:39:06+09:00) Maven home: /server/maven Java version: 1.7.0_80, vendor: Oracle Corporation Java home: /usr/lib/jvm/jdk1.7.0_80/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-62-generic", arch: "amd64", family: "unix