跳转到内容

SRE笔记

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

shxiefc

36RSS订阅

shxiefc 的帖子

java use UseContainerSupport

对于 Java-8u131 和 Java 9,容器感知功能是实验性的,必须主动激活。 -XX:+Us… 继续阅读 java use UseContainerSupport

  • 发表于: 2022-08-28 2022-08-28
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, java
  • 发表评论: java use UseContainerSupport

kubernetes deploy openldap

dp apiVersion: apps/v1 kind: Deployment metadata: … 继续阅读 kubernetes deploy openldap

  • 发表于: 2022-08-28 2022-08-28
  • 作者: shxiefc
  • 分类: SRE
  • 标签: kubernetes
  • 发表评论: kubernetes deploy openldap

golang use custom dns http req

golang自定义host发送http请求 func TestReq(t *testing.T) {… 继续阅读 golang use custom dns http req

  • 发表于: 2022-08-28 2022-08-28
  • 作者: shxiefc
  • 分类: SRE
  • 标签: dns, golang, http, I/O
  • 发表评论: golang use custom dns http req

golang gorm batch updates

gorm批量更新 global.DB.Model(&BilibiliUpStatus{}).… 继续阅读 golang gorm batch updates

  • 发表于: 2022-08-27 2022-08-27
  • 作者: shxiefc
  • 分类: SRE
  • 标签: golang, gorm
  • 发表评论: golang gorm batch updates

golang cidr contains ip

func TestIpContains(t *testing.T) { cidr, err := n… 继续阅读 golang cidr contains ip

  • 发表于: 2022-08-27 2022-08-27
  • 作者: shxiefc
  • 分类: SRE
  • 标签: golang
  • 发表评论: golang cidr contains ip

Win10/11安装MSI程序报错2503或2502错误解决方案

run in cmd with system32: msiexec /package D:\MyDo… 继续阅读 Win10/11安装MSI程序报错2503或2502错误解决方案

  • 发表于: 2022-08-27 2022-08-27
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, windows
  • 发表评论: Win10/11安装MSI程序报错2503或2502错误解决方案

shell bash bash-completion

shell 命令补全 yum install -y bash-completion

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, shell, yum
  • 发表评论: shell bash bash-completion

docker mount with acl

docker按权限挂载: docker -v /etc/localtime:/etc/localti… 继续阅读 docker mount with acl

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, Docker, mount
  • 发表评论: docker mount with acl

nginx重试容错 proxy_next_upstream

usage: proxy_next_upstream error timeout http_500 … 继续阅读 nginx重试容错 proxy_next_upstream

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: http, nginx, proxy
  • 发表评论: nginx重试容错 proxy_next_upstream

/etc/rc.d/init.d/functions usage

functions脚本一般供/etc/init.d里边的脚本文件使用 会设置umask,path,语… 继续阅读 /etc/rc.d/init.d/functions usage

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 发表评论: /etc/rc.d/init.d/functions usage

/etc/rc.d/init.d/functions: No such file or directory

yum -y install initscripts

  • 发表于: 2022-08-25 2022-08-25
  • 作者: shxiefc
  • 分类: SRE
  • 标签: bash, yum
  • 发表评论: /etc/rc.d/init.d/functions: No such file or directory

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

分页

页码: 1 页码: 2 下一页

搜索

搜索:

近期评论

  • 周周 发表在《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 月