跳转到内容

SRE笔记

  • 密码
    • 短链
  • 服务器
  • 关于

8 月 2022每月档案

shell /bin/true /bin/false

/bin/true 固定返回0 /bin/false 固定返回1

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: shell
  • 发表评论: shell /bin/true /bin/false

nginx -g daemon off

容器有且仅有一个前台能持续运行的进程 nginx 默认是后台守护进程的形式运行, nginx -g … 继续阅读 nginx -g daemon off

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: alpine, Docker, https, nginx
  • 发表评论: nginx -g daemon off

kubernetes run tdengine

svc apiVersion: v1 kind: Service metadata: name: &… 继续阅读 kubernetes run tdengine

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: kubernetes
  • 发表评论: kubernetes run tdengine

docker run TDengine

docker run -d -p 6030:6030 -p 6041:6041 -p 6043-60… 继续阅读 docker run TDengine

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, Docker, https, udp
  • 发表评论: docker run TDengine

docker run pgadmin

mkdir -p /data/docker/pgadmin/{data, logs} chown -… 继续阅读 docker run pgadmin

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, Docker, https
  • 发表评论: docker run pgadmin

docker use extra hosts

on build: docker build –add-host foo.bar:1.2.3.4 … 继续阅读 docker use extra hosts

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, Docker
  • 发表评论: docker use extra hosts

linux open file counts limits

#修改打开文件限制 echo 'ulimit -n 819200' >&g… 继续阅读 linux open file counts limits

  • 发表于: 2022-08-22 2022-08-22
  • 作者: shxiefc
  • 分类: SRE
  • 标签: Linux
  • 发表评论: linux open file counts limits

record history commands on shell

#添加命令记录 echo "export PROMPT_COMMAND='{ m… 继续阅读 record history commands on shell

  • 发表于: 2022-08-22 2022-08-22
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, https, sed, shell
  • 发表评论: record history commands on shell

clamav scan dir content

#bin/bash . /etc/profile #set mail message title_m… 继续阅读 clamav scan dir content

  • 发表于: 2022-08-22 2022-08-22
  • 作者: shxiefc
  • 分类: SRE
  • 标签: awk, bash, grep
  • 发表评论: clamav scan dir content

fyne build exe app

fyne编译windows二进制 # the fyne binfile can get via bu… 继续阅读 fyne build exe app

  • 发表于: 2022-08-22 2022-08-22
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, fyne, https, I/O, windows
  • 发表评论: fyne build exe app

golang windows build hide cmd console

golang编译压缩 隐藏windows控制台框 go build -ldflags="-… 继续阅读 golang windows build hide cmd console

  • 发表于: 2022-08-22 2022-08-22
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, golang, https, windows
  • 发表评论: golang windows build hide cmd console

golang fyne chinese font

golang fyne 中文支持 func init() { //go get github.com… 继续阅读 golang fyne chinese font

  • 发表于: 2022-08-22 2022-08-22
  • 作者: shxiefc
  • 分类: SRE
  • 标签: fyne, golang, https
  • 发表评论: golang fyne chinese font

create user on mysql 8.0

mysql8.0 创建用户 需要先create create user gitea@'%&… 继续阅读 create user on mysql 8.0

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: gitea, https, MySQL, sql
  • 发表评论: create user on mysql 8.0

golang image Decode vertify image content

// CheckImageFile 同时支持三种图片格式的真实性校验。 func CheckImag… 继续阅读 golang image Decode vertify image content

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: golang
  • 发表评论: golang image Decode vertify image content

pip install global index url

pip安装包加速配置 临时: pip install -i https://pypi.tuna.ts… 继续阅读 pip install global index url

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, http, https, pip
  • 发表评论: pip install global index url

ERROR: Could not install packages due to an OSError: [WinError 2]

error: ERROR: Could not install packages due to an… 继续阅读 ERROR: Could not install packages due to an OSError: [WinError 2]

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, https, pip, python
  • 发表评论: ERROR: Could not install packages due to an OSError: [WinError 2]

oracle vm dd to ubuntu 20.04

bash <(wget –no-check-certificate -qO- 'h… 继续阅读 oracle vm dd to ubuntu 20.04

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, https, Oracle, ssh, ubuntu
  • 发表评论: oracle vm dd to ubuntu 20.04

kubernetes run wordpress

ConfigMap nginx-config kind: ConfigMap apiVersion:… 继续阅读 kubernetes run wordpress

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: kubernetes, nginx, php, wordpress, yaml
  • 发表评论: kubernetes run wordpress

clean harbor via shell

shell清理harbor镜像: #!/bin/bash #需要先安装jq命令,如 yum inst… 继续阅读 clean harbor via shell

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: awk, curl, grep, harbor, https, json, shell, tag
  • 发表评论: clean harbor via shell

arm64 docker run privoxy

arm64: docker run -d –restart always –name privo… 继续阅读 arm64 docker run privoxy

  • 发表于: 2022-08-21 2022-08-21
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, Docker, https, privoxy, s3
  • 发表评论: arm64 docker run privoxy

分页

上一页 页码: 1 页码: 2 页码: 3 页码: 4 页码: 5 页码: 6 页码: 7 下一页

搜索

搜索:

近期评论

  • 周周 发表在《Kubernetes部署NextCloud网盘》
  • mysql m-s via gtid – SRE笔记 发表在《MySQL SET GTID_NEXT》
  • kangder 发表在《Kubernetes部署NextCloud网盘》
  • xs 发表在《Kubernetes部署NextCloud网盘》
  • test 发表在《gin不转义html标签》

标签

aws (15) bash (1123) Blockchain (28) centos (28) Docker (105) elasticsearch (26) eth (34) fil (39) go (129) golang (154) Grafana (13) hpc (15) http (299) https (1999) ingress (14) iptables (20) java (75) JVM (20) kubernetes (309) Linux (546) lotus (30) mongoDB (41) MySQL (184) nginx (112) php (25) python (148) redis (34) s3 (75) shell (20) springboot (32) tcp (69) tomcat (15) ubuntu (31) vue (18) windows (42) wordpress (14) zabbix (37) 夏小胖 (31) 安全 (55) 工具 (451) 折腾 (24) 推荐 (15) 硬件 (61) 网络 (246) 资源 (49)

归档

  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 9 月
  • 2022 年 8 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 2 月
  • 2021 年 1 月
  • 2020 年 12 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 4 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 4 月
  • 2017 年 3 月
  • 2017 年 2 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 11 月
  • 2016 年 10 月
  • 2016 年 9 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 5 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 2 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 2 月