Linux
-
Apache 소스 설치Linux 2025. 3. 23. 14:18
설치 파일 다운로드https://archive.apache.org/dist/httpd/httpd (https://httpd.apache.org/download.cgi) Apache HTTP Server. 클라이언트로부터의 HTTP 요청을 받아들이고, 이에 대한 응답을 제공하는 서버 apr, apr-util (https://apr.apache.org/download.cgi)apr : 아파치 HTTP 서버가 플랫폼에 독립적으로 동작할 수 있도록 하는 라이브러리 apr-util : APR의 유틸리티 라이브러리로, 데이터베이스 접속, XML 파싱 등의 기능을 제공 pcre2 (https://github.com/PCRE2Project/pcre2/tags) 정규 표현식을 처리하기 위한 라이브러리 (기존pcre는 ..
-
[CentOS] SNMP 설치하기Linux 2025. 3. 22. 21:45
SNMP 패키지 리스트 확인 yum list | grep snmp SNMP 패키지 설치 yum install -y net-snmp.x86_6 설정 파일 구성 sec.name : Username source : SNMP 허용 IPcomunity : comunity name# vi /etc/snmp/snmpd.conf##### First, map the community name "public" into a "security name"# sec.name source communitycom2sec notConfigUser default publiccom2sec notConfigUser 10.1.33.4/24 public 서비스 시작 및 부팅 시 자동 ..
-
[ERROR] CentOS7에서 openssl-devel 설치 시 충돌Linux 2025. 3. 22. 21:41
현상 CentOS7에서 openssl-devel 설치 시 충돌 skip 시 skip되는 목록들 원인 yum이 openssl 최신 버전을 발견하고 충돌 해결한 방법oepenssl-devel이 아닌 높은 버전의 openssl11, openssl11-devel 설치 repo 구성시 (openssl11은 epel-release 저장소 추가해야 사용 가능) # epel-release repo 추가yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmrepotrack openssl11 openssl11-devel
-
[폐쇄망] Git 버전 업그레이드Linux 2025. 3. 22. 21:36
설치 파일 준비https://github.com/git/git/tags GitHub - git/git: Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to theGit Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documen...github.com 필요 패키지 레포 생성 (외부..
-
Git 버전 업그레이드Linux 2025. 3. 22. 21:29
Git 버전별 소스 확인https://github.com/git/git/tags GitHub - git/git: Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to theGit Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documen...github.com 설치 파일 다운로드 # ..
-
Chrony 설치 및 NTP 동기화 설정Linux 2025. 3. 21. 18:27
Chrony는 시간 동기화(NTP, Network Time Protocol) 를 위한 서비스로, 서버의 시간을 정확하게 유지하는 데 사용됩니다. Chrony 설치sudo yum install chrony 서비스 시작sudo systemctl start chronyd 자동 시작 설정sudo systemctl enable chronyd 상태 확인sudo systemctl status chronyd NTP 서버 확인 및 동기화 상태 조회chronyc tracking
-
[Nginx] Proxy Server 테스트Linux 2025. 3. 21. 18:22
클라이언트(사용자)가 특정 서버(ex. localhost:80)로 요청을 보내면 Nginx가 이 요청을 받아 다른서버(ex. naver.com)로 대신 전달하도록 Reverse Proxy 테스트 Nginx 설치 (yum)필수 구성 요소 설치yum install yum-utils Repo 설정# vi /etc/yum.repos.d/nginx.repo[nginx-stable]name=nginx stable repobaseurl=http://nginx.org/packages/centos/$releasever/$basearch/gpgcheck=1enabled=1gpgkey=https://nginx.org/keys/nginx_signing.keymodule_hotfixes=true[nginx-mainline]..
-
[ERROR][Ubuntu] Hash Sum mismatchLinux 2025. 3. 21. 15:08
에러 내용apt update 명령 실행 시 Hash Sum mismatch 오류 발생! 해결한 방법APT 캐시 삭제 및 압축 방식 설정 변경 후 업데이트sudo rm -rf /var/lib/apt/lists/*sudo apt-get update -o Acquire::CompressionTypes::Order::=gzsudo apt update && sudo apt upgrade ReferenceHash sum mismatch when apt-get update Ubuntu 20.04 VM with Multipass[LINUX] apt update 오류 [해시 합이 맞지 않습니다.]