During uClinux client configuration in Ubuntu: when you perform the following operations, check whether the nfs-kernel-server suite is installed and check the new software management package. Create a/nfs folder and change its permission to 7771. Modify/etc/exports as follows: #/etc/exports: theaccesscontrollistforfilesystemswhic
Configuration process of uClinux client in Ubuntu:
When you perform the following operations, check whether the nfs-kernel-server suite is installed.
Go to the new software management package.
Create a/nfs folder and change its permission to 777.
1. Modify/etc/exports as follows:
#/Etc/exports: the access control list for filesystems which may be exported
# To NFS clients. See exports (5 ).
#
# Example for NFSv2 and NFSv3:
#/Srv/homes hostname1 (rw, sync) hostname2 (ro, sync)
#
# Example for NFSv4:
#/Srv/nfs4 gss/krb5i (rw, sync, fsid = 0, crossmnt)
#/Srv/nfs4/homes gss/krb5i (rw, sync)
# Format:
# Host name 1 or IP1 in the directory to be shared (parameter 1, parameter 2) host name 2 or IP2 (parameter 3, parameter 4)
# Nfs is the shared file, and 192.168.1.242 and 192.168.1.241 are the Client IP addresses that can be shared.
# (Rw) the access attribute of the client to the shared file is enclosed in brackets.
# Note that the IP address should be a specific IP address, but it is best not to appear *
/Nfs 192.168.1.242 (rw)
/Nfs 192.168.1.241 (rw, sync)
2. Modify/etc/hosts as follows:
127.0.0.1 localhost
127.0.1.1 prisonmap-desktop
# IP address client host name
192.168.1.242 wengheiwei-desktop
192.168.1.241 uClinux
# The following lines are desirable for IPv6 capable hosts
: 1 ip6-localhost ip6-loopback
Fe00: 0 ip6-localnet
Ip6-mcastprefix ff00: 0
Ff02: 1 ip6-allnodes
Ff02: 2 ip6-allrouters
Ff02: 3 ip6-allhosts
After modifying and saving the preceding two files