[CentOS] Change Web Server to another disk in Centos 5.2

Lanny Marcus lmmailinglists at gmail.com
Tue Jul 29 17:52:57 UTC 2008


On Tue, Jul 29, 2008 at 11:41 AM, John R Pierce <pierce at hogranch.com> wrote:
> MHR wrote:
>>
>> On Mon, Jul 28, 2008 at 9:48 PM, Kuang-Chun Cheng <kcc1967 at gmail.com>
>> wrote:
>>
>>>
>>> Check apache's configuration.  Change "DocumentRoot" from /var/www/html
>>> to new location you want.
>>>
>>> Or simply, move /var/www/html to new disk ... and make a symbolic link
>>> /var/www/html @-> your_new_path
>>>
>>>
>>
>> I don't know a lot about apache, but it seems to me that the simplest
>> solution is to mount your intended target to /var/www and that should
>> take care of it (provided that you have all the necessary files moved
>> there as well).
>>
>
> if you read his original request carefully, you'll note he's got disks that
> aren't even partitioned or formatted and he's asking for help with both
> storage management AND apache configuration.
>
> I'd suggest he find and hire a systems administrator willing to train him in
> basic Linux administration, or to do the work for him

Good suggestion.. If his server is connected to the Internet and he
doesn't know how to
begin configuring it, to make it as secure as is possible, someone
will probably take it over.



More information about the CentOS mailing list