Linux systems-Deploy Web applications on Tomcat servers

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.