Change Root Directiry - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Change Root Directiry (/thread-3390.html) |
Change Root Directiry - Brun - 05-29-2008 12:46 AM I have 2 partition (/dev/sda1 and /dev/sda2). Mount point : /dev/sda1 - / /dev/sda2 - /home I want to change a directory from /var/www on /home/vhost and replace all site, mail, logs. How to me to do it? RE: Change Root Directiry - pgentoo - 05-29-2008 12:48 PM You actually want to move your web root to the /home partition? Do you just want to do it because your server has more space on /home? RE: Change Root Directiry - Brun - 05-30-2008 11:24 PM Yes. And it`s safety. RE: Change Root Directiry - Brun - 06-02-2008 04:38 PM So. Who does have any idea ? This is important. At breaking the systems given can be easily picked up thread. RE: Change Root Directiry - Ali_ix - 06-20-2008 12:58 AM As said in other thread, copy the /var/www/ content to /home partition and then edit your fstab and mount /dev/sda2 (currently as home) to /var/www. |