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