Another question that I unfortunately had to answer myself several times because I am so forgetful: How do I quickly set up a functionally identical Ubuntu duplicate?1 In the past, we had to fiddle around with dpkg --get-selections
and dpkg --set-selections
. Today, it’s easier — with apt-clone:
[ en | de ]
Solution
sudo apt-get install openssh-client openssh-sever apt-clone
(@Master)- Install the base version of the same Ubuntu Release (@Slave)
sudo apt-get install openssh-client openssh-sever apt-clone
(@Slave)sudo apt-clone clone .
(@Master)scp apt-clone-state-[Master].tar.gz [Slave]
(@Master)sudo apt-clone restore apt-clone-state-[Master].tar.gz
(@Slave)