Link to home
Start Free TrialLog in
Avatar of davidpm
davidpmFlag for United States of America

asked on

How to duplicate a Fedora Core system

I purchased a dedicated server for a monthly fee (fedora) from a hosting company. Since this server will host live data I would like to duplicate it in-house to use as a sandbox unit to help train other techs.

How do I figure out how to best duplicate the remote server.
I know I can just list all packages installed but how does that translate to an install process?
Avatar of ygoutham
ygoutham
Flag of India image

best bet would be to install a fedora machine in house and have all the packages you need installed.  all you need is only the data part (probably the html area and the database area) to be replicated in-house.  try

rsync
ftp
nfs
scp

as an option to keep the data component alone replicated. less of an overhead in terms of data transfer if you ask me.

a sandbox which is on a continuous sync with the other system would only hamper the options (in terms of users and groups and etc) and hence the suggestion for only a data sync.

goutham
Avatar of davidpm

ASKER

I apparently did not phrase my question properly. I know how to sync the data from one system to another. What I want to do is duplicate a remote system without having to check every package and version on the source system manually.
getting the packages installed remote to duplicate itself in-house is something that is not possible. if need be you can consider running a rsync for all directories but for

/dev/

/proc/

/var/log

/etc

but eliminating /etc/ would mean that you would also forego most of config files as well.  remote RAID is something i am not aware of.

most of hosting companies give you a server with a VPS with VMWare.  that does not mean that you have the total server. i am speaking of my experience.  most packages should be in /usr and /var directory. but still you would require your own boot, and /etc partitions with /etc/passwd at your disposal rather than copying something from remote not knowing who might change the passwords.

if you have your specific applications in mind, then you should be more concerned about  the data part of it rather than version and package information.  if you can get the data to run successfully then your tech guyz can equip themselves with this data + applications installed by your choice / their choice.  that is the primary idea and not mirroring a remote server in house, that ways whatever you might do here might be over written with what is done remote. then where is the learning for the sandbox players?????
Avatar of davidpm

ASKER

My server is not at VPS but a true dedicated server.
Is there any log created by the install process that would tell me what was installed?
ASKER CERTIFIED SOLUTION
Avatar of ygoutham
ygoutham
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial