본문 바로가기

리눅스

C276x260.fwebp.q85 [draft] Redis의 다양한 운영 모드 종류 Redis의 다양한 운영 모드 종류(Operation Modes)Redis에는 여러 가지 운영 모드가 있습니다.1. Standalone 모드Standalone 모드는 가장 기본적인 Redis 운영 모드입니다. 하나의 Redis 서버만 실행되고 모든 데이터가 해당 서버에 저장됩니다. 주로 개발 및 테스트 목적으로 사용됩니다.2. Sentinel 모드Sentinel 모드는 Redis의 고가용성(High Availability)을 달성하기 위한 모드입니다. 여러 개의 Redis 인스턴스를 실행하고, Sentinel 프로세스를 통해 각 인스턴스의 상태를 모니터링하고 필요한 경우 자동으로 장애 조치(Failover)를 수행합니다.3. Cluster 모드Cluster 모드는 Redis의 분산 데이터베이스 클러스터를.. 더보기
C276x260.fwebp.q85 [draft] 우분투 22.04에서 systemd-resolved 서비스를 비활성화하는 방법 우분투 22.04에서 systemd-resolved 서비스를 비활성화하는 방법테스트 환경운영체제 버전 정보$ lsb_release -dDescription: Ubuntu 22.04.2 LTSsystemd-resolved 서비스 상태 확인systemctl status systemd-resolved$ systemctl status systemd-resolved● systemd-resolved.service - Network Name Resolution Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022.. 더보기
C276x260.fwebp.q85 [draft] HP DL360p Gen8에서 HP Smart Array CLI를 이용한 RAID 구성 및 XFS 파일 시스템 설정하는 방법 HP DL360p Gen8에서 HP Smart Array CLI를 이용한 RAID 구성 및 XFS 파일 시스템 설정하는 방법RAID 컨트롤러의 전체 구성을 표시ssacli ctrl all show config더보기---Smart Array P420i in Slot 0 (Embedded) (sn: 001438031FBD530) Internal Drive Cage at Port 1I, Box 1, OK Internal Drive Cage at Port 2I, Box 1, OK Port Name: 1I Port Name: 2I Array A (SAS, Unused Space: 0 MB) logicaldrive 1 (279.37 GB, RAID 1, OK) physic.. 더보기
C276x260.fwebp.q85 [draft] 우분투 22.04에서 최신 버전의 Docker를 설치하는 방법 우분투 22.04에서 최신 버전의 Docker를 설치하는 방법(install docker on ubuntu)테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.1 LTS이전 버전의 Docker 제거이미 이전 버전의 Docker가 설치되어 있다면 제거하는 것이 좋습니다.sudo apt-get remove docker docker-engine docker.io containerd runc패키지 목록 업데이트sudo apt-get update필수 패키지 설치sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common도커 리포지토리 GPG key 추가sudo mkdir .. 더보기
C276x260.fwebp.q85 [draft] 우분투 24.04에서 최신 버전의 Docker를 설치하는 방법 우분투 24.04 LTS에서 최신 버전의 Docker를 설치하는 방법Docker 공식 설치 가이드 : Install using the convenience script테스트 환경$ sudo lsb_release -dDescription: Ubuntu 24.04.1 LTSDocker 설치Docker 설치 스크립트 다운로드curl -fsSL https://get.docker.com -o get-docker.sh설치 내용을 미리 확인 (실제 설치는 아님)sudo bash get-docker.sh --dry-runDocker 설치 스크립트를 실행하여 Docker 설치sudo bash get-docker.shDocker 버전 확인sudo docker version$ sudo docker version | g.. 더보기
C276x260.fwebp.q85 [draft] 우분투 22.04에서 최신 PHP-FPM을 설치하는 방법 우분투 22.04에서 최신 PHP-FPM(php-fpm 8.2)을 설치하는 방법PHP-FPM(PHP FastCGI Process Manager)는 PHP를 Nginx, Apache 등의 웹 서버와 함께 사용하기 위해 널리 쓰이는 FastCGI 프로세스 관리자입니다.테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.2 LTS$ uname -mx86_64$ getconf LONG_BIT64PHP 저장소 추가최신 PHP 버전이 없으므로 Ondřej Surý PPA(Personal Package Archive) 저장소를 추가합니다.sudo add-apt-repository -y ppa:ondrej/phpsudo apt-get update -yPHP 및 FPM 설치PHP.. 더보기
C276x260.fwebp.q85 [draft] CentOS 7에서 기본 저장소를 변경하는 방법 CentOS 7에서 기본 저장소를 변경하는 방법(yum repository)기본 저장소CentOS-Base.repo(/etc/yum.repos.d/CentOS-Base.repo)cat /etc/yum.repos.d/CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS updates# unless you are manuall.. 더보기
C276x260.fwebp.q85 [draft] 우분투에서 스냅을 비활성화하고 삭제하는 방법 우분투에서 스냅(Snap)을 비활성화하고 삭제하는 방법(Remove and Disable Snaps)참고 : Snap은 Ubuntu의 일부 패키지 관리 시스템으로 시스템 리소스를 사용할 수 있으며 필요하지 않은 경우 비활성화 또는 삭제할 수 있습니다. 그러나 Snap를 완전히 비활성화하면 몇 가지 Ubuntu 기능이 영향을 받을 수 있으므로 사용 전에 신중히 고려해야 합니다.테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.2 LTSSnapd 비활성화스냅(snap) 서비스 비활성화sudo systemctl disable snapd.service$ systemctl disable snapd.serviceRemoved /etc/systemd/system/multi-u.. 더보기