mysql********
--------------------------------------------------------------------------------------------------------------- -
Required RPM Files:
(https://downloads.mysql.com/archives/community)
mysql-client-5.5.48-1.linux2.6.x86_64.rpm
mysql-server-5.5.48-1.linux2.6.x86_64.rpm
--------------------------------------------------------------------------------------------------------------- -
Steps:
1. Upload mysql-server-5.5.48-1.linux2.6.x86_64.rpm, mysql-client-5.5.48-1.linux2.6.x86_64.rpm to Linux
2. Installing mysql-server-5.5.48-1.linux2.6.x86_64.rpm with the rpm command, missing Perl dependencies
RPM-IVH mysql-server-5.5.48-1.linux2.6.x86_64.rpm
Workaround
[email protected] mysql]# Yum install Libaio
[[email protected] mysql]# Yum Install Perl
3, re-install MYSQL-SERVER,RPM package conflict
RPM-IVH mysql-server-5.5.48-1.linux2.6.x86_64.rpm
4. Uninstalling the conflicting RPM package
RPM-E mysql-libs-5.1.73-5.el6_6.x86_64--nodeps
5. Re-install mysql-client and Mysql-server
RPM-IVH mysql-server-5.5.48-1.linux2.6.x86_64.rpm
Installation successful, prompt:
REMEMBER to SET A PASSWORD for the MySQL root USER!
To does so, start the server, then issue the following commands:
/usr/bin/mysqladmin-u root password ' new-password '
/usr/bin/mysqladmin-u root-h shizhan01 password ' new-password '
Alternatively you can run:
/usr/bin/mysql_secure_installation6. Starting the MySQL service
Service MySQL Start7. Prompt for MySQL client not installed
RPM-IVH mysql-client-5.5.48-1.linux2.6.x86_64.rpm
8. Start the MySQL service and initialize the MySQL
Service MySQL Start
/usr/bin/mysql_secure_installation
9. Test MySQL
Mysql-u root-p Root
jdk************
----------------------------------------------------------------------
Jdk-7u45-linux-x64.tar.gz
---------------------------------------------------------------------
1. Upload jdk-7u45-linux-x64.tar.gz to Linux
2. Unzip the JDK to the/root/apps directory
mkdir Apps
TAR-ZXVF jdk-7u45-linux-x64.tar.gz-c/root/apps/
3. Set environment variables, append relevant content at the end of the/etc/profile file
Vi/etc/profile
Export java_home=/root/apps/jdk1.7.0_45 Export path= $PATH: $JAVA _home/bin |
4. Refresh Environment variables
Source/etc/profile
5. Test whether Java commands are available
Java-version
tomcat**********
-------------------------------------------------------------
Apache-tomcat-7.0.68.tar.gz
----------------------------------------------------------------
1. Upload apache-tomcat-7.0.68.tar.gz to Linux
2. Unzip Tomcat
TAR-ZXVF apache-tomcat-7.0.68.tar.gz-c/root/apps/
3. Start Tomcat
/root/apps/apache-tomcat-7.0.68/bin/startup.sh
4. See if the Tomcat process is started
JPs
5. View the Tomcat process port
NETSTAT-ANPT | grep 2465
6. Access Tomcat through a browser
http://192.168.0.101:8080/
Minimize CentOS6.7 (64bit) Install mysql5.5, JDK, Tomcat