FTP
Start-up vsftpd:
# /opt/sbin/vsftpd /opt/etc/vsftpd.conf
vsftpd is running on standard FTP port 21. Default FTP login with direct access to internal hard disk (/home):
Username: ftpadmin
Password: ftppass
If you want to add new USER with shell access:
# adduser USERNAME -h USERDIR
If you want to add only FTP USER (no shell):
# adduser USERNAME -h USERDIR -s /bin/false
If you want to remove user:
# deluser USERNAME
NFS
Showing NFS shares on 192.168.1.7:
# showmount --exports 192.168.1.7
Export list for 192.168.1.7:
/raid0/data/_NAS_NFS_Exports_ *
/raid0/data/_NAS_NFS_Exports_/Filmy 192.168.1.5
Mounting NFS share Filmy at 192.168.1.7 with read-write permissions:
# mkdir /home/NFS
# mount -t nfs -o rw,nolock,udp,rsize=32768 192.168.1.7:/raid0/data/_NAS_NFS_Exports_/Filmy /home/NFS
SAMBA
Mounting SAMBA share Filmy at 192.168.1.7 with read-write permissions:
# mkdir /home/SAMBA
# mount -t cifs /cifs /home/SAMBA -o rw,nodiratime,username=xxx,password=xxx,unc=//192.168.1.7/Filmy
|