리눅스 썸네일형 리스트형 [draft] rpcgen install for centos 8 rpcgen install for centos 8CentOS-PowerTools.repo create file$ vim /etc/yum.repos.d/CentOS-PowerTools.repo# CentOS-PowerTools.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 manually picking other mirrors... 더보기 [draft] 파일 시스템의 기본 블록 크기를 확인하는 방법 파일 시스템의 기본 블록 크기를 확인하는 방법(tune2fs)tune2fs 명령어는 Linux 파일 시스템의 튜닝 및 설정을 변경하는 데 사용되는 명령어입니다. 이 명령어를 사용하여 파일 시스템에 대한 다양한 속성을 수정할 수 있습니다.tune2fs 명령어의 기본 구문과 주요 옵션tune2fs [옵션] [장치]옵션: 파일 시스템 튜닝 및 속성 변경을 제어하는 다양한 옵션을 지정합니다.장치: 튜닝할 파일 시스템이 있는 블록 장치의 경로를 지정합니다. 예를 들어, /dev/sda1과 같은 디스크 파티션을 가리킵니다.tune2fs 명령어 주요 옵션-c 또는 --check-interval=: 파일 시스템이 자동으로 검사되는 간격을 설정합니다. 는 검사 간격을 지정하는데 사용됩니다.-C 또는 --max-mou.. 더보기 [draft] CentOS 7에서 yum update를 실행할 때 kernel 패키지를 제외하는 방법 CentOS 7에서 yum update를 실행할 때 kernel 패키지를 제외하는 방법CentOS 7에서 yum update를 실행할 때 특정 패키지, 예를 들어 커널 패키지를 제외하려면 exclude 설정을 사용할 수 있습니다. exclude 설정을 통해 특정 패키지를 업데이트에서 제외시킬 수 있습니다. 다음은 yum.conf 파일을 편집하여 커널 패키지를 업데이트에서 제외하는 방법입니다. 1. 편집기를 사용하여 yum.conf 파일을 엽니다.vi /etc/yum.conf[main]cachedir=/var/cache/yum/$basearch/$releasever###업데이트 시 kernel 이 포함된 패키지 제외exclude=kernel*keepcache=0debuglevel=2logfile=/var/.. 더보기 [draft] CentOS Linux와 CentOS Stream 비교 CentOS Linux와 CentOS Stream 비교CentOS Linux와 CentOS Stream은 모두 Red Hat Enterprise Linux(RHEL)을 기반으로 하는 오픈 소스 Linux 배포판입니다. 그러나 두 배포판에는 몇 가지 중요한 차이점이 있습니다. CentOS Linux는 RHEL의 안정적인 버전입니다. 새로운 RHEL 릴리스가 출시될 때마다 CentOS Linux는 RHEL의 이전 버전을 기반으로 합니다. CentOS Linux는 안정성과 지원을 중시하는 사용자에게 적합합니다. CentOS Stream은 RHEL의 다음 버전에 대한 개발 플랫폼입니다. 새로운 기능과 개선 사항은 CentOS Stream에 먼저 추가되며 RHEL 릴리스가 출시되면 CentOS Stream에서 이.. 더보기 [draft] PFX 파일을 생성하는 방법 PFX 파일을 생성하는 방법PFX 파일은 개인 키와 공개 키 (인증서)를 하나의 파일에 포장하여 저장합니다. PFX(Personal Information Exchange) 파일은 개인 키와 해당 인증서를 포함하는 포맷으로 일반적으로 Windows 환경에서 사용됩니다.개인 키 및 인증서 생성openssl req \-newkey rsa:4096 \-x509 \-sha256 \-days 3650 \-keyout privatekey.pem \-out certificate.pem \-subj "/C=KR/ST=Seoul/L=Jongno-gu/O=SangChul Co., Ltd./OU=Infrastructure Team/CN=*.example.com"* 비밀번호 없이 개인 키 생성 : -nodes 옵션$ opens.. 더보기 [draft] ab(Apache Bench) tools ab(Apache Bench) toolsab - Apache HTTP 서버 벤치마킹 도구 ab 버전$ ab -VThis is ApacheBench, Version 2.3 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/Licensed to The Apache Software Foundation, http://www.apache.org/ab 명령어더보기---$ ab -hUsage: ab [options] [http[s]://]hostname[:port]/pathOptions are: -n requests Number of requests to perform -c concurrency Number of mul.. 더보기 [draft] SSH 호스트 키가 변경되었을 때 발생하는 경고 메시지를 해결하는 방법 SSH 호스트 키가 변경되었을 때 발생하는 경고 메시지를 해결하는 방법SSH 호스트 키가 변경되었을 때 발생하는 경고 메시지$ ssh-copy-id vagrant@172.17.0.3/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/vagrant/.ssh/id_rsa.pub"/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed/usr/bin/ssh-copy-id: ERROR: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ER.. 더보기 [draft] CentOS 7 Yum Repository 서버에 MariaDB Repository를 추가하는 방법 CentOS 7 Yum Repository 서버에 MariaDB Repository를 추가하는 방법테스트 환경운영체제 정보$ cat /etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)MariaDB Repository 추가MariaDB Repositories : https://mariadb.org/download/?t=repo-configMariaDB Repository 설정 파일 추가(MariaDB.repo 저장소 추가)vim /etc/yum.repos.d/MariaDB.repoRepository 정보 입력이 설정 파일은 MariaDB의 공식 미러를 사용합니다.# MariaDB 10.8 CentOS repository list - created 2022-1.. 더보기 이전 1 2 3 4 ··· 30 다음