pavement

Category:FreeBSD for Servers

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
4, cd /usr/local/etc/rc.d & create tomcat.sh
 
4, cd /usr/local/etc/rc.d & create tomcat.sh
  
\#!/bin/sh
+
#!/bin/sh
  
 
setenv /usr/local/diablo-jdk1.5.0 JAVA_HOME
 
setenv /usr/local/diablo-jdk1.5.0 JAVA_HOME

Revision as of 20:52, 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.

Subcategories

This category has only the following subcategory.

Personal tools