debian8 配置使用 nfs

操作过的步骤:

1、dpkg-reconfigre rpcbind。

2、在终端上退出要挂载的目录。

错误:
mount -t nfs 172.16.0.121:/home/junda /mnt,出现以下错误
mount: mounting 172.16.0.121:/home/junda on /mnt failed: Connection refused

 

解决方法:

加上 -o nolock ,即可以。

 

错误: mount: mounting 192.168.101.116:/home on /mnt/nfs failed: No such device

解决方法: 内核kernel支持。

 

 

错误:用secure CRT 进行连接时

The server has disconnected with an error.  Server message reads: A protocol error occurred. Change of username or service not allowed: (root,ssh-connection) -> (hzijone,ssh-connection)  

debian8不允许以根用户ssh连接,而在Sercure CRT建立“快速连接”时的指定的用户名为root。连接失败弹出的框改为一般用户名后,连接时会出现上述错误。

      

解决方法:在Secure CRT 的session Options修改为一般用户。

            

 

转载于:https://www.cnblogs.com/hzijone/p/4987720.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值