1. Samba setting
1> apt-Get install samba
Apt-Get install smbfs
2> mkdir/home/Linux/Upload File
Chmod 777/home/Linux/partition File
3> Vim/etc/samba/smb. conf
Add as follows:
[Share]
Path =/home/Linux/Upload File
Public = Yes
Writable = Yes
Read = Yes
4>/etc/init. d/samba restart
2. TFTP setting
1> check if TFTP installed:
Dpkg-s TFTP-HPA
2> apt-Get install TFTP-HPA
Apt-Get install tftpd-HPA
3> sudo Vim/etc/default/tftpd-HPA
Change as follows:
Tftp_username = "TFTP"
Tftp_directory = "/home/Linux/tftpfile"
Tftp_address = "0.0.0.0: 69"
Tftp_options = "-C-S-l"
4> sudo service tftpd-HPA restart
5> test:
TFTP 127.0.0.1
TFTP> Get File
TFTP> put File
TFTP> q
3. NFS setting
1> apt-Get install nfs-kernel-Server
2> Vim/etc/exports
Add as follows:
/Home/Linux/nfsfile * (RW, sync, no_root_squash, no_subtree_check)
3>/etc/init. d/nfs-kernel-server restart
4> test:
Mkdir/mnt/nfs
Monut-t nfs 127.0.0.1:/home/Linux/nfsfile/mnt/nfs
Configuration of Samba, TFTP, and NFS in ubuntu12.04