? 1. 场景描述 使用python连接greenplum或者postgresql。 2. 解决方案 2.1 真实代码 2.1.1 调用类 2.1.2 Gp数据库连接类 2.2 代码说明 (1)调用类中异常的返回比较特殊,只指定Exception的话,其他的几种异常还捕获不到。 (2)psycopg ...
分类:
数据库 时间:
2019-07-13 23:57:48
阅读次数:
367
这里使用 gitlab 做服务器, 客户端主要使用 git extensions. gitlab 项目成员类型: 1. guest : 能在 gitlab 网页上创建 issue, 查看 wiki 2. reporter: 权限比guest更大, 能 clone 项目 3. developer: 能 ...
分类:
其他好文 时间:
2019-07-13 13:53:45
阅读次数:
272
1.创建neutron数据库[root@localhost~]#mysql-uroot-pdevopsWelcometotheMariaDBmonitor.Commandsendwith;or\g.YourMariaDBconnectionidis94Serverversion:10.1.20-MariaDBMariaDBServerCopyright(c)2000,2016,Oracle,Mar
分类:
其他好文 时间:
2019-07-12 09:41:54
阅读次数:
98
1.创建数据库,并且授权数据库,库名为:nova_api用户名:nova密码:devops[root@controller~]#mysql-uroot-pdevopsMariaDB[(none)]>CREATEDATABASEnova_api;MariaDB[(none)]>CREATEDATABASEnova;MariaDB[(none)]>CREATEDATABASEnova
分类:
其他好文 时间:
2019-07-12 09:41:16
阅读次数:
120
1.创建glance数据库[root@controller~]#mysql-uroot-pdevopsMariaDB[(none)]>CREATEDATABASEglance;MariaDB[(none)]>GRANTALLPRIVILEGESONglance.TO‘glance‘@‘localhost‘IDENTIFIEDBY‘devops
分类:
其他好文 时间:
2019-07-12 09:33:22
阅读次数:
121
原文地址: "https://medium.com/@devfire/how to become a devops engineer in six months or less part 5 deploy 83e790545c23" 原文作者: "Igor Kantor" 翻译君:CODING?戴维 ...
分类:
其他好文 时间:
2019-07-11 11:08:23
阅读次数:
131
1.个人工作总结和收获,问题:很高兴这个覃老师来上我们的课,我们做项目第一次结对,第一次成为团队,让我学到了团队合作和结对的重要性,让我认识到了做项目要写愿景,用户故事地图,做这次团队项目也学到了怎么用Azure DevOps,原型,墨刀。 问题的就是技术欠缺有待提高,研究框架不够深,技术问题。 2 ...
分类:
其他好文 时间:
2019-07-11 09:55:35
阅读次数:
185
1.登陆gitlab的安装服务查看配置文件 [root@node06 ~]# cat /var/opt/gitlab/gitlab-rails/etc/database.yml # This file is managed by gitlab-ctl. Manual changes will be ...
分类:
数据库 时间:
2019-07-10 18:55:55
阅读次数:
134
1、linux切换到pg命令: 2、查看/退出pg 3、一般优化项 参数名 作用 64GB建议值 256GB建议值 shared_buffers 设置PostgreSQL中用于缓存的专用内存量。建议的设置值为机器总内存大小的25%。 16GB 64GB wal_buffers WAL(预写日志)记录 ...
分类:
系统相关 时间:
2019-07-10 18:38:13
阅读次数:
207
1, 建立配置文件工程,git地址为:http://gitlab.xxx.com/xx/xx_configuration 2, 建立config服务工程 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apach ...
分类:
编程语言 时间:
2019-07-10 12:23:37
阅读次数:
137