질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

yum repository 추가 관련 질문입니다

작성자 정보

  • qazsgfd 작성
  • 작성일

컨텐츠 정보

본문

rahel7 에서 오라클 설치를 하려고 합니다. 하기전 의존성  체크를 위해 yum으로 한번에 설치하려고 하는데 입력하니

Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>   발생합니다.

/etc/yum.repos.d  <------ 폴더 안에는 아무 파일이 없네요.. 해결 방법좀 알려주세요~

관련자료

댓글 2

Basara님의 댓글

  • Basara
  • 작성일
레드햇이 유료기 때문입니다
repo를 centos 쪽으로 돌리거나 rhel cd 또는 이미지파일로 경로를 생성해주시면 됩니다

Basara님의 댓글

  • Basara
  • 작성일
rhel 이미지 파일 내에서 갖고 있는 패키지로 설치할 경우
인터넷을 통한 설치가 아니기 때문에 내부망에서도 사용이 가능하지만
이미지 파일 자체 내에 존재하는 패키지만 설치할 수 있습니다

[root@rhel7 ~]# mkdir /media/rhel7-repo-iso
[root@rhel7 ~]# mount /dev/cdrom /media/rhel7-repo-iso/
[root@rhel7 ~]# vi /etc/yum.repos.d/RHEL_7_Disc.repo
[root@rhel7 ~]# cat /etc/yum.repos.d/RHEL_7_Disc.repo
[RHEL_7_Disc]
name=RHEL_7_x86_64_Disc
baseurl="file:///media/rhel7-repo-iso/"
gpgcheck=0
# yum repolist

공지사항


뉴스광장


  • 현재 회원수 :  60,032 명
  • 현재 강좌수 :  35,773 개
  • 현재 접속자 :  221 명