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