C'est La Vie

    人生无彩排,每一天都是现场直播!

    为ubuntu的apt-get使用http/https代理

    最近配置服务器,需要使apt-get透过代理服务器来访问互联网,查到让apt-get使用http/https代 […]

    最近配置服务器,需要使apt-get透过代理服务器来访问互联网,查到让apt-get使用http/https代理的方法,记录下来,备忘:

    命令:

    sudo apt-get -o Acquire::http::proxy="https://username:[email protected]:8080" install package

    发表回复

    您的电子邮箱地址不会被公开。 必填项已用*标注