:::: 개발 ::::/└ CAFE24 호스팅

디지털 오션 센토스(CentOs) JDK & tomcat 설치 정리

nayha 2014. 12. 16. 16:31

JDK

http://luckyyowu.tistory.com/122


* 심볼릭 링크는 윈도우 바로가기 정도로 이해 하면 됨


TOMCAT 

http://luckyyowu.tistory.com/124


센토스 7.0 이상 부터는 방화벽 설정이 iptables 에서 firewalld 아래 URL 방식으로 바뀜

새로운 방화벽 참고 1   http://2cpu.co.kr/m/bbs/board.php?bo_table=QnA&wr_id=427088

새로운 방화벽 참고 2   http://www.oracle-base.com/articles/linux/linux-firewall-firewalld.php


chkconfig --add  오류 날때 

tomcat 서비스 는 chkconfig 를 지원 하지 않습니다 )

http://knackforge.com/blog/sivaji/fix-chkconfig-command-not-found




tomcat 을 chkconfig 에 등록하려는데

아래와 같이 등록이 되지 않는다..
#chkconfig --add tomcat
service tomcat does not support chkconfig

/etc/init.d/tomcat 에 아래 내용을 추가해둔다.
# chkconfig: 345 90 90
# description: init file for tomcat
# processname: tomcat

#자바와 톰켓 경로 지정 필수 ...
JAVA_HOME=/usr/local/java
CATALINA_HOME=/usr/local/server/tomcat 

export CATALINA_HOME
export JAVA_HOME

요거 추가했다 ... 아오




반응형