1. Copy the Server folder from DVD which contains rpm packages to your HDD. (eg. /my_repo/Server).
2. Create a repo file in /etc/yum/repos.d/ any_name .repo
vim /etc/yum.repos.d/my_repo.repo
3. Now add the below lines..
2. Create a repo file in /etc/yum/repos.d/ any_name .repo
vim /etc/yum.repos.d/my_repo.repo
3. Now add the below lines..
- [my_repo]
- name= my local repo
- baseurl= /my_repo/Server
- enabled=1
- gpgcheck=0
No comments:
Post a Comment