Ask Your Question
2

Set up a proxy in Fedora 22

asked 2015-09-02 19:39:31 -0500

Ronald Andrade gravatar image

Greetings, I'm having a serious problem with my new fresh Fedora22 on a laptop of my company. They use a proxy with a user and pwd. The thing is what I need to configure to update and installs programs from the dnf and software center.

Thanks in advanced.

Ronald

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-09-03 00:04:34 -0500

yanagawa gravatar image

updated 2015-09-03 00:24:55 -0500

edit /etc/dnf/dnf.conf and add below lines.

proxy=http://<your-companiy's-proxyserver>:<port>/
proxy_username=<your-user-name>
proxy_password=<proxy-password>

just like yum.conf

edit flag offensive delete link more

Comments

Hi ! when I'm trying to update it show me this

dnf -y update Error: Fallo al sincronizar la cache para el repositorio 'fedora' desde 'https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64':Cannot prepare internal mirrorlist: Curl error (35): SSL connect error for https://mirrors.fedoraproject.org/met... [TCP connection reset by peer]

What it could be ?

Ronald Andrade gravatar imageRonald Andrade ( 2015-09-03 09:53:36 -0500 )edit

I concluded that my company is blocking all repositories from Linux distros, because of some politics. Lame but well at least I know. Thanks ! Pd: I can only surf the internet as well :)

Ronald Andrade gravatar imageRonald Andrade ( 2015-09-03 10:46:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-02 19:39:31 -0500

Seen: 4,760 times

Last updated: Sep 03 '15