ssh 無密碼登陸

1.新建密鑰
ssh-keygen -t rsa
2.將公玥追加到authorized_keys文件中
3.ssh-add 命令添加相關密鑰

 

nfs 掛載
1.安裝nfs server和nfs common
2.修改/etc/exports 文件
eg.  /home  *(rw,root_squash)
共享home目錄
3.修改客戶端/etc/fstab目錄
192.168.1.1:/home     /home   nfs   rsize=8192,wsize=8192,timeo=14,intr    0      0
4.客戶機 
>sudo mount /home 5.若是出現device busy,那麼umount -l
相關文章
相關標籤/搜索