반응형 yum2 리눅스 local yum 구성 원하는 버전 Centos, Rhel CD rom 마운트 1. Package를 복사할 디렉토리 생성[root@localhost /]# mkdir -p /redhat7/Packages/2. CD 안의 RPM파일 디렉토리로 copy[root@localhost /]# mount /dev/sr0 /cdrommount: /dev/sr0 is write-protected, mounting read-only[root@localhost /]# df Filesystem 1K-blocks Used Available Use% Mounted on/dev/sr0 4600876 4600876 0 100% /cdrom[root@localhost /]# cd.. 2022. 3. 24. 유용한 yum 명령어 yum 이란 repository 를 통해 rpm 을 배포하고 의존성 관리를 하므로 손쉽게 패키지를 관리할수 있다. 1. yum 명령어로 rpm 추출 # yum install --downloadonly --downloaddir=/yumlocal python 의존성이 있는 경우 같이 설치된다는 장점이 있다. [root@localhost yumlocal]# yum install --downloadonly --downloaddir=/yumlocal python Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * upda.. 2021. 12. 7. 이전 1 다음 반응형