Ubuntu代理设置及apt-get
切换到root用户
someuser@u-bigboy:~$sudosu-
增加sudo用户
vi/etc/sudoer
增加代理
sudo/etc/apt/apt.conf
acquire::http::proxy"http://username:passowrd@proxy:80/";
更新Software
sudoapt-getupdate
sudoapt-getupgrade
sudoapt-getinstall/removeopenssh-serverUbuntu
sudoapt-getinstall/removevimUbuntu
or
sudoyuminstall/removeopenssh-serverCentOS
cp-r/root//mnt/*将/root目录中的所有文件及其子目录拷贝到目录/mnt中*/
相关推荐
yanghui0 2020-06-20
sicceer 2020-05-28
似水流年梦 2020-05-12
gdb 2020-05-08
zhaolisha 2020-05-06
wanghongsha 2020-04-19
hygbuaa 2020-02-26
用不完的好奇心 2020-02-13
wanghongsha 2020-01-17
zhglinux 2020-01-09
zhaolisha 2019-12-21
powerfj 2019-11-19
hygbuaa 2019-11-18
笑面依旧 2019-11-17
一世为白 2019-11-16
OwenJi 2019-11-15