ntfs-3g
ntfs-3g-adv
ntfsprogs
NFS:
nfs-utils:
sudo ln -s /usr/local/etc/init.d/nfs-client /sbin
sudo nfs-client start
NFSD:
if [ ! -f /etc/hosts.allow ]; then
sudo /bin/cp /mnt/tcz/nfs/hosts.allow /etc
fi
if [ ! -f /etc/hosts.deny ]; then
sudo /bin/cp /mnt/tcz/nfs/hosts.deny /etc
fi
if [ ! -f /etc/exports ]; then
sudo /bin/cp /mnt/tcz/nfs/exports /etc
fi
st2 filesystems-KERNEL
st2 nfs-utils
sudo /bin/cp /mnt/tcz/nfs/nfs-server /usr/local/etc/init.d
sudo ln -s /usr/local/etc/init.d/nfs-server /sbin
mkdir -p /opt/nfs
sudo nfs-server start
CIFS (Windows Share Folder):
cifs-utils
sudo mount.cifs -o username=xxx,password=xxx,sec=ntlm //ip/path /path
Samba (Windows Share Folder Service):
SAMBA_HOME=/usr/local/etc/samba
sudo mkdir -p $SAMBA_HOME
if [ ! -f $SAMBA_HOME/smbpasswd ]; then
sudo /bin/cp /mnt/tcz/cifs/smbpasswd $SAMBA_HOME
fi
if [ ! -f $SAMBA_HOME/smbusers ]; then
sudo /bin/cp /mnt/tcz/cifs/smbusers $SAMBA_HOME
fi
if [ ! -f $SAMBA_HOME/smb.conf ]; then
sudo /bin/cp /mnt/tcz/cifs/smb.conf $SAMBA_HOME
fi
st2 samba3
sudo smbpasswd -a tc
sudo ln -s /usr/local/etc/init.d/samba /sbin
mkdir -p /opt/cifs
sudo samba start