系统iso:
http://download.chinaunix.net/download/0014000/13440.shtml
安装svn:
http://www.cnblogs.com/jiqing9006/p/3370627.html
安装java:
yum install java-1.7.0-openjdk* -y
安装mysql
yum install mysql-server
修改/etc/profile(环境变量):
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin 加到文件最后
打开防火墙8080端口(/etc/sysconfig/iptables):
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT 加上去.
(查看端口命令netstat -nap | grep tomcat)
安装nginx
1.下载http://nginx.org/en/download.html
2.tar后./configure 发现依赖.
先yum -y install pcre
然后yum -y install pcre-devel
接着yum -y install gzip
最后yum -y install zlib-devel
3.可以安装了.
4.启动: ./usr/local/nginx/sbin/nginx
重启: ./usr/local/nginx/sbin/nginx -s reload
关闭:通过杀pid
4.安装tomcat
wget http://mirrors.cnnic.cn/apache/tomcat/tomcat-7/v7.0.73/bin/apache-tomcat-7.0.73.tar.gz
然后打开防火墙,并使之生效
/etc/rc.d/init.d/iptables save
/etc/init.d/iptables restart
5.安装mongodb:
http://www.open-open.com/lib/view/open1452062470464.html