I'd like to install so that dynamic content (domains, mailboxes, etc.) are all stored under /home. I saw a thread saying that this has to be done before ISPConfig is used (at install time). I tried both the standard and expert settings, but I was never prompted for a PREFIX_DIR (or something like that) to use. So, is it still the case that once you've completed the installation of ISPConfig3, you can't change mail from /var/vmail to /home, web from /var/www to /home, etc.? In general, the need is to install so that volatile data goes into /home, not /var.
Hi, I use this solution 1. to the service 2. move the folder ti /home 3. create a link 4. restart the service Exemple for apache 1. /etc/init.d/apache stop 2. mv /var/www /home/www 3. ln -s /home/www /var/www 4. /etc/init.d/apache stop
Installing under /home for website contents is a really bad idea as apache suexec will stop working then. The suexec path is compiled into apache, so you can not chnage this without compiling your won apache.
Unfortunately, the / partition that owns /var is small. The /home partition is the one that has usable disk space. What does one do to make /home work?
Nothing. As thats simply the wrong solution for your problem. The solution that you use normally in such a case is even easier, you simply remount the harddisk partition that is currently used for /home e.g. as /var/www
I had similar problems. The ISP I use for my servers delivers them partitioned with the majority of space allocated to /home. Basically the solution is to swop the partitions of the disk. Here is a guide I wrote (for myself!) so that I could replicate the fix: (the physcal disk names (sda3, sda5) may be different in your partitioning scheme) Partition adjustment ------------------- In theory to make the swop you should edit the /etc/fstab . However fstab uses the disk labels to identify devices, so the method I use is to change the disk labels. To achieve the swop: 1. Move contents of /home to /backuphome Code: mkdir /backuphome mv /home/* /backuphome 2. copy contents of /var to /home Code: cp -r /var /home 3. use e2label to swop partition labels. Code: e2label /dev/sda3 /var e2label /dev/sda5 /home 4. reboot (for changes to take effect) 5. delete contents of /home (ie all the 'old' var contents which should have already been copied across. Code: rm -rf /home/* 6. move contents of /backuphome to /home Code: mv /backuphome/* /home/ Then install IPSCONFIG. For my full guide that i use have a look at: http://is-code.co.uk/hawk/ If you don't understand any of the procedure, please ask before trying it!
Hi i'm also trying to acheive whats posted here but have changed something. My file system is installed in a 10 gig partition on a 1T hdd. Instead of swapping with home that i presume would leave me with a small home directory (like /var is now) I have made another partition thats half my original home directory called data. Its around 450gig and mounted at /. Will it be ok to use this? Also i'm a little unsure what devs to use. It seems to me to be a straight swap but i'm not sure where the original /var is? So far i have ... Device Boot Start End Blocks Id System /dev/sda1 * 1 1275 10241406 83 Linux /dev/sda2 1276 65975 519702750 83 Linux <= /home /dev/sda3 121536 121601 523488 82 Linux swap / Solaris /dev/sda4 65976 121535 446285700 83 Linux <= /data - The one i created So is var just mounted like the one i made, data? If you could please adjust the e2label part to suit my drive i would really appreciate it or atleast tell me what i'm missing here. sorry for the noob questions ... Thanks =ChAoS=