본문 바로가기

CentOS

(215)
[CentOS 8.x]이것이 리눅스다 비타민 퀴즈 6-2 1. Server(B) 초기화 2. HDD 9개 장착 작업 3. 디스크 확인 4. fdisk 작업 5. 확인 작업 6. 스냅샷 작업 https://www.hanbit.co.kr/store/books/look.php?p_code=B8529915277 이것이 리눅스다 (개정판) with RedHat CentOS 8 2015년 출간 후 리눅스 도서 분야 부동의 베스트셀러 1위를 지켜오던 『이것이 리눅스다』가 CentOS 8 버전을 반영하여 개정되었다. 1판보다 더욱 현장감 넘치는 실무 예제와 함께 리눅스의 ‘1층부 www.hanbit.co.kr
[CentOS 8.x]이것이 리눅스다 비타민 퀴즈 6-1 1. 하드디스크 장착(3GB) 2. 디스크 확인 3. fdisk 작업(2GB / 1GB) 4. fdisk 작업 내용 확인 5. mkfs.ext4 6. mount 포인트 생성 7. /etc/fstab 등록 8. 재부팅 후 확인 https://www.hanbit.co.kr/store/books/look.php?p_code=B8529915277 이것이 리눅스다 (개정판) with RedHat CentOS 8 2015년 출간 후 리눅스 도서 분야 부동의 베스트셀러 1위를 지켜오던 『이것이 리눅스다』가 CentOS 8 버전을 반영하여 개정되었다. 1판보다 더욱 현장감 넘치는 실무 예제와 함께 리눅스의 ‘1층부 www.hanbit.co.kr
[CentOS 8.x]이것이 리눅스다 비타민 퀴즈 4-2 1. Server(B) 초기화 2. crontab 설정(매주 토요일 밤 10시에 백업 실행) 3. backup 스크립트 작성(파일명 : backup-현재날짜-연도.tar.bz2) 4. sh 파일 실행 권한 부여(755 부여) 5. 백업 폴더 생성 6. 테스트용 시간 변경 7. 백업 파일 확인 https://www.hanbit.co.kr/store/books/look.php?p_code=B8529915277 이것이 리눅스다 (개정판) with RedHat CentOS 8 2015년 출간 후 리눅스 도서 분야 부동의 베스트셀러 1위를 지켜오던 『이것이 리눅스다』가 CentOS 8 버전을 반영하여 개정되었다. 1판보다 더욱 현장감 넘치는 실무 예제와 함께 리눅스의 ‘1층부 www.hanbit.co.kr
[CentOS 8.x]이것이 리눅스다 비타민 퀴즈 4-1 1. Server(B) 초기화 2. CD 삽입 3. Mount 작업 # mkdir /media/cdrom # mount /dev/cdrom /media/cdrom 4. repo 수정 작업(backup 으로 이동) # cd /etc/yum.repo.d/ # mkdir backup # mv *.repo backup/ 5. repo 생성 # vi This.repo 6. dnf 초기화 # dnf clean all 7. grouplist 확인 # cd ~ # dnf grouplist hidden > glist 8. Workstation 설치 # dnf -x rpm -y groupinstall Workstation 9. X윈도우 시작 # startx https://www.hanbit.co.kr/store/books..
[패스워드관리]chage 사용자의 패스워드에 대한 정보를 출력하고 설정하는 명령 [root@server1 ~]# passwd --help Usage: passwd [OPTION...] -k, --keep-tokens keep non-expired authentication tokens -d, --delete delete the password for the named account (root only) -l, --lock lock the password for the named account (root only) -u, --unlock unlock the password for the named account (root only) -e, --expire expire the password for the named account ..
[사용자계정관리]userdel 사용자계정을삭제하는명령어 [root@server1 ~]# userdel Usage: userdel [options] LOGIN Options: -f, --force force some actions that would fail otherwise e.g. removal of user still logged in or files, even if not owned by the user -h, --help display this help message and exit -r, --remove remove home directory and mail spool -R, --root CHROOT_DIR directory to chroot into -Z, --selinux-user remove any SELinux use..
[사용자계정관리]usermod 사용자의셸, 홈디렉터리, 그룹, UID ,GID등을 변경하는 명령어로 사용자 관련하여 대부분의 정보를 변경가능 [root@localhost ~]# usermod Usage: usermod [options] LOGIN Options: -c, --comment COMMENT new value of the GECOS field -d, --home HOME_DIR new home directory for the user account -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE -f, --inactive INACTIVE set password inactive after expiration to INACTIVE -g, --gid ..
[사용자관리파일]/etc/login.defs 메일디렉터리, 패스워드관련설정, UID의최솟값및최대값, GID의최솟값및최대값, 홈디렉터리생성여부, 기본UMASK값등을 정의한 파일 useradd가 새로운 계정을 생성할 때에 참조하는 파일 [root@localhost ~]# cat /etc/login.defs # # Please note that the parameters in this configuration file control the # behavior of the tools from the shadow-utils component. None of these # tools uses the PAM mechanism, and the utilities that use PAM (such as the # passwd command) should theref..