곰시기's

[ Linux ] CentOS 8 설치하기 본문

Sever/CentOS 8.3

[ Linux ] CentOS 8 설치하기

곰시기 2022. 8. 8. 09:45
  1. ISO 다운로드
    1. kakao: http://mirror.kakao.com/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-20220728-dvd1.iso
    2. kaist: http://ftp.kaist.ac.kr/CentOS/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-20220728-dvd1.iso
  2. 가상 머신 생성하기
    1. 2021.02.21 - [Sever/CentOS 7] - [ Linux ] CentOS 7 가상 머신 생성
       

      [ Linux ] CentOS 7 가상 머신 생성

      Contents List 1. CentOS란? 2. ISO DownLoad Link 3. CentOS 7.9 설치 3-1. Virtual Box 호스트 키 설정 3-2. 가상 머신 생성 - 운영체제 선택 3-3. 가상 머신 생성 - 메모리 용량 / 하드 디스크 선택 3-4. 가상..

      gomsg.tistory.com

  3. 설치
    1. Install CentOS Stream 8-stream 선택
      * Text mode 설치 시 Tab > quit 뒷 내용 삭제 > inst.text 입력 > 엔터
    2. 언어 선택
      한국어 선택
    3. 설치 요약
    4. 언어 추가 선택
      영어 추가 설치
    5. 시간 / 날짜 선택
      아시아 > 서울
    6. 소프트웨어 선택
      최소 설치(필요 항목 선택)
    7. 파티션 선택
      파티션(설치 목적지) > 저장소 구성 > 사용자 정의
      1. 파티션 설정
        표준 파티션 선택 > +
      2. /Boot
      3. Swap
      4. / (root)
      5. / 파일시스템 변경
        파일시스템 > ext4
      6. 파티션 적용
        완료를 눌러 요약 확인 > 변경 적용
    8. Kdump 비활성화
    9. root 패스워드 설정
    10. 설치 / 재시작
     
  4. 추가(참고: https://wnw1005.tistory.com/501)
    - network 연결이 되어있다는 가정하에 진행
    - repo 변경(centos 8은 2021년도에 지원 종료)
      > sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
      > sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
    - os upgrade
      > dnf install centos-release-stream -y (stream 저장소 활성화)
      > dnf swap centos-{linux,stream}-repos -y (저장소 교체)
      > dnf distro-sync -y (저장소 동기화)
      > cat /etc/centos-release OR cat /etc/os-release
        >> CentOS Stream release 8 OR NAME="CentOS Stream" 출력되면 성공
Comments