zabbix install(ft. docker)
# Virtualation/Docker2024. 3. 25. 09:06zabbix install(ft. docker)

# 설치환경 [darksharavim]cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) ## 자빅스 컨테이너 이미지 다운로드 [darksharavim]docker pull zabbix/zabbix-server-mysql Using default tag: latest Trying to pull repository docker.io/zabbix/zabbix-server-mysql ... missing signature key도커 버전으로 인한 이슈 도커 버전 업그레이드 진행 ## 도커설치 [darksharavim]yum -y update [darksharavim]yum install -y yum-utils [darksharavim]yum-config..

[아파치]외부링크 차단
# Web&WAS/Apache2024. 2. 14. 08:31[아파치]외부링크 차단

RewriteEngine On # Allow example.com domain RewriteCond %{HTTP_REFERER} !^https?://(www\.)?example\.com [NC] # Log blocked requests RewriteRule .* - [L,R=403] # Custom log format for blocked requests LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" blocked_requests CustomLog "/path/to/your/logs/blocked_requests.log" blocked_requests

아파치 워드프레스 xmlrpc 차단 및 특정ip허용
# Web&WAS/Apache2022. 10. 20. 19:32아파치 워드프레스 xmlrpc 차단 및 특정ip허용

보안상 워드프레스의 xmlrpc는 취약하다 그래서 특정ip만 사용가능하게끔 httpd.conf에 아래와 같이 설정한 후 아파치 재기동 order by deny,allow deny from all allow from x.x.x.x order설정은 뒤에서부터 1순위이기때문에 위 설정은 1. allow 설정으로 특정ip만 허용하고 2. deny 설정으로 전부 차단 https://httpd.apache.org/docs/2.4/ko/sections.html 섹션 설정 - Apache HTTP Server Version 2.4섹션 설정 이 문서는 최신판 번역이 아닙니다. 최근에 변경된 내용은 영어 문서를 참고하세요. 설정파일에 있는 지시어는 서버 전체에 적용되거나, 특정 디렉토리, 파일, 호스트, URL에만 적용될..

아파치 일반사용자 권한 실행
# Web&WAS/Apache2022. 9. 20. 16:17아파치 일반사용자 권한 실행

아파치 실행 권한 수정후 시작시 아래와 같이 에러 발생[darksharavim.tistory.com] ./apachectl start (13)Permission denied: AH00072: make_sock: could not bind to address [::]:80 (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs httpd파일 권한을 아래와 같이 변경(아파치 설치경로/bin 폴더로 이동)[darksharavim.tistory.com]chown root:[사용자명] httpd..

아파치 TLSv1.3 적용(feat. openssl)
# Web&WAS/Apache2022. 5. 4. 20:05아파치 TLSv1.3 적용(feat. openssl)

설치환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ ./apachectl -V Server version: Apache/2.4.53 (Unix) Server built: Apr 27 2022 14:08:18 Server's Module Magic Number: 20120211:124 Server loaded: APR 1.7.0, APR-UTIL 1.6.1, PCRE 8.32 2012-11-30 Compiled using: APR 1.7.0, APR-UTIL 1.6.1, PCRE 8.32 2012-11-30 Architecture: 64-bit Server MPM: worker threaded: yes (fixed thread cou..

image