1./etc/sudoers
最后一行
your_user_name ALL=(ALL)NOPASSWD: ALL
2. /etc/hostname 主机名 ubuntu
/etc/sysconfig/network centos
3.更新源
/etc/apt/sources.list
apt-get update
1./etc/sudoers
最后一行
your_user_name ALL=(ALL)NOPASSWD: ALL
2. /etc/hostname 主机名 ubuntu
/etc/sysconfig/network centos
3.更新源
/etc/apt/sources.list
apt-get update