打赏
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 54 下一页
摘要: git push 报错:fatal: The remote end hung up unexpectedly 解决办法: git config http.postBuffer 524288000 阅读全文
posted @ 2021-07-16 09:15 苍山落暮 阅读(63) 评论(0) 推荐(0)
摘要: yum下载依赖安装 方法一:downloadonly插件 1.安装插件 yum install yum-plugin-downloadonly 2.下载httpd软件包到当前文件夹内 yum install --downloadonly --downloaddir=/data/rpm xxx 方法二 阅读全文
posted @ 2021-06-29 13:31 苍山落暮 阅读(788) 评论(0) 推荐(0)
摘要: Postgres高可用环境搭建 1. postgreSQL HA配置 基础PG的流模式加上pgpool软件实现双机热备,类似于Orical DG的FSF功能。pgpool-1与pgpool-2作为中间件,将主备pg节点加入集群,实现读写分离,负载均衡和HA,故障自动切换。两个pgpool节点使用一个 阅读全文
posted @ 2021-06-24 21:35 苍山落暮 阅读(1838) 评论(0) 推荐(0)
摘要: NFS环境搭建 【具体要求】: server机(A):192.168.2.3 Client机(B,C):192.168.2.4 192.168.2.5 使用NFS 将图片放到A上,然后A共享给B和C,实现互相访问 【实现步骤】: 一、服务端配置 A机器(服务端)软件安装: yum install r 阅读全文
posted @ 2021-06-15 09:00 苍山落暮 阅读(190) 评论(0) 推荐(0)
摘要: git http拉取代码免账号密码 方法一: 通过生成credential配置 git config --global credential.helper store 查看.gitconfig文件,发现多了一行 [credential] helper = store 方法二 修改仓库中.git/co 阅读全文
posted @ 2021-06-11 08:48 苍山落暮 阅读(3298) 评论(0) 推荐(0)
摘要: golang不同环境的交叉编译 一、设置环境变量方式 1.windows下编译Linux二进制文件 SET CGO_ENABLED=0 SET GOOS=linux SET GOARCH=amd64 go build test.g 2.windows下编译Mac SET CGO_ENABLED=0 阅读全文
posted @ 2021-06-10 17:42 苍山落暮 阅读(649) 评论(0) 推荐(0)
摘要: linux忘记密码 Centos忘记密码 【解决办法】: 1.)开机过程中按 e,进入编辑模式 2.)按键盘下键,找到 LANG=en_US.UTF-8,在后面追加rw single init=/bin/bash,然后按ctrl+x重启系统 3.)进入bash界面后,执行 passwd 重置密码 4 阅读全文
posted @ 2021-06-09 18:33 苍山落暮 阅读(969) 评论(0) 推荐(1)
摘要: win10 wireshark 无法获取网卡接口 问题概述 解决办法: 1.)下载安装winPcap 高版本 低版本 2.)管理员运行cmd,启动npf服务 net start npf 3.) 重启wireshark 注意:安装winPcap中需要关闭wireshark,否则安装失败。同时,也需要注 阅读全文
posted @ 2021-06-09 17:24 苍山落暮 阅读(430) 评论(0) 推荐(0)
摘要: vscode toml文件格式化 阅读全文
posted @ 2021-06-03 17:19 苍山落暮 阅读(2672) 评论(0) 推荐(0)
摘要: goland插件推荐 1.golint工具 https://dev.to/s0xzwasd/configure-revive-go-linter-in-goland-2ggl https://github.com/mgechev/revive 2.go test工具 https://www.jetb 阅读全文
posted @ 2021-06-03 08:55 苍山落暮 阅读(1877) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 54 下一页