You can see/download latest versions of tomcat from the url: http://maven.apache.org/download.html
To download and install Apache Maven-2.2.1
cd /opt
wget http://apache.mirrors.redwire.net//maven/binaries/apache-maven-2.2.1-bin.tar.gz
tar -xvf apache-maven-2.2.1-bin.tar.gz
Now set variables in server.
vi /root/.bashrc
Copy and paste below lines:
> export MVN_HOME=/opt/apache-maven-2.2.1
> export PATH=$MVN_HOME/bin:$PATH
Logout and Login to server.
No comments:
Post a Comment