跳转到内容

SRE笔记

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

go mod 基本操作

更新到最新版本 go get github.com/test/test 更新到版本 go get g… 继续阅读 go mod 基本操作

  • 发表于: 2021-08-25 2021-08-25
  • 作者: sjx
  • 分类: SRE
  • 标签: go
  • 发表评论: go mod 基本操作

gorm 模糊查询

puzzle := “%” + keyword + “%” DB.Select(“post.*”).… 继续阅读 gorm 模糊查询

  • 发表于: 2021-08-25 2021-08-25
  • 作者: sjx
  • 分类: SRE
  • 标签: go, gorm, https, post
  • 发表评论: gorm 模糊查询

shell参数倒序打印

  • 发表于: 2021-08-24 2021-08-24
  • 作者: sjx
  • 分类: SRE
  • 标签: https, oss, shell
  • 发表评论: shell参数倒序打印

golang UrlEncode/UrlDecode网址转码

package main import( “fmt” “net/url” ) func main()… 继续阅读 golang UrlEncode/UrlDecode网址转码

  • 发表于: 2021-08-24 2021-08-24
  • 作者: sjx
  • 分类: SRE
  • 标签: go, golang, html, https, oss
  • 发表评论: golang UrlEncode/UrlDecode网址转码

wordpress文章表字段

ID 记录文章的id post_author 记录发表文章的作者的id post_date date… 继续阅读 wordpress文章表字段

  • 发表于: 2021-08-24 2021-08-24
  • 作者: sjx
  • 分类: SRE
  • 标签: post, wordpress
  • 发表评论: wordpress文章表字段

Goland自动跳转到函数定义处

将光标定位在函数名处,按下Ctrl+B。Goland会自动跳转到xx类成员和函数的定义

  • 发表于: 2021-08-23 2021-08-23
  • 作者: sjx
  • 分类: SRE
  • 标签: https, oss
  • 发表评论: Goland自动跳转到函数定义处

Windows10重置密码

进PE环境,在NTPWEdit中选择用户清除。

  • 发表于: 2021-08-23 2021-08-23
  • 作者: sjx
  • 分类: SRE
  • 标签: https
  • 发表评论: Windows10重置密码

./lotus: /lib64/libm.so.6: version `GLIBC_2.27′ not found (required by ./lotus)

wget http://ftp.gnu.org/gnu/glibc/glibc-2.27.tar.g… 继续阅读 ./lotus: /lib64/libm.so.6: version `GLIBC_2.27′ not found (required by ./lotus)

  • 发表于: 2021-08-22 2021-08-22
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, ftp, glibc, http, https, lotus, make, tar
  • 发表评论: ./lotus: /lib64/libm.so.6: version `GLIBC_2.27′ not found (required by ./lotus)

C:\ProgramData\Microsoft\Search\Data\Applications\Windows\windows.edb文件过大

控制面板-索引-高级-重建

  • 发表于: 2021-08-22 2021-08-22
  • 作者: sjx
  • 分类: SRE
  • 标签: https, windows
  • 发表评论: C:\ProgramData\Microsoft\Search\Data\Applications\Windows\windows.edb文件过大

LBT挖矿脚本

get_address.sh #!/bin/bash /usr/bin/expect <&lt… 继续阅读 LBT挖矿脚本

  • 发表于: 2021-08-22 2021-08-22
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, expect, lbt
  • 发表评论: LBT挖矿脚本

crontab文件位置

ubuntu: echo “*/5 * * * * /opt/mining.sh” >>… 继续阅读 crontab文件位置

  • 发表于: 2021-08-22 2021-08-25
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, centos, crontab, https, oss, ubuntu
  • 发表评论: crontab文件位置

shell数字运算

a=12 $((a-1))

  • 发表于: 2021-08-22 2021-08-22
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, https, oss, shell
  • 发表评论: shell数字运算

EOF写文件

cat > /opt/test.sh <<EOF #!/bin/bash test… 继续阅读 EOF写文件

  • 发表于: 2021-08-22 2021-08-22
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, https, oss
  • 发表评论: EOF写文件

kubernetes从文件创建secret

kubectl -n test create secret generic pay-key-alip… 继续阅读 kubernetes从文件创建secret

  • 发表于: 2021-08-21 2021-08-21
  • 作者: sjx
  • 分类: SRE
  • 标签: kubernetes
  • 发表评论: kubernetes从文件创建secret

lotus deamon config tom

# Default config: [API] ListenAddress = “/ip4/0.0.… 继续阅读 lotus deamon config tom

  • 发表于: 2021-08-20 2021-08-20
  • 作者: sjx
  • 分类: SRE
  • 标签: filecoin, http, https, I/O, lotus, tcp, yaml
  • 发表评论: lotus deamon config tom

aliyun ack apiserver 超时问题 APISERVER_500

错误详情:APISERVER_500 Get https://192.168.23.251:9403… 继续阅读 aliyun ack apiserver 超时问题 APISERVER_500

  • 发表于: 2021-08-20 2021-08-20
  • 作者: sjx
  • 分类: SRE
  • 标签: ack, aliyun, http, https, json, kuboard
  • 发表评论: aliyun ack apiserver 超时问题 APISERVER_500

kubernetes使用 阿里云nas存储类

apiVersion: storage.k8s.io/v1 kind: StorageClass m… 继续阅读 kubernetes使用 阿里云nas存储类

  • 发表于: 2021-08-20 2021-08-20
  • 作者: sjx
  • 分类: SRE
  • 标签: ack, https, I/O, k8s, kubernetes, nas, tcp, yaml
  • 发表评论: kubernetes使用 阿里云nas存储类

ubuntu安装 sshd

apt install -y openssh-server service sshd start

  • 发表于: 2021-08-19 2021-08-19
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, https, ubuntu
  • 发表评论: ubuntu安装 sshd

php使用oss

namespace app\controller; use OSS\OssClient; class… 继续阅读 php使用oss

  • 发表于: 2021-08-19 2021-08-19
  • 作者: sjx
  • 分类: SRE
  • 标签: oss, php
  • 发表评论: php使用oss

kubernetes 部署 lotus-textile

pvc apiVersion: v1 kind: PersistentVolumeClaim met… 继续阅读 kubernetes 部署 lotus-textile

  • 发表于: 2021-08-19 2021-08-19
  • 作者: sjx
  • 分类: SRE
  • 标签: fil, k8s, kubernetes, kuboard, lotus, yaml
  • 发表评论: kubernetes 部署 lotus-textile

分页

上一页 页码: 1 … 页码: 55 页码: 56 页码: 57 页码: 58 页码: 59 页码: 60 页码: 61 页码: 62 页码: 63 页码: 64 页码: 65 … 页码: 180 下一页

搜索

搜索:

近期评论

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