Installation notes for Tomcat + Jdk + Mysql application platform in Linux

Source: Internet
Author: User
Installation notes for the Tomcat + Jdk + Mysql application platform in Linux-Linux Enterprise Application-Linux server application information. For more information, see the following. 1. Required main software:
J2SDK 1.4.0
Tomcat-version 5.0.25
Mysql-4.0.20 Edition

2. Software Installation

1. Install MYSQL
Command list:
Rpm-ivh MySQL-server-4.0.20-0. I 386rpm # Install mysql server
Rpm-ivh MySQL-client-4.0.20-1.i386.rpm # Install mysql client
/Usr/mysql/safe_mysqld & # Start mysql server
Mysql # runs the mysql client and opens the root user's remote access permission. For debugging

Use mysql
Update user set host = '%' where user = 'root' and host <> 'localhost ';
Flush privileges;
Quit

Mysql installation is now complete

Note: Do not select the SQL Server when installing the linux software package. If you accidentally install the software, you must delete all the software from the Add/delete program before installing the software. Otherwise, there will be a lot of conflicts and troubles .!!

2. Install JDK
Software Version: j2sdk-1_4_0-fcs-linux-i386.rpm

Double-click it. You do not need to select the installation directory and install it automatically under the/usr/jdk/directory.

3. install tomcat
Software Version: jakarta-tomcat-5.0.25.tar

In X-window, double-click to decompress the package to/usr/tomcat.

3. Set Environment Variables
Edit the/etc/profile file and add the following at the end of the file:
JAVA_HOME =/usr/java/j2sdk1.4.0 _ 03
Export JAVA_HOME
TOMCAT_HOME =/usr/tomcat
Export TOMCAT _ HOME

Start tomcat

Go to the tomcat/bin directory under the terminal and execute./startup. sh start

In this way, the configuration environment of jsp + mysql in linux is successfully started.
Related Article

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.