gentoo


Installing PureFTPd with MySQL Backend on Gentoo

The FTP accounts will be stored in a mysql database table.  First let's install pureftpd: USE="pam ssl mysql" emerge pure-ftpd Once the installation is finished, there are 2 main configuration files in /etc/conf.d:   /etc/conf.d/pure-ftpd IS_CONFIGURED="yes" # the server won't start up if set to "no" SERVER="-S 21" # server port MAX_CONN="-c 30" # maximum number […]


Creating a software raid using mdadm

Installation: Gentoo: emerge mdadm && rc-update add mdadm default && /etc/init.d/mdadm start Debian/Ubuntu: apt-get install mdadm RedHat/Fedora: yum install mdadm You can activate the kernel module by executing: modprobe raid1 First of all, we are going to create some nodes: mknod /dev/md1 b 9 1 mknod /dev/md2 b 9 2 mknod /dev/md3 b 9 3 mknod /dev/md4 b […]