Redhat Linux9.0 environment installation and commissioning of Tomcat JDK MYSQL application platform:
1. The required main software:
J2SDK 1.4.0 version
Tomcat -5.0.25 version
MySQL-4.0.20 version
2. Software Installation
Mysql installation
Command list:
RPM -IVH mysql-server-4.0.20-0.i386rpm # Install MySQL Server
RPM-IVH mysql-client-4.0.20-1.i386.rpm # Install MySQL Client
/ usr / mysql / safe_mysqld & # launches MySQL Server
MySQL # Run the mysql client and open the ROOT user's remote access. To debug
Use mysql
Update user set host = '%' Where user = 'root' and host <> 'localhost';
Flush privileges;
quit
To this mysql installation
Note: Selecting a package when installing Linux, do not select a SQL server, if you accidentally install it, you want to delete all from the Add Remove program to install the above software. Otherwise, there will be many conflicts and troubles. ! !
2. Install JDK
Software version: J2SDK-1_4_0-FCS-Linux-i386.rpm
Double click directly. Do not choose to install the installation directory, automatically install it to / usr / jdk / directory
3. Install Tomcat
Software version: jakarta-tomcat-5.0.25.tar
Double-click directly under X-WINDOW to compress to / usr / tomcat
3. Environment variable setting
Edit the / etc / profile file, add:
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 ./startup.sh start
This successfully launched the JSP MySQL configuration environment under Linux.
http: // localhost: 8080