So, to export the directory /home/user, edit the /etc/exports file adding the following line. NFS exports from a server are controlled by the file /etc/exports.If loopback is bound, reconfigure portmap (sudo dpkg-reconfigure portmap), then restart it: sudo /etc/init.d/portmap restart when configuring portmap, do not bind loopback.For example, run sudo apt-get install nfs-kernel-server nfs-common portmap download the nfs packages with the preferred method.As for tftp, installation and configuration depends on the Linux distribution on the host. The most common way to setup a system like the one described is through NFS. In such a way, you can quickly modify the root file system, even “on the fly” (meaning that the file system can be modified while the system is running). So the most convenient thing is to mount the whole root file system from the network, allowing the host system and the target to share the same files. Such a root file system can become very big in size, so it's hard to store it in flash memory. A good development root file system provides the developer with all the useful tools that can help him/her on his/her work. One of the most important components of a Linux system is the root file system. Please note that, beside atftpd, there are other software packages providing a tftp server, e.g. To change the tftp root directory, user should edit the /etc/default/atftpd file. start the server: sudo /etc/init.d/atftpd start.assign the permission: sudo chmod -R 777 /tftpboot and sudo chown -R nobody /tftpboot.create the tftp root directory: sudo mkdir /tftpboot.edit the /etc/default/atftpd and change the USE_INETD to false.For example, run sudo apt-get install atftpd ![]() download the atftpd package with the preferred method.To change the tftp root directory, user should edit the /etc/xinetd.d/tftp file and modify the server_args option. restart xinetd: /etc/init.d/xinetd restart. ![]()
0 Comments
Leave a Reply. |