우분투 썸네일형 리스트형 [draft] 우분투에서 RabbitMQ를 설치하고 테스트하는 방법 우분투 22.04에서 RabbitMQ를 설치하고 테스트하는 방법테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.2 LTS1. RabbitMQ 설치RabbitMQ는 공식 리포지터리에서 설치할 수 있습니다.의존 패키지 설치sudo apt updatesudo apt install -y curl gnupg apt-transport-httpsRabbitMQ 및 Erlang 리포지터리 추가RabbitMQ는 Erlang이 필요하므로 RabbitMQ와 Erlang의 공식 리포지터리를 추가합니다. Team RabbitMQ의 주요 서명 키curl -1sLf "https://keys.openpgp.org/vks/v1/by-fingerprint/0A9AF2115F4687BD29803A20.. 더보기 [draft] 우분투에서 ModemManager 데몬을 비활성화하는 방법 우분투 24.04에서 ModemManager 데몬을 비활성화하는 방법ModemManager는 우분투에서 사용되는 모뎀 관리 데몬으로 다양한 셀룰러 네트워크 장치(3G, 4G LTE, 5G 모뎀 등)를 지원하고 관리하는 역할을 합니다. 이 데몬은 백그라운드에서 동작하며 네트워크 연결을 설정하거나 상태를 모니터링하는 데 사용됩니다.ModemManager가 불필요한 경우유선 이더넷(LAN)이나 Wi-Fi 네트워크만 사용하는 경우셀룰러 모뎀 장치를 사용하지 않는 서버 환경1. 서비스 상태 확인sudo systemctl status ModemManager2. 서비스 비활성화 및 중지sudo systemctl disable --now ModemManagerRemoved "/etc/systemd/system/dbus.. 더보기 [draft] 우분투에서 Logrotate를 설정하는 방법 우분투에서 Logrotate를 설정하는 방법Logrotate는 로그 파일의 크기 증가를 방지하고 디스크 공간을 효율적으로 관리하기 위해 로그 파일을 주기적으로 압축, 이동, 삭제하는 도구입니다.1. Logrotate 기본 구조 이해Logrotate는 기본 설정 파일과 개별 설정 파일을 사용합니다.기본 설정 파일 : /etc/logrotate.conf개별 애플리케이션 설정 파일 : /etc/logrotate.d2. Logrotate 기본 설정 파일 확인/etc/logrotate.conf 파일은 시스템 전체에 적용되는 기본 정책을 정의합니다.cat /etc/logrotate.conf# see "man logrotate" for details# global options do not affect precedi.. 더보기 [draft] 우분투에서 APT 저장소를 카카오 미러로 변경하는 방법 우분투 24.04에서 APT 저장소를 카카오 미러로 변경하는 방법$ cat /etc/apt/sources.list# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources$ cat /etc/apt/sources.list.d/ubuntu.sourcesTypes: debURIs: http://kr.archive.ubuntu.com/ubuntu/Suites: noble noble-updates noble-backportsComponents: main restricted universe multiverseSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpgTypes: debURIs: http://.. 더보기 [draft] 우분투에서 Graylog 설치하는 방법 우분투에서 Graylog 설치하는 방법테스트 환경운영체제$ lsb_release -dDescription: Ubuntu 22.04.5 LTS필수 조건MongoDB Version : 5.0.7 ~ 7.xGraylog Version : 6.1.xServer Timezonesudo timedatectl set-timezone Asia/Seoul시스템 설정(메모리 맵 설정)sudo sysctl -w vm.max_map_count=262144echo "vm.max_map_count = 262144" | sudo tee /etc/sysctl.d/99-graylog-datanode.confsudo sysctl -p1. MongoDB 설치필요한 패키지 설치sudo apt-get install gnupg curlM.. 더보기 [draft] 우분투에서 PHP 8.3으로 업그레이드하고 기존의 PHP 8.1을 삭제하는 방법 우분투에서 PHP 8.3으로 업그레이드하고 기존의 PHP 8.1을 삭제하는 방법1. PHP 8.3 설치PHP 8.3 패키지와 필요한 모듈들을 설치합니다. 필수 패키지 설치sudo apt-get install -y software-properties-common apt-transport-httpsOndrej PPA 추가sudo add-apt-repository -y ppa:ondrej/phpsudo apt-get updatePHP 8.3 및 필수 모듈 설치sudo apt-get install -y php8.3 php8.3-fpm php8.3-cli php8.3-common \ php8.3-mysql php8.3-zip php8.3-gd php8.3-mbstring php8.3-curl php8.3-xml .. 더보기 [draft] 우분투에서 패키지의 의존성을 확인하는 명령어 우분투에서 패키지의 의존성을 확인하는 명령어apt-cache depends특정 패키지의 직접적인 의존성을 확인합니다.apt-cache depends apt-cache rdepends특정 패키지에 의존하는 패키지들을 확인합니다.apt-cache rdepends apt show패키지에 대한 종합적인 정보를 제공합니다. 의존성뿐만 아니라 패키지 설명, 버전, 유지보수자 등의 정보를 포함합니다.apt show dpkg -s설치된 패키지의 상세 정보를 제공합니다. 여기에는 의존성 정보도 포함됩니다.dpkg -s apt-rdependsapt-rdepends 패키지 설치sudo apt-get install -y apt-rdepends패키지의 재귀적인 의존성을 확인합니다. 설치된 패키지뿐만 아니라 의존성 트리를 모두 .. 더보기 [draft] 우분투에서 동일한 물리적 인터페이스에 여러 IP 주소를 설정하는 방법 우분투에서 동일한 물리적 인터페이스에 여러 IP 주소를 설정하는 방법netplan을 사용하여 동일한 물리적 인터페이스에 여러 IP 주소를 설정할 수 있습니다. 그러나 동일한 인터페이스 이름(enp0s3)을 여러 번 사용하는 대신 addresses 필드를 사용하여 여러 IP 주소를 지정할 수 있습니다.고정 아이피 주소 설정sudo vim /etc/netplan/00-installer-config.yaml# This is the network config written by 'subiquity'network: ethernets: enp0s3: dhcp4: no addresses: [192.168.0.131/24] gateway4: 192.168.0.1 nameser.. 더보기 이전 1 2 3 4 ··· 6 다음