当前位置:首页 > linux

linux

  • 最新
  • 浏览
  • 评论

go启动时遇见的问题和操作

root1个月前 (02-22)linux379
go env -w GOARCH=amd64设置环境为amd64go env  ==  go environment查询环境变量go get -u github.com/gin-gonic/gin安装gin框架...

window设置socks代理

root8个月前 (08-15)linux1068
window设置socks代理
代理地址:socks=127.0.0.1 端口:11080...

k8s 给sc 开启或者关闭 默认设置

root2年前 (2022-08-17)linux683
k8s 给sc 开启或者关闭 默认设置
https://www.freesion.com/article/3909514696/ 关闭默认设置kubectl patch storageclass managed-nfs-storage-67 ...

nfs 服务搭建

root2年前 (2022-08-16)linux556
https://blog.51cto.com/u_12965094/2788462 https://blog.csdn.net/weixin_44767040/article/details/124735520...

helm的更新部署命令

root2年前 (2022-08-08)linux586
helm list -n test 查看test 空间下有那些helm安装的程序helm uninstall -n test mysql卸载mysqlhelm  -n test install mysql  ....

超强、超实用的linux命令

root2年前 (2022-08-01)linux527
1、常用linux命令# 查看网络状态 netstat # 查看ip网卡流量 iftop  例如:iftop -i eth0 -B -F xxx.x...

git 命令

root2年前 (2022-07-13)linux473
修改文件:即添加内容到工作区vim  filepath清除工作区的内容,回溯到上次add的状态或者commit 的状态git checkout -- file添加文件到暂存区git add filepath暂存区文件重新回到工作区...

Jenkins在k8s 部署中,Nodeport服务类型非5000端口如何访问?

root2年前 (2022-05-24)linux530
Jenkins在k8s 部署中,Nodeport服务类型非5000端口如何访问?
k8s部署Jenkins,server中有两个端口一个是http端口,一个是ssh 端口http端口就不说了,随便映射。在服务类型是NodePort下,对外映射端口如果非50000,slave连接出现异常首先在Jenkins的web界面设置...

docker重新进入容器时source /etc/profile 中环境变量失效问题的解决

root2年前 (2022-03-02)linux1786
如果在docker中设置了环境变量,肯定希望下次进入容器时自动生效。如果是在:/etc/profile中设置的,再次进入容器时环境变量会失效,解决办法是将环境变量设置在:/root/.bashrc或者/etc/bashrc中设置推荐设置在/...

centos yum 找不到包

root2年前 (2022-03-02)linux598
yum -y install epel-release安装依赖源...