Main My profile Registration Log out Login
Friday
3.5.2024
5:46:46 AM
Welcome Guest | RSS LoginRegistrationMain
Site menu
Our poll
Rate my site
Total of answers: 5
Statistics

Total online: 1
Guests: 1
Users: 0
About You
IP
Counter
Free Hit Counter
Main » 2010 » March » 1 » Using adept apt-get
Using adept apt-get
5:30:29 PM
Setting the http_proxy variable

Here's how you set the variable:

bash$ export http_proxy=http://proxy:8080

If you're required to use your username and password for your proxy, they can be specified this way. Obviously, port 8080 can and should be replaced with the valid port for your proxy server (sometimes it's 3128):

bash$ export http_proxy=http://username:password@proxy:8080

===============================================================================================================================================================

Using adept apt-get behind proxy

Create or edit /etc/apt/apt.conf

Acquire::http::Proxy "http://[[user:password]@]proxy:port”;

Sometimes you don’t need [user:password]. Just type:

Acquire::http::Proxy "http://proxy:port"
Views: 8663 | Added by: 000jericho | Tags: linux | Rating: 0.0/0 |
Total comments: 0
Name *:
Email *:
Code *:
Login form
Search
Calendar
«  March 2010  »
SuMoTuWeThFrSa
 123456
78910111213
14151617181920
21222324252627
28293031
Entries archive
Links
Forum  ========================== ..::Forum::..  ==========================
Firends
Friends  ========================== ..::Friends::..  ==========================

Copyright Jericho © 2024
Powered by uCoz