본문 바로가기

전체 글

C276x260.fwebp.q85 [draft] OpenSSL 취약점 보안 업데이트 권고 OpenSSL 취약점 보안 업데이트 권고□ 개요 o OpenSSL 프로젝트는 OpenSSL에서 발생하는 취약점을 해결한 보안 업데이트 발표 o 공격자는 해당 취약점을 악용하여 피해를 발생시킬 수 있으므로, 해당 제품을 사용하는 이용자들은 최신 버전으로 업데이트 권고□ 설명 [1] o OpenSSL에서 버퍼오버플로우로 인해 발생하는 원격 코드 실행 취약점 (CVE-2022-3602) o OpenSSL에서 버퍼오버플로우로 인해 발생하는 서비스 거부 취약점 (CVE-2022-3786)□ 영향을 받는 버전 및 해결 버전제품명영향받는 버전해결 버전OpenSSL3.0.0 ~ 3.0.6 버전3.0.7 버전 ※ 하단의 참고사이트를 확인하여 해결 버전으로 업데이트 수행 [2] ※ OpenSSL 1.0.2, 1.1.1.. 더보기
C276x260.fwebp.q85 [draft] OpenSSL을 사용하여 개인키와 공개키를 생성하는 방법 OpenSSL을 사용하여 개인키와 공개키를 생성하는 방법1. 개인키(Private Key) 생성openssl genrsa -out private.key 1024$ openssl genrsa -out private.key 1024Generating RSA private key, 1024 bit long modulus......++++++................++++++e is 65537 (0x10001)RSA 알고리즘을 사용하여 private.key 파일에 개인키가 생성됩니다.2. 공개키(Public Key) 생성openssl rsa -in private.key -out public.key -pubout$ openssl rsa -in private.key -out public.key -puboutw.. 더보기
C276x260.fwebp.q85 [draft] CentOS 8에서 Failed to download metadata for repo 'appstream' 오류를 해결하는 방법 CentOS 8에서 Failed to download metadata for repo 'appstream' 오류를 해결하는 방법오류$ yum install telnetFailed to set locale, defaulting to C.UTF-8Repository appstream is listed more than once in the configurationCentOS Linux 8 - AppStream 67 B/s | 38 B 00:00Error: Failed to download metadata for repo 'appstream': Cannot prepare internal m.. 더보기
C276x260.fwebp.q85 [draft] centos 8 Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist centos 8 Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist[에러]$ yum install -y systemd sudo openssh-serverFailed to set locale, defaulting to C.UTF-8CentOS Linux 8 - AppStream 41 B/s | 38 B 00:00Error: Failed to download metadata for rep.. 더보기
C276x260.fwebp.q85 [draft] 아파치(Apache)에서 HTTP/2 모듈 활성화하는 방법 아파치(Apache)에서 HTTP/2 모듈 활성화하는 방법Ubuntu 도커 컨테이너 실행docker run -it --rm --platform linux/amd64 anti1346/ubuntu2204:latest bash아파치 설치 스크립트curl -fsSL https://raw.githubusercontent.com/anti1346/zz/main/application_middleware/install-apache-compilev2.sh | bash/usr/local/apache2/bin/apachectl -V$ /usr/local/apache2/bin/apachectl -VServer version: Apache/2.4.57 (Unix)Server built: Jun 28 2023 11:35:09S.. 더보기
C276x260.fwebp.q85 [draft] CentOS 7에서 curl을 컴파일하여 HTTP/2를 지원하도록 설치하는 방법 CentOS 7에서 curl을 컴파일하여 HTTP/2를 지원하도록 설치하는 방법테스트 환경운영체제 정보$ cat /etc/centos-releaseCentOS Linux release 7.9.2009 (Core)curl 버전 확인$ curl --versioncurl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftpFeatures: AsynchDNS GSS-Negotiate IDN.. 더보기
C276x260.fwebp.q85 [draft] 리눅스 apachetop 명령어 Apachetop 명령어Apachetop 명령어는 Apache 웹 서버의 로그 파일을 분석하여 실시간으로 서버의 상태를 모니터링하는 도구입니다. Apachetop 명령어를 사용하면 서버의 요청 수, 응답 시간, CPU 사용량, 메모리 사용량 등을 그래프로 볼 수 있습니다. Apachetop은 다음과 같은 기능을 제공합니다.실시간으로 Apache 서버의 상태를 모니터링합니다.Apache 서버의 요청 수, 응답 시간, CPU 사용량, 메모리 사용량 등을 그래프로 표시합니다.다양한 필터 조건을 사용하여 Apache 서버의 상태를 세부적으로 모니터링할 수 있습니다.Apache 서버의 상태를 이메일이나 SNMP로 알림을 보낼 수 있습니다.1. Apachetop 설치sudo yum install apachetop$.. 더보기
C276x260.fwebp.q85 [draft] 우분투에서 NTP 서버를 구성하는 방법 우분투에서 NTP(Network Time Protocol) 서버를 구성하는 방법테스트 환경docker run -it --rm --privileged --platform linux/amd64 anti1346/ubuntu2204:systemd bashNTP 서버 설치 및 구성하는 방법1. 패키지 설치sudo apt updatesudo apt install ntp2. 설정 파일 편집NTP 구성 파일인 /etc/ntp.conf를 편집합니다.vim /etc/ntp.confntp.conf더보기# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for helpdriftfile /var/lib/ntp/ntp.drift# Leap seconds definition pro.. 더보기