摘要: 导出数据库 1.导出单个表 例:从ip为xxx的数据库monitor中导出threshold的表结构和数据到本地文件threshold.sql: pg_dump -t threshold -h 135.32.94.142 monitor -U monitor -p 5432 -f threshold 阅读全文
posted @ 2020-12-07 17:30 夜晚的潜水艇 阅读(1840) 评论(0) 推荐(1)
摘要: 只能安装好docker后安装docker-compose 安装 epel源 yum -y install epel-release 安装docker yum install docker 通过pip安装docker-compose 更新pip pip install --upgrade pip 安装 阅读全文
posted @ 2020-12-07 16:15 夜晚的潜水艇 阅读(145) 评论(0) 推荐(0)
摘要: docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) 原因是 阅读全文
posted @ 2020-12-07 15:59 夜晚的潜水艇 阅读(13162) 评论(0) 推荐(3)
摘要: Linux 安装 Python3.7 1.安装依赖包 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel 阅读全文
posted @ 2020-12-07 14:34 夜晚的潜水艇 阅读(300) 评论(0) 推荐(0)