The Perfect Setup - White Box Linux

Discussion in 'HOWTO-Related Questions' started by tigerseyetech, Apr 20, 2007.

  1. tigerseyetech

    tigerseyetech New Member

    What would you suggest (percentage wise) when manually setting up the hard drive partitions?
    What percent of hard drive space would you assign to / and what percent would you assign to /home?

  2. falko

    falko Super Moderator ISPConfig Developer

    That'S totally up to you. You can even put everything in one large / partition. If you tell ISPConfig to create the web sites in /var/www instead of /home/www, for example, there's even no use for a /home partition. And maybe that's the better way: host your web sites on the /var partition; the MySQL database is also on the /var partition as well as the emails.
    You could then have a / partition of ~5GB (should be enough), a swap partition of two times the size of your RAM, and then you can assign the rest to the /var partition.
  3. cheros

    cheros Guest

    You may want to keep updating in mind. If you keep the OS (/etc, /boot, /usr, /opt, /var for example) separate from the area in which you keep your data such as /home and maybe /srv (assuming your DBs such as MySQL and PostgreSQL don't seat themselves somewhere in /var) it allows you to do an install from scrach without destroying your data.

    That doesn't mean you shouldn't back up :), but it save a lot of time during system upgrades as you just don't bring your data partition online until post upgrade.

    Be careful with user home directories, though. Especially if you change distro you may need to create a template user and look at the app defaults before you override them with those of a previous setup..

Share This Page