tomcat 매니저 실행
페이지 정보
작성자 미친새 작성일 20-02-21 17:46 조회 23,546 댓글 0본문
1. [Tomcat 설치 디렉토리] / conf / tomcat-users.xml 수정
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-status"/>
<user username="tomcat_admin" password="P@ssw0rd" roles="manager-gui,manager-script,manager-status"/>
2. [Tomcat 설치 디렉토리] / conf / catalina / localhost / manager.xml 추가(없으면 해당 파일 추가, 존재할 경우 수정)
<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/manager"> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" /> </Context>
3. host-manager.xml
<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/host-manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
</Context>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-status"/>
<user username="tomcat_admin" password="P@ssw0rd" roles="manager-gui,manager-script,manager-status"/>
2. [Tomcat 설치 디렉토리] / conf / catalina / localhost / manager.xml 추가(없으면 해당 파일 추가, 존재할 경우 수정)
<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/manager"> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" /> </Context>
3. host-manager.xml
<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/host-manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
</Context>
관련링크
댓글목록 0
등록된 댓글이 없습니다.