波神

导航

2018年1月18日 #

linux中nfs启动报rpcbind.socket failed to listen on sockets: Address family not supported by protocol

摘要: 1、systemctl start rpcbind.service 报错: 2、解决: vim /etc/sysctl.conf 将 改成 3、重启 systemctl start rpcbind.service systemctl start nfs.service 阅读全文

posted @ 2018-01-18 15:05 波神 阅读(2617) 评论(0) 推荐(0) 编辑

k8s容器挂载配置文件

摘要: 1、新建ConfigMap 2、新建deployment 上面红色的部分是指要挂载容器内部的文件的权限。(必须是介于0和0777(八进制)之间的数字,包括两者在内) 阅读全文

posted @ 2018-01-18 14:56 波神 阅读(19464) 评论(0) 推荐(0) 编辑

ssh到远程执行命令并返回

摘要: 假设有三台机器 host1,host2,host3,host1能免密登录其他两台。要在第一台的机器里面写一个脚本分别删除每台机器的/root/test.txt 阅读全文

posted @ 2018-01-18 14:46 波神 阅读(1562) 评论(0) 推荐(0) 编辑