波神

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

01 2018 档案

多块盘制作成一个lvm
摘要:1、创建pv[root@autodeploy nfs]# pvcreate /dev/vdd1WARNING: xfs signature detected on /dev/vdd1 at offset 0. Wipe it? [y/n]: y Wiping xfs signature on /de 阅读全文

posted @ 2018-01-26 17:47 波神 阅读(397) 评论(0) 推荐(0) 编辑

Docker mysql启动自动按顺序导入sql
摘要:1、目录结构 2、initdb.sh 3、Dockerfile 阅读全文

posted @ 2018-01-23 10:04 波神 阅读(784) 评论(0) 推荐(0) 编辑

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 波神 阅读(2657) 评论(0) 推荐(0) 编辑

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

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

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

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

点击右上角即可分享
微信分享提示