心灵小站
点滴记忆
home
晚9点
讨论吧
gallery
Forum Index
Board index
»
计算机/电脑
»
常用软件
»
debian / ubuntu 为 APT 设置代理
Browsing this Thread: 1 Anonymous Users
Bottom
Previous Topic
Next Topic
Register To Post
Topic options
View mode
Newest First
eyex
debian / ubuntu 为 APT 设置代理
#1
eyex
Just can't stay away
Joined:
2017/9/5 21:34
Last Login:
9/23 17:17
Group:
Registered Users
Posts:
102
Level : 9
HP : 0 / 202
MP : 34 / 4269
EXP : 10
为 APT 设置代理
如果要从 Ubuntu 存储库安装软件包,则需要为 APT 设置代理。您可以通过在 /etc/apt/apt.conf.d/ 创建一个新的配置文件来做到这一点:
nano /etc/apt/apt.conf.d/proxy.conf
添加以下行:
Acquire::http::Proxy "http://username::8181/";
Acquire::https::Proxy "https://username::8182/";
完成后保存并关闭文件。您现在可以在系统中安装 Ubuntu 存储库中的任何软件包
Posted on: 9/23 17:18
Board index
»
计算机/电脑
»
常用软件
»
debian / ubuntu 为 APT 设置代理
Top
Previous Topic
Next Topic
Register To Post
[
Advanced Search
]
friend links
github中文
/
codewhy教程
/
kodi
Themes
bigcity
pointspace
(
2
themes)
Main Menu
Home
晚9点
Submit
Blocks
Archive
List
Tag list
Search
讨论吧
gallery
Login
Username:
Password:
Lost Password?
Register now!
Categories
Xoops
(11)
--Modules
(2)
--Themes
(0)
Article
(8)
最美英文
(55)