본문 바로가기

Server/WS & WAS

[Windows] WS & WAS 시작하기


  Apache

  1. install/uninstall
     httpd.exe -k (un)install -n "service_name"
    
  2. start
     httpd.exe -k start
    
  3. Syntax Check
     httpd.exe -t
    
  4. httpd.exe Options


  Apache Tomcat
  1. install/uninstall
     service.bat install(remove) "service_name"
    
  2. start
     startup.bat
    
  3. 서비스 실행 안될시
     - JAVA_HOME, JRE_HOME, CATALINA_HOME  → 환경변수 패스 확인
     - catalina run → log 확인
    

  Windows Service

  1. 서비스 시작
     sc start  "service_name"
    
  2. 서비스 중지
     sc stop   "service_name"
    
  3. 서비스 삭제
     sc delete "service_name"
    


'Server > WS & WAS' 카테고리의 다른 글

웹 서버와 WAS  (0) 2017.11.27