Can not mount NFS in Ubuntu with CentOS 6.3
Hi everybody
I'm using ubuntu 12.04.LAN IP is 192.168.1.36
I install Virtual Box. In virtual box I install CentOS 6.3. LAN IP is 192.168.56.102
2 computers can ping success
I want to mount folder in CentOS /home/www/web/uploads to /home/nfs (in Ubuntu)
Ubuntu: root
mkdir /home/nfs
/etc/init.d/nfs-kernel-server start
service portmap start
in /etc/exports I add /home/nfs 192.168.56.102(rw,insecure,no_root_squash)
In CentOS:
mount -t nfs 192.168.1.36:/home/nfs /home/www/web/uploads
Error: mount.nfs: access denied by server while mounting 192.168.1.36:/home/nfs
Please help me solve this problem
Thank you very much
Last edited by ubungu; 07-26-2012 at 03:07 AM.
|