-
Junior Member
registered user
apt-get & proxy
Hi Im currently conected to Internet trough a winproxy, how can i use apt-get?
-
Senior Member
registered user
ooh! ooh! I know the answer to this one!
before you run apt-get (and the rest of your command line) you will want to run the command
export http_proxy="http://your.proxy.name:8080"
replace your.proxy.name with the DNS name or IP address of your proxy, and replace 8080 with what ever proxy port you use in your browser.
My proxy let's ftp traffic out without using the proxy, so I'm not sure what you will need to do if ftp traffic becomes an issue, but let the group know, and I am sure someone can give you some input.
-
Junior Member
registered user
it works!!!
Many thanks for your wise answer
in addition i can use apt-get as follows:
Code:
http_proxy=ipoftheproxy:httpport apt-get update
many thanks
-
Senior Member
registered user
I believe this should work with modification of the address in the /etc/apt/apt.conf for a more permenant solution.
Code:
Acquire::http::Proxy "http://localhost:8000";
Acquire::ftp::Proxy "http://localhost:8000";
-
apt-get & Proxy
My proxy requires NT authentication. In addition to the postings, how do I pass the NT authentication to the proxy server?
-
Junior Member
registered user
Won't work
My company's proxy will not work:
Can you please help?
-
Senior Member
registered user
you forgot the quotes.
see the previous example, and try that.
-
Senior Member
registered user
> My proxy requires NT authentication.
Try "export http_proxy=http://user
asswd@proxy
ort" before apt-get
Similar Threads
-
By unterzahl in forum German Forum
Replies: 0
Last Post: 05-30-2005, 01:46 PM
-
By mwgrenier in forum Networking
Replies: 5
Last Post: 08-07-2004, 02:05 AM
-
By Matrox in forum Networking
Replies: 2
Last Post: 06-14-2004, 06:23 PM
-
By A. Jorge Garcia in forum General Support
Replies: 7
Last Post: 01-30-2004, 12:30 AM
-
By BartOZ in forum Networking
Replies: 3
Last Post: 09-06-2003, 12:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lenovo IBM System x3650 M5 8871 Server Xeon E5-2620 v4 x 28 128GB RAM No HDDs
$199.99

IBM xSeries 206m Server 1x Pentium 4 3.2 GHz 1 GB Ram No OS No HDD
$109.95

IBM 8231-E2C Power p730 Server, 3.55GHz 16 core, 2 x EPC3, PowerVM express
$595.00

IBM X3630 M4 Server 2x Intel Xeon E5-2407 Quad Core Server w/48Gb, DVD-RW WORKS
$118.92

IBM Power S824 8286-42A 2x Power8 CPU 2x 32gb memory No HDD 12Bay 4U Server
$400.00

IBM 5458-AC1 X3250M5 2.5 Bay Server CTO
$269.99

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00

IBM SYSTEM X3200 M3 7328AC1 Server INTEL XEON X3450 8GB SEE NOTES
$46.55

IBM 3837-AC1 X3850 X6 CTO SERVER
$400.00

IBM X3850 M2 4U Rack Server BOOTS 4x Xeon MP 2.93Ghz Hot Swap 32GB RAM NO HDDs
$279.99