리눅스 썸네일형 리스트형 [리눅스][보안취약점] 계정 잠금 임계값 설정 [보안취약점] 계정 잠금 임계값 설정 점검 내용 : 사용자 계정 로그인 실패 시 계정잠금 임계값이 설정되어 있는지 점검 판단기준 : 계정 잠금 임계값을 10회 이하의 값으로 설정되어 있는 경우 점검 및 조치 방법 system-auth 파일 vim /etc/pam.d/system-auth #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth required pam_env.so auth required pam_faildelay.so delay=2000000 auth sufficient pam_fprintd.so auth sufficient pam_unix.so n.. 더보기 [리눅스] 하드웨어 정보 확인하기 | dmidecode 명령어 하드웨어 정보 확인하기 | dmidecode 명령어 : 하드웨어 정보 확인하기(DMI : Desktop Management Interface) DMI 테이블 레코드 개수 확인 dmidecode | grep ^Handle | wc -l $ dmidecode | grep ^Handle | wc -l 23 dmidecode | grep structures $ dmidecode | grep structures 23 structures occupying 1182 bytes. DMI Types DMI TYPES The SMBIOS specification defines the following DMI types: Type Information ----------------------------------------.. 더보기 How to Install Webalizer on CentOS 8 How to Install Webalizer on CentOS 8To install Webalizer on CentOS 8, you can follow these steps1. Update the system:sudo dnf update 2. Install the EPEL repositoryWebalizer is available in the EPEL repository. Install the EPEL repository by running the following command:sudo dnf install epel-release 3. Install WebalizerOnce the EPEL repository is installed, you can install Webalizer using the fo.. 더보기 ls 명령어 ls 명령어 ls 명령어는 유닉스 및 리눅스 기반 시스템에서 파일과 디렉토리의 목록을 표시하는데 사용되는 명령어입니다. 이 명령어는 주로 현재 작업 디렉토리에 있는 파일들을 보여주는데 사용됩니다. 기본적인 사용법 ls [옵션] [파일 또는 디렉토리...] 주요 옵션 -l: 파일의 상세 정보를 긴 형식으로 표시합니다 (permissions, owner, group, size, modification date 등). -a: 숨김 파일(이름이 마침표로 시작하는 파일)도 포함하여 모든 파일과 디렉토리를 표시합니다. -h: 파일 크기를 보기 쉽게 사람이 읽을 수 있는 단위로 표시합니다 (KB, MB 등). -r: 역순으로 파일과 디렉토리를 나열합니다. -t: 최신 수정된 순서대로 파일과 디렉토리를 나열합니다. 사.. 더보기 vixie-cron 패키지 vixie-cron 패키지 vixie-cron은 Unix와 Unix-like 운영 체제에서 사용되는 cron(크론) 데몬의 한 구현체로, Paul Vixie가 개발한 것으로 유명합니다. 크론(cron)은 주기적으로 반복되거나 특정 시간에 특정 작업을 자동으로 실행할 수 있도록 하는 시간 기반 작업 스케줄러입니다. 사용 방법 1. 크론 데몬 설치 확인 Vixie-cron은 대부분의 Unix 기반 시스템에서 기본으로 설치되어 있으며, 대부분의 경우 별도로 설치할 필요가 없습니다. 그러나 데몬이 설치되지 않은 경우 패키지 관리자를 사용하여 설치해야 합니다. 2. 크론 데몬 시작 또는 재시작 일반적으로 크론 데몬은 시스템 부팅 시 자동으로 시작됩니다. 하지만 수동으로 크론 데몬을 시작하거나 재시작해야 하는 경우.. 더보기 CentOS 7에서 고정 IP 주소를 설정하는 방법(ifcfg-eth0 IP 고정 설정) CentOS 7에서 고정 IP 주소를 설정하는 방법(ifcfg-eth0 IP 고정 설정) 1. 네트워크 설정 파일 수정 고정 IP 주소를 설정하기 위해 /etc/sysconfig/network-scripts 디렉토리에 있는 네트워크 설정 파일을 편집합니다. 일반적으로 이 파일들의 이름은 ifcfg-인터페이스명 형식입니다. 예를 들어, 이더넷 인터페이스의 이름이 eth0인 경우, ifcfg-eth0 파일을 편집합니다. sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 2. 네트워크 설정 파일 편집 편집기가 열리면 다음과 같이 설정을 변경합니다. BOOTPROTO=none # DHCP를 사용하지 않음 ONBOOT=yes # 부팅시 자동으로 인터페이스를 활성화 IPADD.. 더보기 How to install and use stress How to install and use stressStress is a command-line tool that can be used to stress test a system by generating a workload on the CPU, memory, and I/O. It is a useful tool for testing the performance of a system under load, and can also be used to troubleshoot performance problems. To install stress, you can use the following command:sudo apt install stressOnce stress is installed, you can use.. 더보기 [리눅스] mariadb 설치 mariadb 설치 현재 지원되는 버전은 10.3, 10.4, 10.5, 10.6(5년간 지원) 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) repository 설정(저장소 추가) vim /etc/yum.repos.d/MariaDB.repo # MariaDB 10.6 CentOS repository list - created 2022-12-09 11:34 UTC # https://mariadb.org/download/ [mariadb] name = MariaDB baseurl = https://mirror.rackspace.com/mariadb/yum/10.6/centos7-amd64 gpgkey=https://mirror... 더보기 이전 1 ··· 171 172 173 174 175 176 177 ··· 182 다음