Go Through proxy in command line for Ubuntu


Ref: http://ubuntuforums.org/archive/index.php/t-83401.html

For apt-get at the command-line

Put the following into your /etc/bash.bashrc file (after putting in the proper servername/IP and port number). Just include the server/port if you have no authentication on your proxy server.

export http_proxy=http://user:[email protected]:port/

export ftp_proxy=http://user:[email protected]:port/

Add these lines, open a new root terminal, and then run your apt-get from the command line.

คำสำคัญ (Tags): #uncategorized
หมายเลขบันทึก: 9508เขียนเมื่อ 13 ธันวาคม 2005 10:05 น. ()แก้ไขเมื่อ 9 พฤษภาคม 2012 00:59 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (0)

ไม่มีความเห็น

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท