분류 전체보기
-
-
Redhat OS 초기 설정하기Linux 2024. 4. 24. 15:56
1. root 설정 $ su -$ passwd $ vi /etc/ssh/sshd_config{ PermitRootLogin yes GSSAPIAuthentication no UseDNS no} $ systemctl restart sshd $ chmod 755 /etc/sudoers$ vi /etc/sudoers$ chmod 400 /etc/sudoers $ echo nameserver 8.8.8.8 > /etc/resolv.conf$ hostnamectl set-hostname { 호스트명 } 2. Repositoy 설정-- Redhat ID 를 등록하여 레포지토리 설정하기..