修改maven 依赖的JDK版本:
https://stackoverflow.com/questions/13752519/how-to-change-maven-java-home
http://blog.csdn.net/sinat_27535209/article/details/59135359
安装Maven:
http://www.cnblogs.com/clicli/p/5866390.html
https://tecadmin.net/install-apache-maven-on-centos/
安装JDK:
https://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/
https://stackoverflow.com/questions/16271316/setting-java-home-classpath-in-centos-6
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz"
alternatives --install /usr/bin/java java /opt/jdk1.8.0_144/bin/java 2
alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_144/bin/jar 2
alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_144/bin/javac 2
alternatives --set jar /opt/jdk1.8.0_144/bin/jar
alternatives --set javac /opt/jdk1.8.0_144/bin/javac
export JAVA_HOME=/opt/jdk1.8.0_144
export JRE_HOME=/opt/jdk1.8.0_144/jre
export PATH=$PATH:/opt/jdk1.8.0_144/bin:/opt/jdk1.8.0_144/jre/bin
安装MySQL:
https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-centos-7
https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql
配置MySQL:
http://www.cnblogs.com/zhuandshao/p/7039714.html
安装Maven:
https://tecadmin.net/install-apache-maven-on-centos/
安装Tomcat:
https://www.vultr.com/docs/how-to-install-apache-tomcat-8-on-centos-7
https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-7-on-centos-7-via-yum
http://blog.csdn.net/gangan1345/article/details/73187834
http://blog.csdn.net/chszs/article/details/49153881
配置Tomcat:
https://www.tecmint.com/run-deploy-multiple-web-applications-instances-tomcat-centos-ubuntu/
安装Nginx:
https://devtidbits.com/2015/12/08/nginx-as-a-reverse-proxy-to-apache-tomcat/
https://www.tecmint.com/install-nginx-on-centos-7/
https://www.godaddy.com/garage/tech/config/how-to-install-and-configure-nginx-on-centos-7/
安装PHP:
https://www.vultr.com/docs/how-to-install-php-7-x-on-centos-7
安装Redis:
https://www.linode.com/docs/databases/redis/install-and-configure-redis-on-centos-7
Linux安全配置:
http://runningyongboy.blog.51cto.com/8234857/1704546
创建数据库:
CREATE DATABASE mydb
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
Linux常用命令:
http://www.cnblogs.com/5201351/p/4208277.html
http://www.powerxing.com/linux-environment-variable/
https://stackoverflow.com/questions/14183934/how-to-properly-set-java-home-in-etc-environment