天天看點

Install nfs filesystem to Ubuntu 9.10

1.

# sudo apt-get install nfs-kernel-server

# vim /etc/exports

add line

/tftp/smartq7/  192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash)

# sudo /etc/init.d/nfs-kernel-server restart

2.

Have a test on host

# touch /tftp/smrtq7/testfile

# sudo mount 192.168.0.10:/tftp/smartq7 /mnt

# ls /mnt/