12 June 2015
How to Configure apt-get with Proxy on Ubuntu 14.04
apt-get command with Proxy on Ubuntu 14.04
#cd /etc/apt/apt.conf.d
สร้างไฟล์ชื่อ 10proxy:
#sudo vi 10proxy
จากนั้นให้เพิ่มบรรทัดเข้าไป แบบไม่ Authentication
Acquire::http::Proxy "http://yourproxyaddress:proxyport/";
ถ้าเป็น Authentication:
Acquire::http::Proxy "http://username:password@yourproxyaddress:proxyport/";
Example:
root@demo:/# cat /etc/apt/apt.conf.d/10proxy
Acquire::http::Proxy "http://x.x.x.x:8080/";
root@demo:/#
หลังจาก นั้นก็ apt-get update && apt-get upgrade โลด
Subscribe to:
Posts (Atom)
Popular Posts
- How to install Docker container on EVE-NG
- Get Message 'system failure: exception During auth soap: Receiver' on Zimbra Web Admin
- Spanning Tree Protocol
- [ISSUE] Failed to allocate the network(s), not rescheduling, Spawning new instances is fail OpenStack
- How To Adding and Run Docker Container on UnetLab
- How To Set Timezone on Linux CentOS7
- How To Expand Disk (HDD) for UNetLab VM
- How to Configure InterVLAN with Router (Route-on-Stick)
- Download and Install pfSense 2.3 Firewall Open Source
- First Times Import Unified Networking Lab (UNetLab) OVA in VMware Workstation