Perform the following operations under the root account:
1. Yum search TFTP
2. Select tftp_server for Installation
3. Modify the/etc/xinetd. d/TFTP File
Modify the configuration file as follows and set the TFTP service directory to/home/kernel. Remember to disable = No
Service tftp
{
Disable = No
Socket_type = dgram
Protocol = UDP
Wait = Yes
Disable = No
User = root
Server =/usr/sbin/in. tftpd
Server_args =-S/home/kernel
Per_source = 110.
CPIs = 100 2
Flags = IPv4
}
4. Yum search xinetd
5. Select xinetd for Installation
6. Modify/etc/exports and add/root/nfsroot * (RW, no_root_squash)./root/nfsroot is the directory to be mounted.
7. Restart related services: Service NFS restart and service xinetd restart
8. Disable the firewall lokkit-disabled of Fedora.
9. Modify/etc/hosts. Allow
### NFS daemons
Portmap: 192.168.1.
Lockd: 192.168.1.
Rquotad: 192.168.1.
MOUNTD: 192.168.1.
STATD: 192.168.1.
10. add the NFS service to the startup service. Otherwise, a service NFS restart must be executed every time you start the service. You can view related commands through man service, if you do not have a GUI, you can use ntsysv to start related services. If you have a GUI, you can use system → administration → service to start services.
11. Then you can test it through Mount-T nfs-O nolock 192.168.1.127:/root/nfsroot/MNT.