• Home
  • Downloads
  • Contact Us
  • Report Broken Link
Friday, May 9, 2025
  • Login
lessons4you.info
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link
No Result
View All Result
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link
No Result
View All Result
Lessons4you.info
No Result
View All Result

How to Install Google Chrome using YUM on Linux CentOS, RedHat, Fedora

Set Proxy Authentication on Linux CentOS Redhat (Using YUM with a Proxy Server)

Set Proxy Authentication on Linux ubuntu/debian (Using apt-get with a Proxy Server)

by
December 11, 2021
in Uncategorized
Reading Time: 1 min read
A A
Share on FacebookShare on Twitter

Running a Linux box and using “apt-get” command behind a proxy that requires authentication is really painful, you will need to make some configuration to get full internet access. Let me explain you how to get rid of it. First, Open your terminal and add these lines (given below) to the “.bashrc” file. It will set proxy for wget, http, https and ftp access.

1
2
3
 
# vi ~/.bashrc
 

1
2
3
4
5
6
7
8
 
# for wget proxy
alias wget='wget --proxy-user= --proxy-password='
 
export http_proxy="http://:@:"
export https_proxy="https://:@:"
export ftp_proxy="ftp://:@:"
 

Then execute the .bashrc file using source command to make change active.

1
2
3
 
source ~/.bashrc
 

Now, you have to add proxy setting for “apt-get” command also by adding these lines(given below) in the “apt.conf” file. If you don’t do it you may not be able to update or install new packages using “apt-get” command.

1
2
3
 
# vi /etc/apt/apt.conf
 

1
2
3
4
5
6
 
Acquire::http::proxy "http://:@:";
Acquire::https::proxy "https://:@:";
Acquire::ftp::proxy "ftp://:@:";
Acquire::socks::proxy "socks://:@:";
 

NOTE: This is really insecure as you will now have your proxy user id and password simple readable text format.

Previous Post

How to Install Google Chrome using YUM on Linux CentOS, RedHat, Fedora

Next Post

Set Proxy Authentication on Linux CentOS Redhat (Using YUM with a Proxy Server)

Related Posts

How To Install The TWRP Recovery on Xiaomi Redmi 1s
Uncategorized

How To Install The TWRP Recovery on Xiaomi Redmi 1s

May 14, 2022
MIUI Collection Of Gapps (2.3.x – 5.0.x)
Uncategorized

MIUI Collection Of Gapps (2.3.x – 5.0.x)

May 14, 2022
Download Android 5.1.x Lollipop PA Gapps
Uncategorized

Download Android 5.1.x Lollipop PA Gapps

May 15, 2022
Download gapps for Android 5.1 Lollipop Cyanogemod 12.1
Uncategorized

Download gapps for Android 5.1 Lollipop Cyanogemod 12.1

May 14, 2022
Reddit AMA with OxygenOS Team OnePlus
Uncategorized

Reddit AMA with OxygenOS Team OnePlus

May 14, 2022
How to Remove Adobe Updater from OS X Menu Bar?
Uncategorized

How to Remove Adobe Updater from OS X Menu Bar?

July 19, 2023
Next Post

Set Proxy Authentication on Linux CentOS Redhat (Using YUM with a Proxy Server)

  • Home
  • Downloads
  • Contact Us
  • Report Broken Link

© 2022 lessons4you.info

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link

© 2022 lessons4you.info