This tutorial goes through how to install openssl 1.1.1 on CentOS 7, since the yum repo only installs up to openssl 1.0.
Upgrade the system
yum -y update
| version: '3' | |
| services: | |
| postgres: | |
| container_name: container-postgresdb | |
| image: postgres | |
| hostname: postgres | |
| ports: | |
| - "6543:5432" | |
| environment: | |
| POSTGRES_USER: postgres |
Harvester leverages the Kubernetes service to provide the load balancer for the service in the Harvester virtual machines. The backend servers of the load balancer are the <VM IP>:<service port>.
cw-harv:/home/rancher # kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default-nginx-lb-db9bdca5 LoadBalancer 10.43.113.238 80:32586/TCP 4h32m| #!/bin/sh | |
| DateStamp=$(date +%d%m%y) | |
| BackupDirectory="/data/configdb/backup" | |
| mkdir -p $BackupDirectory | |
| sslCAFile="/data/configdb/mongodb-ssl-cert.pem" | |
| DATABASE='database' | |
| USERNAME='user' |
| stages: | |
| - build | |
| create_badge_svg: | |
| stage: build | |
| image: python:3.6.6 | |
| tags: | |
| - docker | |
| script: | |
| - echo "Python other dependencies installation" |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| FROM python:3.7.2-alpine | |
| RUN pip install --upgrade pip | |
| RUN adduser -D worker | |
| USER worker | |
| WORKDIR /home/worker | |
| COPY --chown=worker:worker requirements.txt requirements.txt | |
| RUN pip install --user -r requirements.txt |
| [mac os下vscode快捷键](https://www.cnblogs.com/informatics/p/8315339.html) | |
| 全局 | |
| Command + Shift + P / F1 显示命令面板 | |
| Command + P 快速打开 | |
| Command + Shift + N 打开新窗口 | |
| Command + W 关闭窗口 | |
| 基本 | |
| Command + X 剪切(未选中文本的情况下,剪切光标所在行) | |
| Command + C 复制(未选中文本的情况下,复制光标所在行) |