=====================================
HTTP가 필요 없는 방식으로 글 추가 했음
아래 링크 참고!
https://pathcre8or.tistory.com/33?category=171938
=====================================
1. RHEL DVD 또는 ISO 이미지 필요
ISO 이미지 DD Command로 생성
# dd if=/dev/sr0 of=/RHEL6.iso
2. ISO 이미지 마운트
# mount -o loop,ro /RHEL6.iso /repository
3. Python를 통해 Web Service 실행
# cd /repository
# python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
* Iptables 활성화인 경우 8000 포트에 대한 정책 설정 할 것.
4. Client에서 Repo 파일 구성
# vi /etc/yum.repos.d/rhel6-iso.repo
[ISO_Repository]
baseurl=http://(Repo Server IP Address):8000
gpgcheck=0
enabled=1
5. 완료
----------
RHEL6에서는 확실히 테스트 했는데 5에서도 되는가 모르겠네...
'Server Engineer > Linux' 카테고리의 다른 글
ZFS on CentOS 6 - 컴파일 설치.2 (0) | 2016.06.02 |
---|---|
ZFS on CentOS 6 - 컴파일 설치 (0) | 2016.06.02 |
ZFS on CentOS 6 - Yum 설치 (0) | 2016.06.02 |
CentOS7 에서 KVM 가상머신 만들기 (0) | 2016.04.29 |
CentOS7 bonding (0) | 2016.04.22 |