I'm setting up a server to host a couple of minor blogs and act as a NAS (Samba) for my LAN. I've got two HDDs, one 80 GB for the OS and one 1 TB for the users. I mounted the 1 TB to /home and installed Apache.
I'd like the users to keep their files and websites in their private folders. When I used Archlinux many folders were automatically created, such as /home/thoht/www, which were accessed through a web browser by visiting http://www.mydomain.com/~thoht. In addition to this I'll be using virtual hosts (I think) to connect domains (http://www.thoht.com) to the specific directories (/home/thoht/www).
On top of that I want Samba access to root to easily edit configuration files (is this a better/more secure option as opposed to allowing SSH root access?) and store music etc.
Is this viable?
I'd like the users to keep their files and websites in their private folders. When I used Archlinux many folders were automatically created, such as /home/thoht/www, which were accessed through a web browser by visiting http://www.mydomain.com/~thoht. In addition to this I'll be using virtual hosts (I think) to connect domains (http://www.thoht.com) to the specific directories (/home/thoht/www).
On top of that I want Samba access to root to easily edit configuration files (is this a better/more secure option as opposed to allowing SSH root access?) and store music etc.
Is this viable?