【CI/CD】Drone + GOGS 自动CI/CD

Drone 安装 version: "3.5" services: drone-server: image: drone/drone:latest container_name: drone ports: - "9999:80" volumes:

【CI/CD】Jenkins + Gogs 自动打包 Docker 镜像

一、Jenkins 安装 docker-compose 安装 version: "3.5" services: jenkins: image: jenkins/jenkins:lts restart: always container_name

【Docker】Compose 安装 gogs 并设置 nginx 反向代理

前言 Gogs Github Page Introduce 步骤 Gogs gogs.yaml version: "3.5" services: gogs: image: gogs/gogs container_name: gogs restart: always

【Linux】Ubuntu安装OpenResty

前言 安装环境: Ubuntu 18.04.3 LTS 参考文献:各Linux发行版OpenResty安装介绍 安装 # 安装导入 GPG 公钥时所需的几个依赖包(整个安装过程完成后可以随时删除它们): sudo apt-get -y install --no-install-recommends

【Linux】Cron表达式

介绍 Cron 表达式是一个具有时间含义的字符串,格式为 「秒数」 「分钟」 「小时」 「日期」 「月份」 「星期」 「年份」(可为空) 中间以空格分个,最后一个代表年份的域非必须,可省略。 语法

【Mac】iTerm2 + ohmyzsh 打造完美终端

下载 item2:下载地址 ohmyzsh: 下载地址 zsh-autosuggestions: 下载地址 zsh-syntax-highlighting:

【Linux】Elasticsearch数据迁移

## 方法一:通过 NPM 安装 下载 && 安装 wget https://nodejs.org/dist/v10.15.0/node-v10.15.0-linux-x64.tar.xz tar -xf node-v10.15.0-linux-x64.tar.xz 配置环境变量 vim /etc/

【Linux】Elasticsearch删除索引

1. 删除单条索引 curl curl -XDELETE http://localhost:9200/index_name python import requests requests.delete('http://localhost:9200/index_name') 2. 删除所有索引 cu

【Problem】Git报错,解决 Unable to negotiate with **** port 22: no matching host key type found.

问题描述 Git SSH 已经添加密钥,仓库地址无误,但是 Push 的时候报错 提示 Unable to negotiate with **** port 22: no matching host key type found. Their offer: ssh-rsa 截图 ... 解决方案 在

【Python】搭建私有pypi仓库

一、介绍 利用 pypi-server 搭建私有的 pypi 仓库 Github 地址 DockerHub 地址 二、搭建 1. 拉取镜像 docker pull pypiserver/pypiserver