scottlang
local repository 본문
728x90
ISO 마운트
mount -o loop dvd.iso /mnt/iso
repository rpm install
#rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
#rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
#rpm -ivh createrepo-0.9.9-22.el6.noarch.rpm
repodata 생성
createrepo /mnt/iso
# createrepo ../ -> 패키지가 들어있는 디렉토리에서 repo를 생성해야한다.
(../은 최상위 디렉토리로부터 현재 디렉토리를 지정)
vi /etc/yum.repos.d/local.repo
[local-repo]
name=Local Repository
baseurl=file:///os/78
enabled=1
gpgcheck=0
#yum clean all
#yum repolist
'Linux' 카테고리의 다른 글
NIC PORT 순서 변경 (0) | 2020.11.06 |
---|---|
DPDK 설치 (0) | 2020.10.27 |
Debian 7 & 8 Perc H740p 인식 관련 (0) | 2020.10.07 |
Centos ipv4 &6 icmp 차단 (0) | 2020.09.29 |
Centos 7 rc.local 활성화 (0) | 2020.09.28 |
Comments