Hello everyone,
I have to admit that I'm not a Linux guy; things seems so simple to do in Windows could give me a hard time figuring out how to do it in Linux world...
I have a Red Hat linux server which the raid controller's gone bad. My task is to recover a web site (all the files, database... related to this web site) on that server and move it to another linux server. The original server had a raid1 configuration and the hard drives themselves are intact. I pull out one of the drives from the dead server and plug it into my test Ubuntu box via an USB to sata adapter. The Ubuntu box can see and mount the drive OK, but there are some folders that I don't have access permissions to... So my questions are:
1. Where is the default location of a web site in a linux box? (that dead server served just 1 single web site, so I think there must be a default location some where that the web site was set up originally). And what are the most likely directories that I can find the web site in if it's not in the default location?
2. How do I go about to change access permission to those locked folders (specifically the "root" folder) so that I can read them?
3. Once I have recovered the web site, where do I put the files/folders in the new server assuming that it'll be the only web site the new server will serve?
Any help will be greatly appreciated.
Thank you,
Stanav.




Reply With Quote