Originally Posted by sluge
Hello! I have installed and setted up RHES 6.2. So, I need to install the new one server and copy all existing settings from old to new one. I mean network settings, user accounts, mount points (HW is the same). Is any way to do it easy or I need to copy every file by hand?
The first thing to do is create a kickstart file for the new install. This can be done by copying the kickstart file on the current server.
Set the initial root password, based on a previously derived encrypted password
rootpw --iscrypted XaacoeGPmf/A <-- replace with your root hash from /etc/shadow
Then install using that kickstart file. Once the installation is done then you can rsync the old server to the new server. From the new server(in the %post% section of your kickstart file) add an rsync command to get all the files over.
rsync -avPz root@oldserver:/ /
That should copy all of the contents from the old server to the new server.
Then once it is done you will need to restart the machine just to make sure everything copied over correctly.