上一页 1 2 3 4 5 6 7 8 9 10 ··· 36 下一页
摘要: 1、下载 golang 安装包 curl -O https://go.dev/dl/go1.19.linux-amd64.tar.gz 2、解压安装 rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.linux-amd64.tar.gz 3、 阅读全文
posted @ 2022-08-23 17:27 Nihaorz 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 1、下载解压 git 源代码 curl -O https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.37.2.tar.gz tar -xvf git-2.37.2.tar.gz cd git-2.37.2 2、安装依赖包 yum ins 阅读全文
posted @ 2022-08-23 17:15 Nihaorz 阅读(538) 评论(0) 推荐(0) 编辑
摘要: go-proxy-pass.go package main import ( "flag" "fmt" "log" "net/http" "net/http/httputil" "net/url" "os" "strconv" "strings" "time" ) const ( timeForma 阅读全文
posted @ 2022-08-19 17:58 Nihaorz 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 一键生成TLS和CA证书 auto-generate-docker-tls-ca.sh: # !/bin/bash # 一键生成TLS和CA证书 # Create : 2021-08-25 # Update : 2021-08-25 # @Autor : wuduoqiang # 服务器主机名 SE 阅读全文
posted @ 2022-08-19 15:59 Nihaorz 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 去除注释: cat /etc/ssh/sshd_config | grep -v ^# 去除空行: cat /etc/ssh/sshd_config | grep -v ^$ 去除注释及空行: cat /etc/ssh/sshd_config | grep -v ^# | grep -v ^$ 阅读全文
posted @ 2022-08-18 15:08 Nihaorz 阅读(194) 评论(0) 推荐(0) 编辑
摘要: vi ~/.docker/config.json { "proxies":{ "default":{ "httpProxy":"socks5h://192.168.36.106:7890", "httpsProxy":"socks5h://192.168.36.106:7890", "noProxy 阅读全文
posted @ 2022-08-17 12:11 Nihaorz 阅读(871) 评论(0) 推荐(0) 编辑
摘要: pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple 阅读全文
posted @ 2022-08-10 15:02 Nihaorz 阅读(60) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-07-25 16:13 Nihaorz 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Jetbrains 激活分为账号激活、激活码和服务器激活三种,以前试过的激活码会失效,每次都要找好烦,如果你恰好需要类似的服务可以试试使用这个 2022 年最新Jetbrains 激活服务器,全部产品均可激活,试了一下靠谱,有效期不知道,哈哈,我也是刚刚用上,不过失效也没事,附上查找激活服务器的方法 阅读全文
posted @ 2022-07-25 16:05 Nihaorz 阅读(15288) 评论(1) 推荐(6) 编辑
摘要: ifconfig -a | grep inet | grep -v inet6 | grep -v 127.0.0.1 | grep -v 192.168.100.1 | grep -v 192.168.223.1 | grep -v 172.17.0.1 | awk '{print $2}' | 阅读全文
posted @ 2022-07-22 10:24 Nihaorz 阅读(1201) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 36 下一页