Configuration of Samba, TFTP, and NFS in ubuntu12.04

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.