pavement

Category:FreeBSD for Servers

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edit of 202.186.157.3, changed back to last version by Dave)
(Tomcat,installing)
Line 1: Line 1:
 
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.
 
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.
 +
 +
1, New FreeBSD 6.1 install
 +
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 /usr/local/diablo-jdk1.5.0 JAVA_HOME
 +
/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.

Revision as of 20:50, 1 November 2006

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.

1, New FreeBSD 6.1 install 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

  1. !/bin/sh

setenv /usr/local/diablo-jdk1.5.0 JAVA_HOME /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.

Subcategories

This category has only the following subcategory.

Personal tools