CentOS 8.X

2024. 10. 29. 15:30·Linux/Start
반응형

Cent 8 설치

1. 자동 업데이트 기능 끄기

#gsettings set org.gnome.software download-updates false #systemctl disable dnf-makecache.service #systemctl disable dnf-makecache.timer

 

 

2. repo 설정

#cd /etc/yum.repos.d/

#mkdir backup

#mv *.repo backup

 

#vi This .repo

[BaseOS] name=CentOS-$releasever - Base baseurl=https://archive.kernel.org/centos-vault/8.0.1905/BaseOS/x86_64/os/ http://linuxsoft.cern.ch/centos-vault/8.0.1905/BaseOS/x86_64/os/ gpgcheck=0

[AppStream] name=CentOS-$releasever - AppStream baseurl=https://archive.kernel.org/centos-vault/8.0.1905/AppStream/x86_64/os/ http://linuxsoft.cern.ch/centos-vault/8.0.1905/AppStream/x86_64/os/ gpgcheck=0

[extras] name=CentOS-$releasever - Extras baseurl=https://archive.kernel.org/centos-vault/8.0.1905/extras/x86_64/os/ http://linuxsoft.cern.ch/centos-vault/8.0.1905/extras/x86_64/os/ gpgcheck=0

[centosplus] name=CentOS-$releasever - Plus baseurl=https://archive.kernel.org/centos-vault/8.0.1905/centosplus/x86_64/os/ http://linuxsoft.cern.ch/centos-vault/8.0.1905/centosplus/x86_64/os/ gpgcheck=0

[PowerTools] name=CentOS-$releasever - PowerTools baseurl=https://archive.kernel.org/centos-vault/8.0.1905/PowerTools/x86_64/os/ http://linuxsoft.cern.ch/centos-vault/8.0.1905/PowerTools/x86_64/os/ gpgcheck=0

#dnf clean all

 

 

3. network 설정

#vi /etc/sysconfig/network-scripts/ifcfg-ensXX

수정 B00TPR0T0="dhcp" - B00TPR0T0="none" : IPADDR ="192.168.111.100" NETMASK=”255.255.255.0" GATEWAY="192.168.111.2" DNS1="192.168.111.2"

#nmcli connection down ensXX

#nmcli connection up ens33

#nmcli networking off

#nmcli networking on

#nmcli connection reload

 

 

4. selinux 끄기

#vi /etc/sysconfig/selinux

SELINUX=disabled

 

 

5. 부팅모드 설정

#systemctl set-default graphical.target : GUI 모드

#systemctl set-default multi-user.target : CLI 모드

 

 

6. grub 부트로더 적용

grub2-mkconfig -o /boot/grub2/grub.cfg

반응형

'Linux > Start' 카테고리의 다른 글

motd 및 프롬프트 설정  (1) 2024.11.05
hostname  (0) 2024.11.04
DSR 모드 확인  (0) 2024.11.04
ansible 설정  (0) 2024.11.04
VM Network 설정  (0) 2024.10.29
'Linux/Start' 카테고리의 다른 글
  • hostname
  • DSR 모드 확인
  • ansible 설정
  • VM Network 설정
Lee seongwoo
Lee seongwoo
1st System Engineer
  • Lee seongwoo
    시스템/클라우드 관리 및 기술 공부하는 블로그입니다.
    Lee seongwoo
  • 전체
    오늘
    어제
    • 분류 전체보기
      • Linux
        • Note
        • Trouble shooting
        • build
        • Work
        • Service
        • Start
        • Shell Script
        • APM
      • Docker
        • Configure
        • Command
        • Container 관리
        • Docker image 생성
        • 다양한 볼륨 활용
        • Network
      • Kubernetes
        • Chapter 1
      • Network
        • 스위치
        • 라우터
      • Windows
        • 인증서
        • 원격 접속
        • 암호 변경
        • 실행 Command
        • 사용자명 변경
        • Windows 점검
        • 방화벽
        • DB 절체(장애조치 클러스터)
      • Security
        • 보안 운영장비
        • 작업
        • 실무
      • Cloud
        • AWS
        • Azure
  • 블로그 메뉴

    • 홈
  • 링크

  • 공지사항

  • 인기 글

  • 태그

  • 최근 댓글

  • 최근 글

  • 반응형
  • hELLO· Designed By정상우.v4.10.0
Lee seongwoo
CentOS 8.X
상단으로

티스토리툴바