I just followed the one-line command on this page. It’s amazing that a single command is all you need to enable NFS server.
Then, I followed the instructions on this page with one correction. I edited /etc/auto_home instead of /etc/auto.home.
After that, I edited /etc/passwd file and changed /export/home to /home. It worked beautifully.

asmaa said
student
Notes on configuring NFS « Dave’s Blogs said
[...] my notes that I put together based on reading man pages, config sample, and from my previous blog entry on this topic. I haven’t test this yet. So, feedbacks are [...]
Gaurav Mittal said
Hi Dave,
I am new to automounting. I have a below requirement, Can you guide me to know if the below issue can be solved by automounting. If yes then how.
I have a N440 Box as a NFS server(EMS116) and the shared directory is /appdata/gaurav. I have another client N440 server and have a directory called /gaurav.
I need that the /gaurav be automountable to /appdata/gaurav.
Any help will be highly appreciated.
Regards,
Gaurav