Partition scheme on a Dell Poweredge T410 server for LAMP, samba and mail
I've been using linux for 10 years as of now but always was a desktop user. The thing is that now I must assembly a small server on my company and decided to ask sugestions to the best, meaning the LQ users.
The server has four main purposes as of now:
1) Provide file share through the network (Samba)
2) Host our website (LAMP); and
3) Our e-mail
4) Host a mysql base application that I'm developing.
The server is a Dell Poweredge T410 with Intel Xeon 5600 series, Two 1TB hitachi sata 2 hd in RAID 1 via sas i6R and 8 GB Ram (The best we could afford).
I've decided to use gentoo which is my favourite flavor of linux and designed the following scheme partition:
1) /boot 100mb ext2
2) /swap 16Gb linuxswap
3) / 100gb ext4
4) /var/mail 256gb ext4
5) /var/lib/mysql 256gb ext4
6) /home 256gb XFS
7) /tmp 16gb ext4
But since I'm a server-newbie-kinda-guy I realized asking would be better prior to start partitioning. Thanks in advance for all the helpers I'm sure will show up
When you say "Host our website", if this is a website that is available to the public do not host it on the same system you want to use as your internal e-mail store or SMB file store. If you do this and your web server is compromised in any way. then you will be exposing every single bit of your companies data, all documents, all e-mails, internet e-mails etc.
What you should consider doing is to use some form of virtualisation and create two servers on your hardware, one for your internal data and one for your public facing website. You may want to even consider creating three servers and have one for your development.
Thank you very much! I didn't realized hosting the mail server and our website on the same server would be a problem. I'll go for virtualizing servers now. Cheers
|All times are GMT -5. The time now is 05:26 PM.|