1) Create a partition for TheSSS:
/dev/sda1 --> small ext4 partition
2) Install TheSSS on /dev/sda1.
3) Boot your new TheSSS.
4) Create a RAID partition:
/dev/sda1 --> small ext4 partition
/dev/md0p1 --> big RAID partition
5) Mount /dev/md0p1 somewhere, e.g.:
Code:
mount /dev/md0p1 /media/raid
6) Make sure that Apache and ProFTPD are not running:
Code:
httpd stop
ftpd stop
7) Move files:
Code:
mv -fr /srv/http /media/raid
mv -fr /srv/ftp /media/raid
8) Add the RAID partition to /etc/fstab.local:
Code:
/dev/md0p1 /srv auto rw
9) Reboot.
Done!
Now you have TheSSS running on /dev/sda1. However, all the files hosted by the HTTP and FTP servers are located on the RAID partition with all the resulting benefits.