1, vpsmate Installation
# wget http://www.vpsmate.org/tools/install.py# python install.py
2, after installing the vpsmate, but also to install the IUS source, execute the following command (note version):
Yum-y Install gccyum-y Install GCC-C++RPM-IVH http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/ ius-release-1.0-11.ius.el6.noarch.rpm (32-bit) RPM-IVH http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_ 64/IUS-RELEASE-1.0-11.IUS.CENTOS6.NOARCH.RPM (64-bit)
3. Install MySQL
3.1 Manual
Wget–c http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-server-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com
Wget–c http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-client-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com
Wget–c http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-devel-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.co
RPM-IVH mysql-server-5.6.10-1.rhel5.x86_64.rpm
RPM-IVH mysql-client-5.6.10-1.rhel5.x86_64.rpm
RPM-IVH mysql-devel-5.6.10-1.rhel5.x86_64.rpm
If there is a file conflict in the installation process, first uninstall the original file
Yum-y Remove mysql-libs-5*
Start the service
Service MySQL Start
3.2. Install the database service using the Vpsmate service management
If there is a file conflict in the installation process, first uninstall the original file
Yum-y Remove mysql-libs-5*
Go to database management, give all permissions to the item with the host bit%, and set the password
4. Installing the JRE
Download: wget http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jre-8u5-linux-x64.rpm? Authparam=1404923334_f3f295697f694911cb4d0848524df4df
Installation: Rpm-ivh jre-8u5-linux-x64.rpm
Environment configuration:
Vi/etc/profile
! (Enter insert mode)
Insert the following class tolerances:
Path:/usr/java/jre1.8.0_05/bin
Export Java_home =/usr/java/jre1.8.0_05
Export CLASSPATH = $JAVA _home/lib:.
Save and exit Esc+:wq
(Do not save direct exit is: q!)
Verification: Java-version
5. Install Tomcat
wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-8/v8.0.9/bin/apache-tomcat-8.0.9.tar.gz
TAR-ZXVF apache-tomcat-8.0.9.tar.gz
Cp-r Apache-tomcat-8.0.9/usr/local/tomcat
/usr/local/tomcat/bin/startup.sh
Test: Http://[ip Address]:8080/
done!