1.安装SUN JDK
http://www.jb51.cc/article/p-nohqdumf-bpk.html
2.安装SVN
yum -y install svn
3.安装maven
1)下载安装
wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
tar xzf apache-maven-3.3.9-bin.tar.gz
mv apache-maven-3.3.9 /usr/local/
cd /usr/local/
ln -s apache-maven-3.3.9 apache-maven
2)配置
vi /etc/profile
export M2_HOME=/usr/local/apache-maven
export PATH=$PATH:$M2_HOME/bin
source /etc/profilemvn -v
4.安装tomcat7并设置自启动
1)拷贝tomcat.tar.gz并解压到/usr/local/tomcat7
2)配置自启动