Answer the question
In order to leave comments, you need to log in
How to create a working server image on Ubuntu?
Only an important condition. It is necessary that when opening this image, a working server is deployed, which would be given to the localhost.
I assume that for this you will need to run it as a virtual machine, but how to build it so that you can run it like that?
Answer the question
In order to leave comments, you need to log in
Don't look that way.
Make a system archive:
Create a virtual machine, copy the /chroot directory to it
Mount the necessary virtual file systems - write to /etc/fstab:
udev /chroot/dev devtmpfs rw,relatime,size=10240k,nr_inodes=4112034,mode=755 0 0
devpts /chroot/dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
sysfs /chroot/sys sysfs rw,relatime 0 0
proc /chroot/proc proc rw,relatime 0 0
none /chroot/run/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question