1:tomcat program boot from start
At the end of the/etc/profile file configuration/tomcat6/bin/startup.sh
Install MySQL database under 2:linux,
Now MySQL database server side and client side, using tool leapftp upload to
Pub directory, RPM-IVH install MySQL
This is a dependent package that needs to be installed before the installation can continue.
MySQL is self-booting by default.
Chkconfig mysql off: default off MySQL Service
3: Set password for MySQL user root
Set password for ' root ' @ ' localhost ' =password (' root ');
Login:
Mysql-u root-p
Prompt to enter password:
Login Successful!
4: Deploy the project to Tomcat above
Publish the ready-made war package to the WebApps directory,
Start Tomcat in the bin directory./startup.sh
Encounter a problem: a war package that can be used on the Windows platform,
Linux system above can not, after checking, I built the table when used to indicate lowercase,
The Windows platform is case-insensitive, but the Linux platform is strictly case-sensitive;
MySQL Modify table name:
Rename table Old_name to new_name;
To view MySQL database occupancy ports:
Show global variables like ' port ';
Linux systems-Deploy Web applications on Tomcat servers