How to Mount Network File systems (NFS,Samba) in Ubuntu

After I installed Ubuntu 8.04. I needed to mount NFS from my server but I could not mount because I did not install NFS client on by laptop so these are steps for mount NFS .


sudo apt-get install portmap nfs-common

and mount NFS from server by

sudo mount hostname://path/to/share /path/destination

such as

sudo mount 10.0.0.1://home/aoddy /media/test