System/OS
2014.09.11 10:35
[linux] yum 업데이트 시 커널 제외하기
조회 수 1417 댓글 0
1. 명령어를 이용한 패키지 업데이트 제외
- 아래 2개 이상 패키지를 제외하고자 할 경우 ","를 이용
[root@leetra.net]# yum --exclude=kernel*,crmsh*,upstart update
2. yum 메인 구성파일 내 옵션 삽입
- 아래 2개 이상의 패키지를 제외하고자 할경우 "," 혹은 [Space Bar] 를 이용
- 단. exclude 옵션은 마지막 1줄만 인식(아래의 2줄 삽입 시 kernel과 httpd 만 제외)
[root@leetra.net]# echo "exclude=kernel*,mysql*" >> /etc/yum.conf
[root@leetra.net]# echo "exclude=kernel*,httpd" >> /etc/yum.conf
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
190 | System/OS | [mac] Homebrew/rvm/cocoapod setting | hooni | 2017.07.29 | 1183 |
189 | System/OS | [mac] VirtualBox 실행 스크립트와 bash_profile 설정 | hooni | 2020.07.08 | 1201 |
188 | System/OS | 맥에서 포트 확인하고 닫기 (mac) | hooni | 2022.03.22 | 1230 |
187 | System/OS | Enable the Develop Menu in Safari | hooni | 2017.02.07 | 1338 |
186 | System/OS | [linux] iptables 초간단 세팅 스크립트 | hooni | 2017.09.26 | 1408 |
» | System/OS | [linux] yum 업데이트 시 커널 제외하기 | hooni | 2014.09.11 | 1417 |
184 | System/OS | [mac] Mac OS 패키지 매니저, HomeBrew | hooni | 2015.01.03 | 1474 |
183 | System/OS | Configure Postfix to Use Gmail SMTP on Ubuntu 18.04 | hooni | 2020.02.07 | 1507 |
182 | System/OS | RPA란? 어디에 어떻게 쓰이고 누가 만드나? | hooni | 2020.01.28 | 1521 |
181 | System/OS | SSH Passwordless Login Using SSH Keygen in 5 Easy Steps | hooni | 2019.11.22 | 1544 |
180 | System/OS | How to Install and Use wget on Mac | hooni | 2020.09.03 | 1545 |
179 | System/OS | [linux] wget 명령 사용 예제 | hooni | 2020.05.26 | 1616 |