pavement

Category:FreeBSD for Servers

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by 61.47.7.195 (Talk); changed back to last version by Jimbo)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
1, New FreeBSD 6.1 install & pkg_add -r javavmwrap  (Note: >=2.0.6)
+
FreeBSD excells at being a server. This section should focus strictly on server-related FreeBSD articles. If you want to add something to this category, just add '''<nowiki>[[Category:FreeBSD for Servers]]</nowiki>''' to the end of the article.
 
+
2, Download JDK 1.5.00.7 from FreeBSD Foundation & install
+
 
+
3, Download Tomcat 5.5 then cd /usr/local & tar -zxvf apache-tomcat-*****
+
 
+
4, cd /usr/local/etc/rc.d & create tomcat.sh
+
 
+
#!/bin/sh
+
setenv JAVA_HOME /usr/local/diablo-jdk1.5.0
+
/usr/local/apache-tomcat-*****/bin/startup.sh
+
 
+
5, chmod a+x tomcat.sh
+
 
+
6, Run  /usr/local/etc/rc.d/tomcat.sh
+
 
+
7, netstat -an -p TCP
+
 
+
8, find 8080 port or others
+
 
+
9, Browse http://192.168.*.*:8080/ via IE or Firwfox or Opera
+
 
+
10, reboot check again.
+

Latest revision as of 02:07, 15 November 2007

FreeBSD excells at being a server. This section should focus strictly on server-related FreeBSD articles. If you want to add something to this category, just add [[Category:FreeBSD for Servers]] to the end of the article.

Subcategories

This category has only the following subcategory.

Personal tools