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.