Build a jsp website service environment under Ubuntu7.04

Source: Internet
Author: User
Set up jdk6.0 + tomcat6 + apache2 + mysqlUbuntu7.04 to set up a jsp development environment MySQL + tomcat + apache + j2sdk1.6 enter rpm-q-a in Terminal to view whether the required software for rpm and rpm packages has been installed. If no rpm is installed, enter sudoapt-getinstallrpm in Terminal.

Jdk6.0 + tomcat6 + apache2 + mysql

Set up a JSP development environment in Ubuntu 7.04

MySQL + tomcat + apache + j2sdk1.6

Enter rpm-q-a in Terminal to check whether the required software for rpm and rpm packages has been installed before all installation starts.

If no rpm is installed, enter sudo apt-get install rpm in Terminal.

1. Install MySQL

Sudo apt-get install mysql-server

Start mysql service as root:/etc/init. d/mysql start

Stop mysql service as root:/etc/init. d/mysql stop

Start mysql: mysql-u root-p

Password

Ii. Install j2sdk

1. Download the jdk Installation File

Download the latest j2sdk version from download on SUN's website:

Http://java.sun.com/javase/downloads/netbeans.html

This download is jdk-6u1-linux-i586.bin

Downloaded to the user folder: homefolder (/home/jinye) in the Places drop-down box)

2. Install the jdk File

Enter./jdk-6u1-linux-i586.bin in Terminal

After a long string of Protocol Descriptions, you will be asked whether you agree with the agreement, and press y to start installation.

The installed folder is named jdk1.6.0 _ 01.

3. Establish a connection for JDK

Ln-s jdk1.6.0.0 _ 01 jdk

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.