{"id":84,"date":"2010-12-07T14:29:00","date_gmt":"2010-12-07T16:29:00","guid":{"rendered":"http:\/\/www.soudba.com.br\/?p=84"},"modified":"2010-12-07T14:29:00","modified_gmt":"2010-12-07T16:29:00","slug":"repositorio-yum-oracle-free","status":"publish","type":"post","link":"https:\/\/www.soudba.com.br\/?p=84","title":{"rendered":"Repositorio YUM &#8211; Oracle &#8211; FREE"},"content":{"rendered":"<p>Se voce tiver os discos de instalacao pode copiar eles em uma pasta por exemplo \/stage\/<br \/>E deve adicionar essas informacoes criando um arquivo&nbsp; media.repo na pasta \/etc\/yum.repos.d assim o yum ira funcionar normalmente.<\/p>\n<p>\/etc\/yum.repos.d<br \/>[root@srvoracle01 yum.repos.d]# pwd<br \/>\/etc\/yum.repos.d<br \/>[root@srvoracle01 yum.repos.d]# cat media.repo<br \/>[media]<br \/>name=Red Hat Enterprise Linux $releasever<br \/>baseurl=file:\/\/\/stage\/redhat\/Server\/<br \/>enabled=1<br \/>gpgcheck=0<\/p>\n<p>Ou seguir os passos abaixo para fazer a configuracao do repositorio do YUM.<\/p>\n<p>Getting Started<\/p>\n<p>&nbsp;&nbsp; 1. Download and Install Enterprise Linux<br \/>&nbsp;&nbsp; 2.<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Download and copy the appropriate yum configuration file in place, by running the <\/p>\n<p>following commands as root:<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Oracle Enterprise Linux 4, Update 6 or Newer<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # cd \/etc\/yum.repos.d<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # mv Oracle-Base.repo Oracle-Base.repo.disabled<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # wget http:\/\/public-yum.oracle.com\/public-yum-el4.repo<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Oracle Enterprise Linux 5<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # cd \/etc\/yum.repos.d<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # wget http:\/\/public-yum.oracle.com\/public-yum-el5.repo<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Oracle VM 2<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # cd \/etc\/yum.repos.d<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # wget http:\/\/public-yum.oracle.com\/public-yum-ovm2.repo<\/p>\n<p>&nbsp;&nbsp; 3.<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enable the appropriate repository by editing the yum configuration file<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Open the yum configuration file in a text editor<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Locate the section in the file for the repository you plan to update from, <\/p>\n<p>e.g. [el4_u6_base]<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Change enabled=0 to enabled=1<br \/>&nbsp;&nbsp; 4.<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Begin using yum, for example:<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yum list<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yum install firefox<\/p>\n<p>You may be prompted to confirm the import of the Oracle OSS Group GPG key.<\/p>\n<p>(http:\/\/public-yum.oracle.com\/)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Se voce tiver os discos de instalacao pode copiar eles em uma pasta por exemplo \/stage\/E deve adicionar essas informacoes criando um arquivo&nbsp; media.repo na pasta \/etc\/yum.repos.d assim o yum ira funcionar normalmente. \/etc\/yum.repos.d[root@srvoracle01 yum.repos.d]# pwd\/etc\/yum.repos.d[root@srvoracle01 yum.repos.d]# cat media.repo[media]name=Red Hat &hellip; <a href=\"https:\/\/www.soudba.com.br\/?p=84\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[345,346,347,348,352],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-yum","category-yum-funcionar","category-yum-linux","category-yum-manual","category-yum-repositorio"],"_links":{"self":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=84"}],"version-history":[{"count":0,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/84\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}