Posted by May 6 2024 / 服务器搭建日志
virtual box
Updated on May 9 2024
58 words
1 minutes read

... visits

virtual box

删除虚拟机

VBoxManage controlvm vm1 poweroff
VBoxManage controlvm vm2 poweroff
VBoxManage unregistervm --delete vm1
VBoxManage unregistervm --delete vm2

echo

export proxy="http://172.21.15.197:2080"
export http_proxy=$proxy
export https_proxy=$proxy
export ftp_proxy=$proxy
export no_proxy="localhost, 127.0.0.1, ::1, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8"
echo 'Acquire::http::Proxy "http://172.21.15.197:2080/";\nAcquire::https::Proxy "http://172.21.15.197:2080/";' | sudo tee -a /etc/apt/apt.conf.d/proxy.conf
TAGS
On this page