波神

导航

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 37 下一页

2018年3月6日 #

sql join用法(转)

摘要: left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录 right join(右联接) 返回包括右表中的所有记录和左表中联结字段相等的记录inner join(等值连接) 只返回两个表中联结字段相等的行 举例如下: 表A记录如下:aID aNum1 a200501112 a 阅读全文

posted @ 2018-03-06 11:37 波神 阅读(190) 评论(0) 推荐(0) 编辑

2018年3月1日 #

shell中括号的作用

摘要: https://www.cnblogs.com/chjbbs/p/6369055.html 阅读全文

posted @ 2018-03-01 11:26 波神 阅读(151) 评论(0) 推荐(0) 编辑

2018年2月8日 #

解决Docker时区与主机时区不一致的问题

摘要: 在Dockerfile里面增加以下红色的部分 FROM hub.chinacloud.com/common/jdk:8MAINTAINER xxx@chinacloud.com.cn RUN mkdir -p /root/jar_unifiedplatform \ && mkdir -p /my_p 阅读全文

posted @ 2018-02-08 09:45 波神 阅读(737) 评论(0) 推荐(0) 编辑

2018年2月5日 #

删除k8s中一直处于Terminating的资源

摘要: 1、将所有的etcd中的key值取到一个keys.yam里面,便于查询 ETCDCTL_API=3 etcdctl get "" --from-key > keys.yaml 2、vim keys.yaml。找到nfs-client-provisioner-5c4565b855-7k6bw,如下图 阅读全文

posted @ 2018-02-05 17:42 波神 阅读(554) 评论(0) 推荐(0) 编辑

2018年1月26日 #

多块盘制作成一个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 波神 阅读(387) 评论(0) 推荐(0) 编辑

2018年1月23日 #

Docker mysql启动自动按顺序导入sql

摘要: 1、目录结构 2、initdb.sh 3、Dockerfile 阅读全文

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

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

k8s容器挂载配置文件

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

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

ssh到远程执行命令并返回

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

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

2017年12月13日 #

安全组

摘要: 1、列出安全组 neutron security-group-list+ + + +| id | name | description |+ + + +| 3240b9f1-aa38-4c2b-b54f-c0bef3550acf | default | default || 97dec244-2ea 阅读全文

posted @ 2017-12-13 16:38 波神 阅读(275) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 37 下一页