moving webserver to different hard drive
hello linuxquestions forum,
my question is; i wish to move my apache webserver so it runs on hdc (which is a hd set running in raid1 configuraton). but i do not know the best way to do this or even if it is possible to do. hence, i would like some guidance on the matter so that i can make full use of the raid facility.
thank you in advance
I am no expert, but I think if you simply copy all the directories (and included files) over to the new HD, and just change the line in /etc/httpd/conf/httpd.conf that says:
to reflect the new HD path. For instance, if it's monted at /dev/raid_drive, change it to say:
and then restart the httpd server by going to system settings, server settings, services and highlighting httpd and choosing restart.
yes i had a feeling i had to do that but was just checking. i got confused when in diskdrake there was an option to mount the hd raid set as /var since all my server stuff in in /var. i thought i could set a mount point as /var and mdk would automatically move /var from hda root dirctory to raid set, so raid set would be hdc/var/my-server-is-now-over-here.
thanks for the advice jeffreybluml
|All times are GMT -5. The time now is 10:42 AM.|