nstalling Sun JDK 5.0, Eclipse WTP, Apache Tomcat 5.5, and ANT 1.6.x on Novell SuSE 10

Steps Involved:

  1. Install JDK
    1. Download and install JDK RPM from Sun
    2. log in as root
    3. execute shell script to unpack binary RPM: ./jdk-1_5_0_06-linux-i586.rpm.bin
    4. now you have an RPM you can install. You can either click on it in Konqueror or execute the following command: rpm -ivh jdk-1_5_0_06-linux-i586.rpm
  2. Download Other Software.
    1. Download Tomcat from Apache website.
    2. Download Tomcat Admin webapp from same site.
    3. Download ANT from Apache website.
    4. Download eclipse WTP all in one bundle
  3. Unpack Software. I unpack ant, tomcat, and eclipse into '/usr/java', where sun unzips the JDK.
    chmod 777 /usr/java -R
    unzip apache-tomcat-5.5.15.zip -d /usr/java
    unzip apache-tomcat-5.5.15-admin.zip -d /usr/java
    unzip apache-ant-1.6.5-bin.zip -d /usr/java
    eclipse - enter these commands in sequence (is there a way to do this with one command?)
    tar xfv wtp-all-in-one-sdk-1.0-linux-gtk.tar.gz
    mv eclipse /usr/java/eclipse
  4. Set Environment Variables. I like to edit /etc/bash.bashrc.local to set these.
    export JAVA_HOME=/usr/java/jdk1.5.0_06
    export JRE_HOME=$JAVA_HOME/jre
    export CATALINA_HOME=/usr/java/apache-tomcat-5.5.17
    export ANT_HOME=/usr/java/apache-ant-1.6.5
    export ECLIPSE_HOME=/usr/java/eclipse
    export PATH=$JAVA_HOME/bin:$PATH:$ANT_HOME/bin:$ECLIPSE_HOME/
  5. Test everything by typing the following commands in a new terminal:
    1. ant
    2. javac -version
    3. eclipse
  6. Setup tomcat for WTP use:
    1. Edit tomcat-users.xml. Add a username in the manager and admin role.
    2. Run:
      cd $CATALINA_HOME/bin/
      ./startup.sh
    3. Log into http://localhost:8080/manager/html to confirm there are no startup errors.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值