《Debian标准教程》摘录2则

1.克隆Debian系统

  如果使用的Debian系统只有使用apt安装的软件包,可以使用下面的脚本来安装一个完全一样的新系统。

#在源主机上
dpkg --get-selections > selectfile


#在另一台使用相同source.list的计算机上
dpkg --set-selections < selectfile
apt-get dselect-upgrade

原文在P85.大家可以看看。

2.使用rcconf配置启动脚本。

  CentOS有setup工具配置启动服务,使用相当方便。在Debian中,rcconf就相当于setup。

  rcconf没有预装到系统中,先安装:

apt-get install rcconf -y

上传使用图一张:

转贴请注明来自:格通

原文地址:https://www.cnblogs.com/getong/p/3345402.html