NFS Configuration and TFTP configuration under Linux

Source: Internet
Author: User

1. NFS Configuration

Vi/etc/export join the required shared directory. For example:
/home/liukang/workship 192.168.1.0/24 (Rw,sync,no_root_squash,no_subtree_check)


After the modification is complete, run
#exportfs-A makes the change effective.

#/etc/init.d/nfsserver Start Server for NFS.

#exportfs-av View the shared directory.

#netstat-a|grep NFS To view the network Status of NFS.

#chkconfig--list NFS View default status for NFS
The system can automatically start the Portmap and NFS processes for the next restart. Both the client and the server are executed.
#chkconfig –level 235 Portmap on
#chkconfig--level NFS on to turn 3 and 5 ports on
#chkconfig--list Rpcbind View Confirmation

#mount 192.168.1.111:/home/liukang/workship/mnt to mount the directories shared by the server side to the local/mnt directory.
To automatically connect to the server-side NFS partition the next time the client restarts. Modify the client/etc/fstab file. Add
/mnt 192.168.1.111:home/liukang/workship

#umount/mnt to cancel the mount.

#df-H View all mounted directory files


2. TFTP configuration

TFTP configuration

VI/ETC/XINETD.D/TFTP Configuring TFTP


Modify the server path for TFTP;
Turn on TFTP service (default is off) Disable = no
or execute command #/sbin/chkconfig tftp on effect ditto

When configured, start:
Start the TFTP service #sudo/sbin/service xinetd start.

#tftp 192.168.1.111
>get file name
>put file name


command on ARM board:

TFTP-G-R filename 192.168.1.111

TFTP-P-L filename 192.168.1.111

NFS Configuration and TFTP configuration under Linux

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.