ITeye博客

Ubuntu代理设置及apt-get

pluto418 · 2013-01-20 07:42 · Linux · 企业架构 · Markdown

切换到root用户 someuser@u-bigboy:~$ sudo su -

增加sudo用户 vi /etc/sudoer

增加代理 sudo /etc/apt/apt.conf acquire::http::proxy "http://username:passowrd@proxy:80/";

更新Software sudo apt-get update sudo apt-get upgrade

sudo apt-get install/remove openssh-server Ubuntu sudo apt-get install/remove vim Ubuntu or sudo yum install/remove openssh-server CentOS

cp -r /root/ /mnt /将/root目录中的所有文件及其子目录拷贝到目录/mnt中/

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。