IT(64)
-
[httpd] tomcat-connector 구성 간 오류. /usr/lib64/apr-1/build/libtool: line 1752: gcc: command not found
내용: /usr/lib64/apr-1/build/libtool: line 1752: gcc: command not found gcc가 설치되어있지 않아 발생. /usr/lib64/apr-1/build/libtool: line 1752: gcc: command not found make[1]: *** [../scripts/build/rules.mk:36: jk_ajp12_worker.lo] Error 1 make[1]: Leaving directory '/home/Service/tomcat-connectors-1.2.48-src/native/common' make: *** [Makefile:470: all-recursive] Error 1 해결방안: # yum install gcc -y
2020.11.14 -
[httpd] tomcat-connector 구성 간 오류. Invalid location for apxs: '/usr/bin/apxs'
내용: configure: error: Invalid location for apxs: '/usr/bin/apxs' tomcat-connector 구성 시, httpd-devel가 설치되지 않아 발생한 오류. 해결 방안: # yum install httpd-devel -y
2020.11.14 -
[httpd] SSL Library Error: error:0200100D:system library:fopen:Permission denied
내용: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration SSL Library Error: error:0200100D:system library:fopen:Permission denied SSL 모듈이 설치되어 있지 않아 발생한 오류. 해결방법: # yum install mod_ssl
2020.11.14 -
[httpd] /etc/httpd/modules/mod_jk.so: cannot open shared object file: Permission denied
내용: httpd: Syntax error on line 60 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_jk.so into server: /etc/httpd/modules/mod_jk.so: cannot open shared object file: Permission denied. SELinux가 엑세스를 차단하여 발생한 오류로, SELinux를 비활성화 하거나 보안 context 변경. 아래는 보안 contex를 변경하여 해결. 해결 방법: # chcon -t textrel_shlib_t /usr/lib64/httpd/modules/mod_jk.so # chcon -u system_u -t httpd_modules_t mod_jk.so
2020.11.14 -
[jenkins] jenkins 설치하기.
먼저, jenkins.repo를 yum repository에 추가한다.# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo # rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key # yum upgrade -y jdk와 함께 설치해주면 끝.# yum install jenkins java-1.8.0-openjdk-devel -y # systemctl daemon-reload 서비스를 실행하고 상태를 확인해 준다.# systemctl start jenkins && systemctl status jenkins
2020.11.14 -
[nginx] proxy 사용 시, index 구문 미 작동.
서비스 구성 상, 기본적으로는 proxy를 통해 WAS로 처리하고, 일부 컨텐츠만 정적으로 처리하려고 했더니, proxy 설정 때문인지 index 구문이 정상적으로 작동하지 않았다. ./nginx_vserver.conf ~ location / { root ; index index.html; include nginx_vserver_service_proxy.conf; } ~ rewrite를 이용하여 해결. ./nginx_vserver.conf ~ location / { root ; index index.html; rewrite ^/$ /index.html; include nginx_vserver_service_proxy.conf; } ~
2020.11.14