python3学习手册Interpreter → 右 侧 选 择 目 标 python解释器,再点击下面的+加号 ★第2章、Centos7源码安装python3 Centos7默认自带python2.7.5版本,无pip 先 去 官 网 下 载 python3 的 源 码 包 : h�ps://www.python.org/downloads/source/ 或 者 直 接 wget h�ps://www.python /usr/local/python3.x.x/bin/python3 /usr/bin/python3 # ln -s /usr/local/python3.x.x/bin/pip3 /usr/bin/pip3 # 默 认 安 装 无 需 指 定 prefix , 也 无 需 创 建 链 接 , 默 认 安 装 路 径 : /usr/local/bin/ # python2 1,首先查找sys.modules字典里的模块(这是以前导入的所有模块的缓 存) 2,然后匹配内置的模块sys.buil�n_module_names 3,最后根据sys.path路径下去找(包含有程序当前路径;pip安装的包 在"site-packages"目录下) 都找不到就报错ModuleNotFoundError # python2.7 -c "import sys; print sys.path" [''0 码力 | 213 页 | 3.53 MB | 1 年前3
The DevOps Handbookdevelopers 2. Segregated processes so we know the dependencies – eliminates “worked on my machine” 3. Package the application to enable repeatable installation and configuration into an environment 4. Environments deployment pipeline 1. Commit stage – build & package software, runs automated unit tests, and code quality (static analysis, coverage, style, etc.) 2. Package the code only once – use the same packages0 码力 | 8 页 | 23.08 KB | 6 月前3
k8s操作手册 2.3│ ├── service.yaml │ └── tests │ └── test-connec�on.yaml └── values.yaml # helm package --version 1.0.2 test-chart #将chart项目目录打包为一个 tgz压缩文件 Successfully packaged chart local/share/helm/plugins/helm-push # helm plugin list NAME VERSION DESCRIPTION cm-push 0.10.4 Push chart package to ChartMuseum # helm添加harbor的repo # helm repo add harbor-246 h�p://cof-lee.com/chartrepo/test-chart0 码力 | 126 页 | 4.33 MB | 1 年前3
共 3 条
- 1













