linux under java tomcat mysql eclipse installation

sponsored links
Liux under the latest tomcat5.5.25 + mysql5.0.45 + jdk1.0.5.13 + eclipse3.3.1 + myeclipse6.0 one configuration, install the required packages:
1.JDK 5.0 Update 13 (jdk-1_5_0_13-linux-i586-rpm.bin)
Download Address: & TUrl = an1npDpbKod7kSYrROhENTonIec2W0D1Lc4nXz + pGFFranixdCdgxDTPbW4 = & TicketId = dVN6OgZLN +4 y / w == & GroupName = SDLC & BHost = & FilePath = / ESD36/JSCDL/jdk/1.5.0_13/jdk-1_5_0_13-linux-i586-rpm.bin & File = jdk - 1_5_0_13-linux-i586-rpm.bin (probably expired)
You can download by following these steps:
Find -> JDK 5.0 Update 13 Click the Download icon on the right side,
Access to the download page click the Accept License Agreement | Review License Agreement
And find the Linux Platform - Java Development Kit 5.0 Update 13
Click the Linux RPM in self-extracting file for download
Download Address: (Probably expired)
You can download by following these steps:
Binary Distributions found the following Core items click tar.gz (pgp, md5) to download the tar.gz
Download Address: # linux-static-x86-32bit-rpms
See the Linux x86 generic RPM (statically linked against glibc 2.2.5) downloads download
Download Address: ps/R- (probably expired)
You can download by following these steps: ps/R-
Download a list of the top of Eclipse SDK to find Linux (x86/GTK 2) (Supported Versions) eclipse-SDK- 138 MB eclipse-SDK- (md5) (sha1)
Click eclipse-SDK- download
Download Address: (Probably expired)
You can download by following these steps:
Select Accept License Agreement | Review License Agreement then click the download button 6.0 then find 2. MyEclipse Enterprise Workbench 6.0.1 GA for RedHat Enterprise Linux 4
Click on the second plug-in download Note: The above package on the download after you are familiar with in order to facilitate the management of the installation directory.
Two, the installation
1. To install JDK 5.0 Update 13
# chmod + x jdk-1_5_0_13-linux-i586-rpm.bin
# ./jdk-1_5_0_13-linux-i586-rpm.bin
# yes

