본문 바로가기

반응형

ubuntu

C276x260 apt-cacher-ng 컨테이너를 Docker Compose로 설정하는 방법 apt-cacher-ng 컨테이너를 Docker Compose로 설정하는 방법apt-cacher-ng 컨테이너 디렉토리 생성sudo mkdir /app/container/aptproxycd /app/container/aptproxydocker-compose.yml 작성docker-compose.yml 파일을 작성하여 Docker Compose 설정을 정의합니다.vim docker-compose.ymlservices: apt-cacher-ng: image: sameersbn/apt-cacher-ng container_name: apt-cacher-ng hostname: apt-cacher-ng restart: unless-stopped volumes: - /usr/sh.. 더보기
C276x260 우분투에 Python 3를 설치하는 방법 우분투에 Python 3를 설치하는 방법일반적으로 우분투에는 Python 3이 이미 설치되어 있습니다. 그러나 최신 버전을 설치하거나 필요에 따라 추가 패키지를 포함하여 설치할 수 있습니다.기본 Python 3 설치 확인일반적으로 우분투에는 Python 3이 기본적으로 설치되어 있습니다.$ python3 --versionPython 3.10.12Python 최신 버전 다운로드https://www.python.orgPython 3 설치Python 3를 설치할 수 있습니다.sudo apt-get updatesudo apt-get install -y python3파이썬 패키지 관리자 pip3 설치Python 패키지를 설치하고 관리하기 위해 pip3를 설치하는 것이 좋습니다.sudo apt-get install.. 더보기
C276x260 [url] 우분투 서버 문서(Ubuntu Server documentation) 우분투 서버 문서(Ubuntu Server documentation)Ubuntu Server documentation : https://ubuntu.com/server/docs 더보기
C276x260 우분투에 CBand 모듈을 설치하고 설정하는 방법 우분투에 CBand 모듈을 설치하고 설정하는 방법 CBand는 아파치 웹 서버의 대역폭 제어 모듈로서 대역폭 사용량 제한, 대역폭 제한 초과 시 처리, 그래프 출력 등의 기능을 제공합니다. 1. Apache 설치 sudo apt-get update sudo apt-get install -y apache2 Apache 버전 확인 $ apache2 -v Server version: Apache/2.4.52 (Ubuntu) Server built: 2023-10-26T13:44:44 Apache 서비스 확인 sudo systemctl status apache2.service 2. CBand 모듈 설치 CBand 모듈을 설치하려면 아래 명령어를 입력합니다. sudo apt-get install libapache.. 더보기
C276x260 리눅스 nload 명령어 사용법 정리 리눅스 nload 명령어 사용법 정리nload는 터미널에서 네트워크 트래픽을 실시간으로 모니터링하는 도구입니다.1. nload 설치Ubuntu 시스템sudo apt-get install nloadCentOS 시스템sudo yum install nload2. nload 명령어의 기본 사용 구문 및 옵션nload [options]$ nload -hnload version 0.7.4Copyright (C) 2001 - 2012 by Roland Riegel nload comes with ABSOLUTELY NO WARRANTY. This is free software, and you arewelcome to redistribute it under certain conditions. For more detail.. 더보기
C276x260 리눅스 bmon 명령어 사용법 정리 리눅스 bmon 명령어 사용법 정리bmon은 터미널에서 네트워크 밴드위스 사용량을 그래픽으로 표시하는 간단한 도구입니다.1. bmon 설치Ubuntu 시스템sudo apt-get install bmonCentOS 시스템sudo yum install bmonbmon versionbmon -V$ bmon -Vbmon 4.0Copyright (C) 2001-2015 by Thomas Graf Copyright (C) 2013 Red Hat, Inc.bmon comes with ABSOLUTELY NO WARRANTY. This is free software, and youare welcome to redistribute it under certain conditions. See the sourcecode fo.. 더보기
C276x260 lsyncd 로그 파일의 로테이션을 구성하는 방법 lsyncd 로그 파일의 로테이션을 구성하는 방법lsyncd 로그 파일의 로테이션을 구성하려면 로그 파일을 logrotate를 사용하여 로테이트하도록 설정해야 합니다.lsyncd(/etc/lsyncd/lsyncd.conf.lua) 구성 파일 예시더보기vim /etc/lsyncd/lsyncd.conf.luasettings { logfile = "/var/log/lsyncd/lsyncd.log", statusFile = "/var/run/lsyncd/lsyncd.status"}sync { default.rsyncssh, source = "/path/to/your/logfile.log", host = "remote-server-ip-or-hostname", targetdir =.. 더보기
C276x260 auditd(감사)를 설치하고 사용하는 방법 auditd(감사)를 설치하고 사용하는 방법auditd는 리눅스 시스템의 보안을 강화하기 위한 감사 프레임워크입니다. auditd를 사용하면 시스템에서 발생하는 특정 이벤트를 모니터링하고 로그로 기록할 수 있습니다. 이 로그는 시스템에 대한 공격이나 침입을 식별하는 데 도움이 됩니다.auditd를 사용하여 시스템 보안 강화auditd를 사용하여 다음과 같은 시스템 보안을 강화할 수 있습니다.파일 액세스 모니터링프로세스 시작 및 종료 모니터링사용자 로그인 및 로그아웃 모니터링네트워크 트래픽 모니터링auditd 패키지 설치Ubuntu 및 Debian 기반 시스템sudo apt updatesudo apt install auditdCentOS 및 RHEL 기반 시스템sudo yum install auditaud.. 더보기

728x90
반응형