No Image

[RHEL9] enable rc.local on systemd (rhel8, rhel9)

2024-05-21 KENNETH 0

Enable rc.local on systemd     rc.local 파일에 권한 부여 파일 : /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local     rc-local 서비스 활성화 그냥 시도하면 위와 같은 메세지 발생     rc-local 수정 파일 : /lib/systemd/system/rc-local.service 하단에 내용 추가     rc-local 활성화 (재시도)    

No Image

[Ubuntu] WARNING : `gateway4` has been deprecated, use default routes instead.

2024-03-07 KENNETH 0

  개요 리눅스 : Ubuntu 22.04 버전에서 netplan 패키지의 업그레이드로 인해 기존 Ubuntu 20.04 에서 사용했던 방식으로 netplan 설정 & 적용 시 경고 발생 (적용은 됨)   에러메세지 ** (generate:361167): WARNING **: 10:36:31.670: `gateway4` has been deprecated, use default routes instead. See the ‘Default routes’ section of the documentation for more details.     설정변경 IP : 192.168.0.110 SUBNET : 255.255.255.224 GATEWAY : 192.168.0.1   1. 기존 설정 addresses: – 192.168.0.110/27 gateway4: 192.168.0.1   2. 변경 설정 addresses: – 192.168.0.110/27 routes: – to: default via: 192.168.0.1   에러메세지의 내용과 같이 gateway4 옵션이 제거되고 routes 옵션으로 대체 하면 되겠다     추가로… ** (generate:361167): WARNING **: 10:36:31.670: Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others. 이러한 메세지가 같이 나왔다면 설정파일의 접근권한(퍼미션)에 의한 것이므로 chmod 600 /etc/netplan/00-installer-config.yaml 처리를 해주면 더이상 발생하지 않음

[OPENSSL] problem sni after update google chrome browser

2023-10-03 KENNETH 0

problem sni after update google chrome browser   증상 단일 서버(openssl+apache) 구동중 다수의 도메인이 설정되어 있으며, 각 도메인에는 SSL인증서가 적용되어 있음 여러 도메인이 443포트를 같이 사용중 (by SNI) 크롬 업데이트 후 설정상 가장 첫도메인을 제외한 나머지 도메인의 “https://”연결이 되지 않음 크롬 오류 메세지 : ERR_SSL_PROTOCOL_ERROR     브라우저 Google Chrome Version : 117.0.5938.132 Date : 2023.09.27(??) 이전 버전의 크롬에서는 문제가 발생하지 않음 그 외 엣지, 파이폭스 등의 브라우저에서는 문제가 발생하지 않음     서버 OS : RHEL6 openssl : openssl-1.0.1e-30.el6.8.x86_64     참고 RHEL6 : https://bugzilla.redhat.com/show_bug.cgi?id=1150032 RHEL7 : https://bugzilla.redhat.com/show_bug.cgi?id=1150033     업데이트 해결버전 : openssl-1.0.1e-34.el6 RHEL6 의 경우 이미 지원이 종료되었으나 종료전 마지막 버전 openssl-1.0.1e-58.el6_10.x86_64 으로 패치       패치 전     패치 후  

How to change data collection interval for sysstat on RHEL9 or Ubuntu22.04

2023-05-02 KENNETH 0

sysstat 의 수집시간 변경하기   OS : RHEL9 / Ubuntu-22.04 기본값 : 10분     기존 방법 OS : RHEL8 이하 / Ubuntu-20.04 이하 /etc/cron.d/sysstat     변경된 방법 RHEL9 : /etc/cron.d/sysstat 파일 자체가 없음 Ubuntu-22.04 : /etc/cron.d/sysstat 파일은 있으나 수정해도, 수집 시간이 변경되지 않음 /lib/systemd/system/sysstat-collect.timer