(Setup NFS Server for Root NFS) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
Bootstrapping your embedded target to boot from RootNFS can significantly speed up and enhance your development environment. | Bootstrapping your embedded target to boot from RootNFS can significantly speed up and enhance your development environment. | ||
+ | |||
+ | To install a NFS server on your Ubuntu development box run: | ||
+ | |||
+ | <PRE> | ||
+ | sudo apt-get install nfs-kernel-server | ||
+ | </PRE> | ||
To export a directory by NFS (Network File System) as your root filesystem, edit your /etc/exports configuration file and add: | To export a directory by NFS (Network File System) as your root filesystem, edit your /etc/exports configuration file and add: |
Bootstrapping your embedded target to boot from RootNFS can significantly speed up and enhance your development environment.
To install a NFS server on your Ubuntu development box run:
sudo apt-get install nfs-kernel-server
To export a directory by NFS (Network File System) as your root filesystem, edit your /etc/exports configuration file and add:
/home/<homedir>/export 192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync,no_subtree_check)
To apply the changes, execute:
sudo service nfs-kernel-server restart