because it is maven Project , so I have to do this job. . is still downloaded from the official website apache-maven-3.2.5-bin.tar.gz. with the foundation of the previous , It's going to be a little faster. .
1.tar-zxvf apache-maven-3. 2 . 5 -bin.tar.gz
( unzip )
2.vi/etc/profile
( Open File , edit , Add the following variable at the end of the file , edit Finish Press ESC key to exit edit , and then enter : Wq or : x Save Exit )
3. source/etc/profile
( making changes to the profile effective , I'm not sure if this step is necessary , Sometimes execution does not execute sometimes . looks like it all worked. )
4.mvn-v
The installation configuration is successful if the following appears :
Installation is always simple, the difficulty is that the installation after the completion of a variety of problems can be flexible response. We will share with you some of the difficulties and solutions that have been encountered in the development of the project to the late test.
"Linux" installs Maven on CentOS