Vpn

Sub-web

Firefox

安装node_exporter```shell1、wget https://github.com/prometheus/node_exporter/releases/download/v1.1.2/node_exporter-1.1.2.linux-amd64.tar.gz2、tar -zxf node_exporter-1.1.2.linux-amd64.tar.gz -C /usr/local/3、cd /usr/local/4、mv /usr/local/node_exporter-1.1.2.linux-amd64/ /usr/local/node_exporter5、vim config.yml(配置访问的用户名密码,可根据需要跳过这一步)```- 使用htpasswd加密密码,加密方式为htpasswd -nBC 12 '' | tr -d ': '- config.yml```shellbasic_auth_users: 当前设置的用户名为 prometheus , 可以设置多个 密码加密方式 htpasswd -nBC 12 '' | tr -d ': ' username: password``````shell6、nohup /usr/local/node_exporter/node_exporter --web.config=./config.yml &nohup ./node_exporter --web.config=./config.yml &```

阅读全文 »

Yapi

Dockerfile```shellFROM node:12-alpine as builderWORKDIR /yapiRUN apk add --no-cache wget python makeENV VERSION=1.9.2RUN wget https://github.com/YMFE/yapi/archive/v${VERSION}.zipRUN unzip v${VERSION}.zip && mv yapi-${VERSION} vendorsRUN cd /yapi/vendors && cp config_example.json ../config.json && npm install --production --registry https://registry.npm.taobao.org

阅读全文 »

Zentao

Simple

0%