原本我的便當盒真的是拿來作生活樂趣的事情,
但是最近PC不知道哪跟筋錯亂,
我要寫jsp時,每每會出現藍底白字的畫面,機率大慨是100%。
因為以上的原因,而我又不想幫PC看病,
所以我決定使用mac來幫我辦事,
我只知道它內建有apache,
而沒有tomcat,且我對unix-like的系統不懂,
希望站上的高人能指點小人我…
我已爬過文了…有看到java而無jsp,
如果可以的話希望也能指導適用的資料庫。
先謝謝願意指導的高人了!
第一種
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
去http://sisuworks.com/page3/page3.html下載
Tomcat By SW.zip
正規法:
去http://tomcat.apache.org/下載您要安裝的版本
重裝也不行重新開機,必用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