Linux基础教程学习笔记之NFS
Linux基础教程学习笔记之NFS
NFS配置:
lab nfskrb5 setup
wget -o http://keytab.krb5.key
vim /etc/sysconfig/nfs RPCNFSDAGS=-V4.2
mkdir /nfs2; mkdir /nfs2/private
chown ldapuser5 /nfs2/private
vim /etc/exports
/nfs2 172.25.0.0/24(rw, sync) sec=krb5p
systemctl restart nfs-server.service
systemctl restart nfs-secure-server.service
Desktop:
server0:/nfs2 /mnt/nfs2 nfs defaults, V4.2, sec=krb5p 0 0
ssh ldapuser5@localhost kerberos
touch /mnt/nfs2/private/ttt.file
若是在客户端不能用mount -a挂载,尝试
systemctl stop rpc.socket
systemctl start rpc.socket
systemctl restart rpcbind.service
systemctl restart nfs-server.service
tailf /var/log/messages 或ntpdate classroom
相关推荐
GQ00 2020-09-08
服务器开发的日子 2020-09-08
sapliang 2020-07-29
书弋江山 2020-07-08
Julyth 2020-06-14
changecan 2020-06-11
zccheu 2020-06-08
wykpaopao 2020-06-05
jingzhaopan 2020-06-04
饮马天涯 2020-05-20
kuberlin 2020-05-16
suosuo 2020-05-15
杜引强 2020-05-08
lenchio 2020-05-01
rareli 2020-02-16
htofly 2020-02-15
dayi 2020-01-18