01 2023 档案

摘要:Prometheus template variables Name Description Used API endpoints label_names() 返回标签名称列表。 /api/v1/labels label_values(label) 返回每个指标中的标签值列表label。 /api/ 阅读全文
posted @ 2023-01-31 11:39 小吉猫 阅读(603) 评论(1) 推荐(0)
摘要:启用metrics openethereum --jsonrpc-interface 0.0.0.0 --jsonrpc-cors all --reseal-max-period 60000000 --metrics --metrics-interface=all 2023-01-30 11:33: 阅读全文
posted @ 2023-01-31 11:26 小吉猫 阅读(190) 评论(0) 推荐(0)
摘要:环境要求 内存:16-32 GB CPU:4-8核CPU(t3 xLarge) 存储:至少 650GB SSD(确保它是可扩展的) 安装环境依赖 安装编译环境 ~# sudo apt-get install build-essential -y 安装go ~# wget https://dl.goo 阅读全文
posted @ 2023-01-20 17:24 小吉猫 阅读(1823) 评论(0) 推荐(0)
摘要:Dockerfile FROM node:16.14.2 RUN mkdir /data/apps -pv \ && npm -g i pnpm@7.9.5 \ && npm -g i pm2 WORKDIR /data/apps COPY . . RUN pnpm install \ && pnp 阅读全文
posted @ 2023-01-19 17:38 小吉猫 阅读(304) 评论(0) 推荐(0)
摘要:部署prysm 下载prysm mkdir -pv /data/prysm && cd /data/prysm curl https://raw.githubusercontent.com/prysmaticlabs/prysm/master/prysm.sh --output prysm.sh & 阅读全文
posted @ 2023-01-17 14:43 小吉猫 阅读(1819) 评论(0) 推荐(0)
摘要:环境说明 主机说明 宿主机:192.168.1.219 备份机:192.168.2.235 备份要求 宿主机可以免密登录备份机 备份机器提前创建备份目录 # ssh root@192.168.2.235 "mkdir -pv /data/mysql-backs" mkdir: created dir 阅读全文
posted @ 2023-01-13 19:35 小吉猫 阅读(1150) 评论(0) 推荐(0)
摘要:创建备份用户 mysql> CREATE USER 'bkpuser'@'localhost' IDENTIFIED BY 's3cret'; mysql> GRANT RELOAD, LOCK TABLES, PROCESS, REPLICATION CLIENT ON *.* TO 'bkpus 阅读全文
posted @ 2023-01-13 17:40 小吉猫 阅读(416) 评论(0) 推荐(0)
摘要:环境说明 nginx: 1.22.0 safari: 13+ curl: 7.68.0 ubuntu:20.04 问题说明 [Error] The network connection was lost. [Error] XMLHttpRequest cannot load xxx due to a 阅读全文
posted @ 2023-01-13 14:25 小吉猫 阅读(996) 评论(0) 推荐(0)
摘要:创建备份用户 mysql> CREATE USER 'bkpuser'@'localhost' IDENTIFIED BY 's3cret'; mysql> GRANT RELOAD, LOCK TABLES, PROCESS, REPLICATION CLIENT ON *.* TO 'bkpus 阅读全文
posted @ 2023-01-12 19:25 小吉猫 阅读(148) 评论(0) 推荐(0)
摘要:创建备份用户 mysql> CREATE USER 'bkpuser'@'localhost' IDENTIFIED BY 's3cret'; mysql> GRANT SELECT, RELOAD, LOCK TABLES, PROCESS, REPLICATION CLIENT ON *.* T 阅读全文
posted @ 2023-01-12 18:18 小吉猫 阅读(90) 评论(0) 推荐(0)
摘要:下载jenkins # wget -O jenkins-2.391.war https://mirrors.tuna.tsinghua.edu.cn/jenkins/war/2.391/jenkins.war run_jenkins.sh #!/bin/bash #java -server -Xms 阅读全文
posted @ 2023-01-11 19:08 小吉猫 阅读(513) 评论(0) 推荐(0)
摘要:下载jdk-17 # wget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz Dockerfile FROM ubuntu:22.04 ENV JAVA_HOME=/usr/local/jdk-17.0. 阅读全文
posted @ 2023-01-11 18:03 小吉猫 阅读(3443) 评论(0) 推荐(0)
摘要:namespace mysql-ns.yaml apiVersion: v1 kind: Namespace metadata: labels: kubernetes.io/metadata.name: wgs-mysql name: wgs-mysql 创建ns # kubectl apply - 阅读全文
posted @ 2023-01-09 11:41 小吉猫 阅读(389) 评论(0) 推荐(0)
摘要:namespace mysql-ns.yaml apiVersion: v1 kind: Namespace metadata: labels: kubernetes.io/metadata.name: wgs-mysql name: wgs-mysql 创建ns # kubectl apply - 阅读全文
posted @ 2023-01-03 19:12 小吉猫 阅读(395) 评论(0) 推荐(0)