본문 바로가기
NAS

nas4free java + tomcat 설치

by 자바초보자 2016. 5. 6.
728x90

nas4free java + tomcat 설치

 

The OpenJDK® project provides a native open-source implementation of the Java® SE Platform and is available in versions 6, 7 and 8 for all supported FreeBSD releases on the i386 and amd64 platforms.

OpenJDK® 7 is frequently updated, and it is suggested to refer to a revision log for detailed release history. Additionally, one may choose to review more information at FreshPorts.

To install OpenJDK® 7 package use the pkg(8) utility:

pkg install openjdk
or
cd /usr/ports/java/openjdk7
make install clean

OpenJDK® 8 is frequently updated, and it is suggested to refer to a revision log for detailed release history. Additionally, one may choose to review more information at FreshPorts.

To install OpenJDK® 8 package use the pkg(8) utility:

pkg install openjdk8
or
cd /usr/ports/java/openjdk8
make install clean

OpenJDK® 6 is frequently updated, and it is suggested to refer to a revision log for detailed release history. Additionally, one may choose to review more information at FreshPorts.

To install OpenJDK® 6 package use the pkg(8) utility:

pkg install openjdk6
or
cd /usr/ports/java/openjdk6
make install clean

 

 

 

====================================

 

#pkg install openjdk6

 

 

java 설치 위치 : /usr/local/openjdk6/

 

openjdk6 -> /mnt/hdd01/java/openjdk6로 복사함

 

apache-tomcat-6.0.45.tar.gz 톰캣 사이트에서 다운받아 적당한 경로에 복사

 

tomcat/bin/catalina.sh 수정

 

JAVA_HOME=/mnt/hdd01/java/openjdk6

 

startup.sh

 

 

 

 

728x90

'NAS' 카테고리의 다른 글

nas4free mysql install  (0) 2016.05.05
pkg 설명  (0) 2016.05.03
nas4free svn 설치  (0) 2016.05.03
FREEBSD 비정상적으로 종료되어 싱글모드로 계속될때  (0) 2015.10.07
freebsd 부팅오류 singlemode  (0) 2015.10.07