Skip to main content
replaced http://askubuntu.com/ with https://askubuntu.com/
Source Link

If all else fails, there's the old fashioned way - On Ubuntu or debian,use dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selectionsuse dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selections. The equivalent of this for red hat based distros is yum-debug-dump and yum-debug-restore (optionally with --install-latest).

Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there and working, and starting up as needed, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

If all else fails, there's the old fashioned way - On Ubuntu or debian,use dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selections. The equivalent of this for red hat based distros is yum-debug-dump and yum-debug-restore (optionally with --install-latest).

Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there and working, and starting up as needed, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

If all else fails, there's the old fashioned way - On Ubuntu or debian,use dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selections. The equivalent of this for red hat based distros is yum-debug-dump and yum-debug-restore (optionally with --install-latest).

Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there and working, and starting up as needed, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

added 319 characters in body
Source Link

If all else fails, there's the old fashioned way - On Ubuntu or debian,use dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selections. The equivalent of this for red hat based distros is yum-debug-dump and yum-debug-restore (optionally with --install-latest). 

Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there and working, and starting up as needed, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

If all else fails, there's the old fashioned way - use dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selections. Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

If all else fails, there's the old fashioned way - On Ubuntu or debian,use dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selections. The equivalent of this for red hat based distros is yum-debug-dump and yum-debug-restore (optionally with --install-latest). 

Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there and working, and starting up as needed, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

changed formatting, and a typo in the link title
Source Link

If all else fails, there's the old fashioned way - use dpkg --setget-selections to dump out a list of installed packages, and install them with dpkg --getset-selections. Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc//etc/ folder for settings, various /home//home/ folders for users (and check permissions here) and other folders like /var/www//var/www/. Test, make sure everything's there, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

If all else fails, there's the old fashioned way - use dpkg --set-selections to dump out a list of installed packages, and install them with dpkg --get-selections. Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

If all else fails, there's the old fashioned way - use dpkg --get-selections to dump out a list of installed packages, and install them with dpkg --set-selections. Create the same users as the source system if necessary - cat /etc/passwd should list them out, and you can check with diff to see if the two lists are identical.

Then use rsync to duplicate your /etc/ folder for settings, various /home/ folders for users (and check permissions here) and other folders like /var/www/. Test, make sure everything's there, and you're done. Takes me less time than to set up a fresh server.

Sometimes, the old, simple ways are the best. If you work this out manually, simply write a script that will replicate this off your current server automatically.

Source Link
Loading