I am building a machine and would like to have ISPCONFIG running on it. I have the following drives on the machine 1 500 GB for the OS and ISCONFIG - OS is Ubuntu 18.04LTS 1 10TB Drive for holding websites 1 1TB drive for holding the databases How do i go about setting things up so that everything gets to the correct places the 10TB drive is mounted as /website-data the 1TB drive is mounted as /database-data
Remount the drives to the correct locations. The 10TB drive as /var/www and the 1TB drive as /var/lib/mysql take care to stop mysql/mariadb before you remount the drives and ensure that all data from the directories get copied to the new drives before you mount them in place.
since this is a clean install, as i am going to install later this afternoon, i would do this before i do an installation, correct ?
what about premissions? will i have to do anything about that. I am very new at linux so sometimes i have to have things spelt out for me.
A straightforward way to get what you want is set up mounts during Ubuntu install. I have not installed Ubuntu in this way, but I know Debian does allow this. So maybe Ubuntu server version and some advanced installation mode at least allows choosing mount points for disk partitions. That is: Install Ubuntu following the Tutorial: https://www.howtoforge.com/tutorial/ubuntu-lts-minimal-server/ When you to the Partition Disks phase, choose Manual and mount your disks as follows: 500 GB disk as / and put also swap there 1 TB disk as /var/lib/mysql 10 TB disk as /var/www This way permissions are set up by OS install and ISPConfig install, like all other thing also.