yum 자동 업데이트 막기
일반 사용자 계정으로 접속 한뒤에
1. etc/yum.repos.d 폴더로 이동
[centos@localhost ~] $ cd /etc/yum.repos.d
2. su 를 이용하여 루트권한 얻기
[centos@localhost yum.repos.d] $ su
암호 :
3. ls 현재 파일목록 확인
[root@localhost yum.repos.d] $ ls
CentOS-Base.repo CentOS-Sources.repo
CentOS-Debuginfo.repo CentOS-Vault.repo
4. gedit 이용하여 CentOS-Base.repo 파일수정
[root@localhost yum.repos.d] $ gedit CentOS-Base.repo
5. 아래에 소스를 지우거나 주석달기
#released updates
#[updates]
#name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
'리눅스 Centos > 리눅스 명령어' 카테고리의 다른 글
네트워크 재시작 명령어 (0) | 2017.11.14 |
---|---|
터미널에서 글자 크기 키우기 (0) | 2017.11.14 |
터미널에서 현재위치 확인 명령어 (0) | 2017.11.14 |
터미널에서 파일 목록보기 명령어 (0) | 2017.11.14 |
터미널에서 명령어를 치던중 취소 단축키 (0) | 2017.11.14 |