• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Mirroring Specific Aspects of a Linux System

ineedsleep

Senior member
I have a linux server that runs RedHat 6.2 and I want to mirror several important configurations to replicate the server in my house for general testing. I have root access to the server and must do everything through SSH or FTP. Now what I want to know... Let's assume that I want to mirror the following installations (plus a few others that I probably can't think of or don't know I need):

Apache
MySQL
PostgreSQL
Sendmail
Bind
PHP

Is it possible to simpy copy the files from their /etc and /usr locations and overwrite any existing files on the server in my house? Is this even a good idea?

Can I just copy the whole /etc and /usr directories to my server?

Any and all help would be much appreciated...
 
Personally, I would tar the whole damn drive up, burn it to disk (or whatever) and then untar it on your home system. But that may not be the best solution (custom kernels can mess with things. You also need to worry about libraries and dependancies and whatnot.
 
If I were to do that... would I install a standard 6.2 install - then take the tar of the whole drive and overwrite the system?
There isn't any type of custom kernel... Libraries and dependencies can be fixed without causing a total system failure right?

If this is the case, I will have to download the tar file through FTP.... It can't be more than a gig right. If what I said above can be done, then that's what I'll do - then try to satisfy dependencies... Keep in mind that hardware will probably different between the two servers...
 
If you tar the whole drive (however big it ends up being) you will take care of dependancies. So it SHOULD work just fine. But how different is the hardware? If you are trying to load redhat 6.2 on a VERY modern system you will have nothing but trouble...
 
I assume that when you say...


<< If you are trying to load redhat 6.2 on a VERY modern system you will have nothing but trouble... >>


...that you mean that 6.2 will not support the system. Well, if that is the case, when I originally install 6.2 on my home system (I am installing 6.2 first correct?) - I will know whether or not my hardware is supported. I don't see why it wouldn't be though... Everything in it is about a year old...
 


<< I assume that when you say...


<< If you are trying to load redhat 6.2 on a VERY modern system you will have nothing but trouble... >>


...that you mean that 6.2 will not support the system. Well, if that is the case, when I originally install 6.2 on my home system (I am installing 6.2 first correct?) - I will know whether or not my hardware is supported. I don't see why it wouldn't be though... Everything in it is about a year old...
>>



Yeah, you will need to install it. 6.2 is over a year old I believe. I have heard of problems (on these boards in fact) with 6.2 and athlons among other things. So do a search here for redhat 6.2 and see if the hardware is similar to what you have. I would personally give it a try, but as a warning, realize that there have been problems with 6.2 and newer hardware.
 
Thanks a lot for your help! As it turns out, the server (not the one in my house) runs an Athalon that is slower than the one in my house.

Well, I'm going to give it a shot... soon... I mean - it IS a test system so the worst that can happen is it doesn't work... while my acutal server will still be running strong. I just wanted to make sure that what I do (which could take hours) is not an attempt at something impossible...

After a couple more searches on various hardware issues on google.com I will start - I can't stand the search feature on this board...

Thanks for your help and rapid replies. I really do appreciate it.
 
Back
Top