본문 바로가기

728x90
반응형

CentOS8

(12)
C264x200.fwebp.q85 SSH 인증을 위한 SSH 인증서를 구성하고 설정하는 방법 SSH 인증을 위한 SSH 인증서를 구성하고 설정하는 방법(Certificate Authority)SSH 키를 사용하는 인증 시스템을 더욱 효율적이고 안전하게 관리할 수 있게 해줍니다. SSH 인증서 기반 인증은 SSH 키 기반 인증과 유사하지만 중앙의 인증 기관(CA)에서 서명된 인증서를 사용하여 사용자 및 호스트를 인증합니다. 이 방법을 통해 SSH 키의 관리를 간소화하고 특정 키의 수명을 제한하는 등의 작업이 용이해집니다.테스트 환경$ cat /etc/redhat-releaseCentOS Linux release 8.4.2105$ yum info openssh-serverFailed to set locale, defaulting to C.UTF-8Last metadata expiration chec..
C264x200.fwebp.q85 CentOS 8에서 기본 리포지토리를 미러 서버로 변경하는 방법 CentOS 8에서 기본 리포지토리를 미러 서버로 변경하는 방법CentOS 8에서 미러 서버를 사용하여 패키지를 설치하거나 업데이트하려면 /etc/yum.repos.d/ 디렉토리에 새로운 리포지토리 파일을 추가하거나 기존 리포지토리 파일을 편집해야 합니다.1. 리포지토리 파일 생성CentOS-Base.repo 편집vim /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 t..
C264x200.fwebp.q85 yum(dnf) 설치 및 업데이트 시 발생하는 패키지 충돌 문제 해결 방법 yum(dnf) 설치 및 업데이트 시 발생하는 패키지 충돌 문제 해결 방법yum update -yproblem with installed package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)이 오류는 설치하려는 패키지가 시스템의 기존 패키지와 버전이나 의존성 문제로 인해 충돌이 발생할 때 나타납니다.$ yum update -yLast metadat..
C264x200.fwebp.q85 CentOS 8에서 네트워크 재기동하는 방법 CentOS 8에서 네트워크 재기동하는 방법CentOS 8부터는 네트워크 관리의 중심이 NetworkManager로 완전히 통합되었습니다.기존 network.service 기반 방식은 더 이상 권장되지 않으며 ifdown / ifup 명령어 역시 NetworkManager를 내부적으로 호출하는 형태로 동작합니다.1. NetworkManager 서비스 재기동systemctl restart NetworkManager.servicesystemctl status NetworkManager.service2. ifdown / ifup 명령어 사용 (인터페이스 단위)CentOS 8에서는 ifdown, ifup 명령어가 완전히 제거되지 않았지만 실제로는 NetworkManager와 연동(D-Bus) 되어 동작합니다. ..
C264x200.fwebp.q85 MySQL 5에서 rpcgen 오류를 해결하는 방법 MySQL 5(MySQL 5.7)에서 rpcgen 오류를 해결하는 방법컴파일 시 오류CMake Error at rapid/plugin/group_replication/rpcgen.cmake:100 (MESSAGE): Could not find rpcgenCall Stack (most recent call first): rapid/plugin/group_replication/CMakeLists.txt:36 (INCLUDE)1. rpcgen 설치 확인rpcgen이 시스템에 설치되어 있는지 확인합니다.설치되지 않은 경우 다음 명령어를 사용하여 설치할 수 있습니다.Ubuntu/Debiansudo apt-get updatesudo apt-get install rpcbindCentOS/RHELsudo yum i..
C264x200.fwebp.q85 CentOS 8 Stream 설치(CentOS 8 스트림 설치) CentOS 8 Stream 설치(CentOS 8 스트림 설치) iso 다운로드 download URL : https://www.centos.org/download ISO Download URL http://mirror.kakao.com/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-20210120-dvd1.iso Oracle VirtualBox에 VM 생성 download URL : https://www.virtualbox.org CentOS Stream 설치 - Keyboard : 한국어 - 언어 지원 : 한국어, English - 시간 및 날짜 : 아시아/서울 - 소프트웨어 선택 : 최소 설치(표준, 레거시 UNIX 호환성, 개발용 툴) - 설치 대상 :..
C264x200.fwebp.q85 fabric hello print on CentOS 8 fabric hello print on CentOS 8테스트 환경운영체제 정보$ cat /etc/redhat-releaseCentOS Linux release 8.1.1911 (Core)$ python -VPython 3.6.8$ fab -VFabric 2.5.0Paramiko 2.7.2Invoke 1.5.0fabfile.py 파일 편집vim fabfile.py$ vim fabfile.pyfrom fabric import task@taskdef hello(ctx): print("hello world.")fab 실행$ fab --listAvailable tasks: hellofab hello$ fab hellohello world.
C264x200.fwebp.q85 CentOS End of Lifetime (EOL) Dates CentOS End of Lifetime (EOL) Dates CentOS 수명 종료 날짜 RHEL 9 계획 가이드 RHEL의 복제로서 CentOS는 사라진다. CentOS Stream은 검증용이므로 안정성이 떨어질 수 있다. CentOS Stream은 RHEL의 베타 테스트 플랫폼이 아니다. Fedora는 RHEL의 메이저 릴리즈를 테스트하는 역할이고, CentOS Stream은 RHEL 마이너 릴리즈에 초점을 둔다. 발췌(RHEL 클론 '센트OS' 사라진다) : https://zdnet.co.kr/view/?no=20201209151925 참고URL - Red Hat Customer Portal : https://access.redhat.com/documentation/ko-kr/red_hat_ent..

728x90
반응형