리눅스 썸네일형 리스트형 우분투 24.04에서 Broadcom MegaRAID 컨트롤러를 설치하는 방법 우분투 24.04에서 LSI/Broadcom MegaRAID 12GSAS 컨트롤러를 설치하는 방법테스트 환경서버 제품 정보 확인dmidecode -t system | grep -E "Product Name" Product Name: ProLiant DL360 Gen11운영체제 정보 확인lsb_release -dDescription: Ubuntu 24.04.1 LTS드라이버 확인 및 설치드라이버 확인lspci -nn | grep -i raid3b:00.0 RAID bus controller [0104]: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS39xx [1000:10e2]모듈 로드 여부 확인lsmod | grep megaraid_sasmegaraid_sas .. 더보기 우분투 24.04에서 RAID 컨트롤러 정보를 확인하는 방법 우분투 24.04에서 RAID 컨트롤러(RAID 카드) 정보를 확인하는 방법테스트 환경제품dmidecode -t system | grep -E "Product Name" Product Name: ProLiant DL360 Gen11운영체제 정보lsb_release -dDescription: Ubuntu 24.04.1 LTSRAID 컨트롤러 확인PCI 장치 목록에서 RAID 컨트롤러 확인sudo lspci | grep -i raid3b:00.0 RAID bus controller: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS39xx상세 정보 확인더보기---더 자세한 모델명, 드라이버, 상태 확인sudo lspci -v | grep -i raid -A 53b:00.0 .. 더보기 CentOS 7에서 ntpdate와 hwclock을 활용해 시스템 시간과 하드웨어 클럭을 동기화하는 방법 CentOS 7에서 ntpdate와 hwclock을 활용해 시스템 시간(System Clock)과 하드웨어 클럭(Hardware Clock, BIOS/RTC)을 동기화하는 방법1. ntpdate 설치sudo yum install -y ntpdate버전 확인ntpdate -v15 Oct 13:33:16 ntpdate[43777]: ntpdate 4.2.6p5@1.2349-o Tue Jun 23 15:38:19 UTC 2020 (1)15 Oct 13:33:16 ntpdate[43777]: no servers can be used, exiting2. 현재 시스템 시간 확인dateWed Oct 15 12:50:33 KST 20253. NTP 서버와 시간 확인(쿼리 모드)실제 시간을 바로 바꾸지 않고 오프셋 확인.. 더보기 우분투 24.04에서 GitLab를 설치하는 방법 우분투 24.04에서 GitLab를 설치하는 방법테스트 환경운영체제 정보$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 24.04.2 LTSRelease: 24.04Codename: nobleGitLab 설치시스템 업데이트sudo apt update필수 패키지 설치sudo apt install debian-archive-keyringsudo apt install -y \ curl \ gnupg \ apt-transport-httpsGPG 키 추가curl -fsSL https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey \ | .. 더보기 우분투 24.04에서 PHP 8.3의 OPcache를 활성화하는 방법 우분투 24.04에서 PHP 8.3의 OPcache를 활성화하는 방법OPcache 개요PHP는 요청 시 소스 코드 → 파싱 → 바이트코드 생성 → 실행 단계를 거칩니다.OPcache는 이 중 파싱·컴파일 과정을 캐싱하여, 이후 요청은 메모리에 저장된 바이트코드를 바로 실행 → 성능이 크게 향상됩니다.PHP 5.5부터 기본 포함된 확장이며, PHP 8.3에서도 별도 설정만으로 활성화 가능합니다.PHP 8.3 및 OPcache 설치 확인PHP 버전 확인php -vPHP 8.3.12 (cli) (built: Sep 27 2024 03:53:05) (NTS)Copyright (c) The PHP GroupZend Engine v4.3.12, Copyright (c) Zend Technologies with.. 더보기 우분투 24.04에 PowerDNS를 설치하고 도메인을 등록하는 방법 우분투 24.04에 PowerDNS를 설치하고 도메인을 등록하는 방법테스트 환경운영체제 정보$ lsb_release -dDescription: Ubuntu 24.04.2 LTS1. PowerDNS 설치시스템 업데이트sudo apt updatesqlite3 패키지 설치sudo apt install -y sqlite3sqlite3 --version3.45.1 2024-01-30 16:01:20 e876e51a0ed5c5b3126f52e532044363a014bc594cfefa87ffb5b82257ccalt1 (64-bit)PowerDNS Authoritative Server 설치sudo apt install -y pdns-server pdns-backend-sqlite3Reading package li.. 더보기 NGINX 가상호스트에서 SSL 인증서 경로 변경 방법 NGINX 가상호스트에서 SSL 인증서 경로 변경 방법SSL 인증서 디렉토리 생성mkdir /etc/nginx/ssl/wildcard_scbyun_comcd /etc/nginx/ssl/wildcard_scbyun_comSSL 인증서 다운로드curl -fsSL https://www.scbyun.com/ssl/nginx/wildcard_scbyun_com/cert.pem -o cert.pemcurl -fsSL https://www.scbyun.com/ssl/ssl/nginx/wildcard_scbyun_com/key.pem -o key.pem가상호스트 경로 이동cd /etc/nginx/conf.d대상 파일 확인ls -l *.conf | grep "scbyun.com"grep ssl_certificate_ke.. 더보기 Nginx에서 특정 IP 주소를 차단하는 방법 Nginx에서 특정 IP 주소를 차단하는 방법Nginx에서 특정 IP 주소(예: 190.97.237.68, 203.0.113.55)를 차단하면서 해당 IP의 요청이 로그(액세스 로그 또는 에러 로그)에 기록되지 않도록 설정하려면 access_log off와 deny 지시어를 조합하여 특정 IP에 대해 로깅을 비활성화할 수 있습니다.Nginx 설정sudo vim /etc/nginx/nginx.conf### nginx.confuser nginx;worker_processes auto;error_log /var/log/nginx/error.log notice;pid /run/nginx.pid;events { worker_connections 1024;}http { include .. 더보기 이전 1 2 3 4 ··· 187 다음