red-nfs


system-config-nfs  
server setteing
select 32764 to 32767 as port
system-config-securitylevel to add the relevant ports

add port 111 to both side as it is portmap port
add port 2049 to both side as it is nfs port

iptables -F on server side if the time out issue.
 
#autofs to mount nfs folder
vi /etc/auto.master
/mnt   /etc/auto.misc   --timeout=50
vi /etc/auto.misc
linux  -ro soft,intr    192.168.1.1:/inst 

service autofs restart

ls /misc/linux
and then mount to show the result

#in client show nfs folder
showmount -e servername|ipaddess

---
varify  nfs with user2 on instructor
ssh user3@instructor
cd /net
ls
---------
don't restart portmap service, instead service portmap start







你可能感兴趣的:(redhat,职场,休闲)