[請教]如何在osx上安裝tomcat?

原本我的便當盒真的是拿來作生活樂趣的事情,
但是最近PC不知道哪跟筋錯亂,
我要寫jsp時,每每會出現藍底白字的畫面,機率大慨是100%。

因為以上的原因,而我又不想幫PC看病,
所以我決定使用mac來幫我辦事,
我只知道它內建有apache,
而沒有tomcat,且我對unix-like的系統不懂,
希望站上的高人能指點小人我…

我已爬過文了…有看到java而無jsp,
如果可以的話希望也能指導適用的資料庫。

先謝謝願意指導的高人了!
2006-05-24 15:52 發佈
文章關鍵字 osx上 TOMCAT
有兩種方式
第一種
1.Download the source package from official website
2.Unzip to path , /Library , which I recommended
3 Setup the environment variable .
Ex. export CATALINA_HOME=/Library/Apache-Tomcat-5.0.28
export JAVA_HOME=/Library/Java/Home
4.Type the url address 'http://localhost:8080/'
If you saw the welcome page,it works.

第二種,俗稱下一歩安裝法
Tomcat by SW


以下取自於versiontracker.com介紹

This package includes the following packages: This package includes the following optional components (nothing is required):

1. Tomcat 5.5.12 for Mac OS X 10.2 - 10.4 systems (running Java 1.4.2 or 1.5)
2. Shell scripts
3. Runtime scripts and files to automatically start Tomcat 5.5.12 when the system boots
4. Logging, using Log4J and the Commons Logging subproject
5. Sun's JavaMail API's (through JavaMail's "mail.jar" and the JavaBeans Activation Frameworks' "activation.jar").
6. Apache's Axis components
7. Apache's XML-Security Components
8. Apache's Ant Components (*with new separate installer for ANT standalone models)
9. Apache's JUnit component
10. JDBC Adaptors for FrontBase, OpenBase, Oracle, MySQL and PostgreSQL
11. Apache Commons DBCP jars
12. Apache Lucerne .jar
13. iText .jar
14. JFreeChart .jar
15. Tomcat Manager
感謝barlino1289與RandyJr大的回覆與解答,
Tomcat By SW.zip這個檔案真的很方便,
太感恩了!
安裝tomcat5.5版,使用jdk1.4.2 tomcat5.5 啓動secvices,就用停止服務,

重裝也不行重新開機,必用JDK 5.0才可work,google找1.5要花時間,附上下載連結網址:


http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html#jre-1.5.0_05-oth-JPR

FYI
我是下載1.5.0.0.6版才能讓 tomcat5.5正常work.
http://download.oracle.com/otn-pub/java/jdk/1.5.0_06/jdk-1_5_0_06-windows-i586-p.exe

PS.先安裝jdk-1_5_0_06->再安裝tomcat5.5->安裝jdr需指向jdk-1_5_0_06安裝jdr目錄。
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?