Category:FreeBSD for Servers
From FreeBSDwiki
(Difference between revisions)
Zeus20040201 (Talk | contribs) |
Zeus20040201 (Talk | contribs) |
||
Line 14: | Line 14: | ||
5, chmod a+x tomcat.sh | 5, chmod a+x tomcat.sh | ||
+ | |||
6, Run /usr/local/etc/rc.d/tomcat.sh | 6, Run /usr/local/etc/rc.d/tomcat.sh | ||
+ | |||
7, netstat -an -p TCP | 7, netstat -an -p TCP | ||
+ | |||
8, find 8080 port or others | 8, find 8080 port or others | ||
+ | |||
9, Browse http://192.168.*.*:8080/ via IE or Firwfox or Opera | 9, Browse http://192.168.*.*:8080/ via IE or Firwfox or Opera | ||
+ | |||
10, reboot check again. | 10, reboot check again. |
Revision as of 19:54, 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
#!/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.
Pages in category "FreeBSD for Servers"
The following 63 pages are in this category, out of 63 total.