摘要: registry使用前必备: 必须安装Docker引擎version 1.6.0 基础命令: 1.启动一个registry容器: docker run -d -p 5000:5000 --name registry registry:latest 2.从远程仓库拉取镜像: docker pull u 阅读全文
posted @ 2022-12-16 10:46 `畅游! 阅读(143) 评论(0) 推荐(0)
摘要: #一键安装docker #/bin/bash #安装依赖 sudo apt-get install -y ca-certificates curl gnupg lsb_release lrzsz net-tools firewalld wget vim; curl -fsSL https://dow 阅读全文
posted @ 2022-02-21 18:02 `畅游! 阅读(371) 评论(0) 推荐(0)
摘要: 1.在服务器环境中安装 centos yum install python3X[X代表版本号] ubuntu apt-get install python3.X[X代码小版本号] 源码包编译安装 步骤1.首先,通过apt在终端中运行以下以下命令,确保所有系统软件包都是最新的。 sudo apt up 阅读全文
posted @ 2022-01-08 14:48 `畅游! 阅读(239) 评论(0) 推荐(0)
摘要: set @@session.explicit_defaults_for_timestamp=on; 阅读全文
posted @ 2020-09-25 15:21 `畅游! 阅读(336) 评论(0) 推荐(0)
摘要: 阿里云镜像站下载源配置 #deb-src https://archive.ubuntu.com/ubuntu xenial main restricteddeb https://mirrors.aliyun.com/ubuntu/ xenial main restricteddeb-src http 阅读全文
posted @ 2020-09-22 15:15 `畅游! 阅读(450) 评论(0) 推荐(0)
摘要: 安装miniconda https://www.jianshu.com/p/d1ae061c7056 管理conda相关命令 更新conda到最新版本 $ conda update conda 创建虚拟环境 $ conda create -n myenv[环境名称] python 切换到特定的虚拟环 阅读全文
posted @ 2020-06-12 12:05 `畅游! 阅读(467) 评论(0) 推荐(0)
摘要: 1 # 导入pymysql 2 import pymysql 3 4 class usermanager(object): 5 #构造器 6 def __init__(self, id , username , sex ): 7 self.id = id, 8 self.username = use 阅读全文
posted @ 2020-03-08 14:45 `畅游! 阅读(495) 评论(0) 推荐(0)