Centos 7 terminal ignores proxy settings


Recommended Posts

Hi!

 

I need to install cuda and the fsl software suite to run fibre crossing estimation on our new computer. I have successfully created a dual boot environment running windows 7 and Centos 7. The computer I am using is behind a proxy that requires no username or password, only an ip address and port should be given. I have successfully blacklisted the opensource nvidia driver and installed the most recent one from elrepo with only double clicking the downloaded rpm file, but I was not able to install nvidia cuda or the fsl suite as the terminal does not use my proxy settings, which I enabled in network settings in gnome-control-center.

 

How can I get my terminal to reach other servers and can someone help me with the installation of the most recent cuda toolkit? It would be much better to run this analysis on 640 cuda cores instead running it on an i7.

 

Thank you for your help!


Oh, and I am not in the sudoers list, how to solve this? Should I even bother with this?

Link to comment
Share on other sites

The terminal doesn't need to know about the proxy, but the application you're running in the terminal need to be configured for it. From what you're saying, it sounds like it is YUM which is failing to connect. If so, you need to configure YUM to go through the proxy.

  • Open up the file /etc/yum.conf with a text editor (you'll need to use sudo or log in as root).
  • Find the section with the [main] heading.
  • Add the following setting (replace <proxy_address> and <proxy_port> with the appropriate ip and port):
    proxy=http://<proxy_address>:<proxy_port>
  • Save the file and retry

If you want to add yourself to the sudoer's file, you'll need to log in as the root user, and use the visudo command to edit your /etc/sudoers file. Once you've added yourself to the sudoers, log out of root and your normal user should be able to use the sudo command correctly.

  • Like 2
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.