Mount and Use Second hdd for ftp

ank1t

Verified User
Joined
Dec 13, 2005
Messages
19
I received 2 hard discs with my web server [centos and directadmin]

These are the Discs:
FileSystem - Size
/dev/mapper/VolGroup00-LogVol00 221G
/dev/sdb1 230G


I plan to use the second hard disc as FTP host for uploading office data backups.
So I mounted the drive as /backup and set it up to mount at boot.

Now how to use/access the hard Drive, i.e. how to point ftp program to use that folder?

thanks in advance.
 
You have to modify the ProFTPd configuration; where you'd do that would depend on whether you're setting it up for a system user or a virtual user (ftp user set up for a domain from within DirectAdmin).

If for a system user you'll have to read the ProFTPd documentation and make modifications to the configuration file at /etc/proftpd.conf (or better, create an include file with the correct configuration).

If for a virtual user, a change to /etc/proftpd.passwd or to /usr/local/directadmin/data/users/USERNAME/ftp.passwd (if the user has its own IP#) may be enough.

You'll need to restart the daemon before the new file contents will be used.

Jeff
 
Back
Top