필요 조건
- JDK 8 이상
- Jenkins 2 now requires Servlet 3.1 to run. If you're not using the embedded Winstone-Jetty, make sure your container supports Servlet 3.1 (e.g. Tomcat 8) before upgrading.
- Jenkins 2 no longer supports AJP with the embedded Winstone-Jetty container, so if you're using Jenkins with a reverse proxy, please make sure it uses HTTP before upgrading.
- .war 옆의 화살표를 클릭하면 OS별 패키지를 다운 가능
- 패키지보다는 직접 톰캣을 설치하고 war로 설치하는 것을 추천
톰캣 8 설치
- https://tomcat.apache.org/download-80.cgi 다운로드
- 압축 해제
conf/server.xml 수정. ServerPort,
<Server port="11005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.startup.VersionLoggerListener" /> <!-- Security listener. Documentation at /docs/config/listeners.html <Listener className="org.apache.catalina.security.SecurityListener" />
<Connector port="11080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="11443" />
AJP Port 주석 처리
<!-- <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> -->
selinxu
semanage port -a -p tcp -t http_port_t 10080
install
- export JENKINS_HOME env var
- download war
- copy war to webapps/ROOT
- start topcat
- init password
- plugin install
- 22
Add Comment