1. Cloning Systems Debian
If you use Debian systems use only apt package installed, you can use the following exactly the same script to install a new system.
#在源主机上
dpkg --get-selections > selectfile
#在另一台使用相同source.list的计算机上
dpkg --set-selections < selectfile
apt-get dselect-upgrade
The original text. We can look at P85.
2. Use rcconf configure the startup script.
CentOS has setup configuration tool to start the service, use very convenient. In Debian, rcconf equivalent setup.
rcconf not preloaded into the system, install:
apt-get install rcconf -y
Upload using a map:
Posted please specify from: Advisa
Reproduced in: https: //my.oschina.net/u/191928/blog/618677