YUM USES RHN BY DEFAULT. THIS ARTICLE SHOW YOU; HOW TO SETUP LOCAL REPOSITORY TO USE YUM .
STEPS FOR CREATING YUM REPO..................................
- Insert RHEL5.0 dvd in dvd-drive.
- Mount it and copy its contents as shown in figure.
| DVD Contents |
5. Now open "/opt/RHCE/Server" and right click to open terminal from here.
| Opening Terminal |
6. Proceed with the following commands...........
- #rpm -ivh createrepo-0.4.4-2.fc6.noarch.rpm
- #createrepo -v /opt/RHCE/Server
- #nano /etc/yum.repos.d/Server.repo
>[Server]
>name=Red
>baseurl=file:///opt/RHCE/Server
>enabled=1
>gpgcheck=0
7. Now open Package manager to check
| Add/Remove Software |