Note: chmod + x jdk-1_5_0_13-linux-i586-rpm.bin Add execute permission
./jdk-1_5_0_13-linux-i586-rpm.bin implementation jdk-1_5_0_13-linux-i586-rpm.bin and generate jdk-1_5_0_13-linux-i586-rpm
yes install the express consent
jdk default installation directory is / usr/java/jdk1.5.0_13
Installed for him set up a link directory to save the length of
# ln-s / usr/java/jdk1.5.0_13 / usr / jdk
# Vi / etc / profile
Add the following content (Note: Direct copy the following would be a surplus of some characters, it is necessary to use at X under nEdit Edit)
JAVA_HOME = / usr / jdk
PATH = $ PATH: $ JAVA_HOME / bin
# Source / etc / profile
# Java-version
java version "1.5.0_13"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot (TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)
Successful installation
2. Install apache-tomcat-5.5.25
# tar-zxvf apache-tomcat-5.5.25.tar.gz-C / usr / local (extract to / usr / local)
# ln-s / usr/local/apache-tomcat-5.5.25 / usr / local / tomcat
Start tomcat
# / usr / local / tomcat / bin /
Successful kitten that appears to attach to the system startup
# vi / etc / rc.d / rc.local
# / usr / local / tomcat / bin / (added to end of file)
3. Mysql5.0.45 installation
First of all, use the command: rpm-qa | grep mysql to see if MySQL is installed and its version, will install the mysql delete if you are using a linux version contains please selinux and has started to turn off / etc / selinux / config in SELinux = enforcing change SELINUX = disabled
# rpm-ivh MySQL-client-5.0.45-0.i386.rpm
# rpm-ivh MySQL-devel-5.0.45-0.i386.rpm
# rpm-ivh MySQL-server-5.0.45-0.i386.rpm
# rpm-ivh MySQL-shared-5.0.45-0.i386.rpm
#. / Mysqladmin-u root password 123456
# mysql-u root-p123456 * log mysql
# SET PASSWORD FOR 'root' @'192 .168.1.17 '= OLD_PASSWORD ('123456'); (this step can be omitted)
Database path: / var / lib / mysql /
Start command: / etc / init.d / mysql strat
Stop command: / usr / bin / mysqladin-u root-p shutdown
4. Installed eclipse-SDK-
# tar-zxvf eclipse-SDK- / usr / local (extract to / usr / local directory and generate / usr / local / eclipse directory)
#. / usr / local / eclipse / eclipse (start and make relevant settings can be set up graphical desktop environment desktop shortcut)
5. Myeclipse6.0 installation
Myeclipse installation with the windows installed under the shell is not much difference between the implementation of MyEclipse_6_0_1GA_E3_3_1_Installer.bin documents:
# ./MyEclipse_6_0_1GA_E3_3_1_Installer.bin
(If necessary, to change the permissions: # chmod 777 MyEclipse_6_0_1GA_E3_3_1_Installer.bin)
Press enter it will be after you Detect system environment, to be detected after normal Myeclipse installation screen will appear, which operate with the windows down to operate under are the same,
This will let you select inside the eclipse installation directory, here is my / usr / local / eclipse, and then select the installation directory, enter / usr / local / myeclipse, then next on the list along the way the installation is complete, restart eclipse, click on the menu item Help -> Software Updates -> Manager Configuration
At open windows can be seen already at myeclipse there. Followed by the register, you can use the following account number and password:
Subscriber: administrator
Subscription Code: nLR7ZL-655342-54657656405281154
Registration after:
Subscriber: administrator
Product ID: E2MY (MyEclipse Standard Subscription)
License version: 1.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20091021
Number of licenses: 897
Configure Tomcat:
eclipse in the selection window -> preferences, select the pop-up window Myeclipse -> Servers -> Tomcat5
Then here in the Tomcat server selection "Enable", select below Tomcat Home Directory you installed tomcat directory, then the lower right corner of the Apply application, determine the exit of all installed the following Writing a small program to be tested
1. Myeclipse set up the use of engineering tests.jsp page write the following code
<% @ Page contentType = "text / html; charset = gb2312" language = "java" import = "java.sql .*"%>
<table border=1>
Class.forName ( ""). NewInstance ();
Connection con = java.sql.DriverManager.getConnection ( "jdbc: mysql: / /", "root", "123456");
Statement stmt = con.createStatement ();
ResultSet rst = stmt.executeQuery ( "select * from ad_roleInfo order by role_id;");
while ( ())
out.println ( "<tr>");
out.println ( "<td> + rst.getString (" role_id ")+</ td> ");
out.println ( "<td> + rst.getString (" role_name ")+</ td> ");
out.println ( "</ tr>");

rst.close ();
stmt.close ();
con.close ();
</ table>
</ body>
</ html>
Note: The database link may need to mysql-connector-java-3.1.14.bin.jar (corresponding to version) Search the corresponding version download
2. Set up the database using the mysql command shell and then set up under
# mysql-u root-p123456
# create database tery;
# use tery;
# Create TABLE ad_roleInfo (
role_id INT NOT NULL,
role_name VARCHAR (20),
PRIMARY KEY (role_id)

insert into ad_roleInfo values (1, 'super administrator');
insert into ad_roleInfo values (2, 'General Manager');
insert into ad_roleInfo values (3, 'Marketing Department');
insert into ad_roleInfo values (4, 'technical department');
insert into ad_roleInfo values (5, 'Customer Service Department');
insert into ad_roleInfo values (6, 'Accounting');
3. Link test
Corresponding data table shows that really show a successful installation, the corresponding version of the installation of high basic and consistent in this configuration, please refer to the corresponding versions of linux make corresponding adjustments
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of linux under java tomcat mysql eclipse installation

  • In the Linux platform to install and configure Ruby on Rails Detailed

    ruby on rails recommend the production environment is running Linux / FreeBSD / Unix, or Unix family of operating systems, using lighttpd + FCGI solution. The following will be my Linux operating system, lighttpd + FCGI, MySQL database as an example, comp

  • ActiveMQ practice the road (four) ActiveMQ 4.x + JBoss 4.x MDP actual articles

    Keyword: ActiveMQ ActiveMQ practice the road (four) ActiveMQ 4.x + JBoss 4.x MDP actual articles At <<ActiveMQ Practice ( Three ) ActiveMQ 4.x +JBoss 4.x Consolidating articles >> which we compare in detail the ActiveMQ with JBoss integration

  • Shoes - Construction Ruby client gadget

    Shoes Ruby are cross-platform GUI applications, recently released a new version, it is a very interesting Ruby GUI client, the following are some characteristics of Introduction: 1. Cross-platform support for windows / linux / mac os 2. Very small, t ...

  • servlet specification 2.2

    Introduction: Spring Security watch, when to see more use of the Servlet Listener, filter and so on. Filter done, listener never. Therefore want from the Internet to find a closer look at the servlet specification, go thorough investigation, there is no s

  • spring myfaces hibernate richfaces

    1.web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="" xmlns:xsi="" xsi:schemaLocation="

  • Process migration from tomcat to websphere changes

    Process migration from tomcat to websphere changes Because customers use the web application server software used by different what tomcat5, tomcat6, websphere5.1, websphere6.1, weblogic8, and so on, and the software used inconsistent standards, ibm's


    dsfdsa Tomcat 6 with the connection pool data source configuration project: test Driver path: D: \ workspace \ test \ WebRoot \ WEB-INF \ lib ...

  • Learn Java flow

    Related Articles: J2EE without EJB Introducing to Spring Framework (English revised edition) J2EE without EJB caused consider Recommend circles: reading space More related recommend Java Learning Path (1), tools, articles First, JDK (Java Development Kit)

  • The EJB3 Persistence

    EJB3 persistence with Hibernate is very similar to the mechanism: Environment: Server: JBOSS5.0 Database: MySQL5.0 1. Set up a data source First of all, in jboss-5.0.0.GA \ server \ default \ deploy, the establishment of a database used to connect the dat

  • Servlet brief introduction

    Servlet brief introduction: Servlet is a small application server Are used to complete the B / S architecture, the client requests the response to treatment Platform independence, performance, able to run thread Servlet API for Servlet provides the s ...

blog comments powered by Disqus
Recent Entries
Tag Cloud
Random Entries