centos - repos with proxy working together with repos without it -


I am working with Red Hat / Santos Linux, who have a company, which have their own repositories (Secure Issue) and I needed to install another package that was not in this repo, so I created some configuration:

/etc/yum.repo (About Proxy Configuration)

  proxy = server proxy_username = myuser proxy_password = mypsw  

/ etc / sysconfig / rhn / up2date (about proxy Win )

  enableProxy = 1 httpProxy = server  

/root/.bash_profile

  export http_proxy = "server: Port " 

and console: replace x.repo (example remi.repo) with proxy = server> port configuration

After this, I use Linux to create a connection, and I enter the log in password for the proxy server, and after which I have gone, I will use x Can get package from .repo (for 15 minutes), but the company's Do not work in the repo.

So the question:

  • Is it possible to repo the company repo and others work together?
  • Is it possible to configure the proxy to not make the connection?
  • And if the answer is yes, then how to do it, because I do not have to try to install a package A from the repo r (rei), but it has some reliance on the repo c (company) , I have left the proxy configuration, installed the dependence from C., replaced the proxy and installing the package A. It was a week to set up some simple things to do this (5 minutes maximum If a E-Proxy instead)


Comments