上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 198 下一页
摘要: 使用docker-compose搭建etcd集群环境 使用docker-compose搭建etcd集群环境 etcd是一个集群环境,用来管理微服务架构下面的配置管理功能。 A distributed, reliable key-value store for the most critical da 阅读全文
posted @ 2021-02-21 09:27 brady-wang 阅读(1595) 评论(1) 推荐(0) 编辑
摘要: oh_my_zsh是一个非常好用和好看的命令行配置,它包含自动补全、目录下git自动检查、主题、插件等功能,给在命令行下工作的人提供了非常好的便利。 前阵子配置vagrant虚拟机,为了打个环境给同事使用。考虑到有些命令需要在虚拟机里面完成,所以还是安装了一个oh_my_zsh。 但是问题来了,在o 阅读全文
posted @ 2021-02-01 14:37 brady-wang 阅读(1330) 评论(2) 推荐(3) 编辑
摘要: kubectl describe node kubemaster kubectl taint nodes master node-role.kubernetes.io/master:NoSchedule- https://kuboard.cn/learning/k8s-intermediate/co 阅读全文
posted @ 2021-02-01 09:08 brady-wang 阅读(276) 评论(0) 推荐(0) 编辑
摘要: ➜ /docker docker network create --driver bridge --subnet 192.168.0.0/16 --gateway 192.168.0.1 mynet 6568f0fcefcf2f80f572b1ea0f89f7ef7bfcd3603038708525 阅读全文
posted @ 2021-01-31 14:36 brady-wang 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 我想现在应该有很多人都已经使用zsh作为默认的Shell了,尤其是搭配 oh-my-zsh 之后,真是好用得飞起。一般,我们在切换系统默认的Shell的时候,都会使用 chsh -s /bin/zsh 命令来进行修改。今天我遇到一个问题,在某台老服务器上,使用这个命令无法修改,具体原因未知。始终提示 阅读全文
posted @ 2021-01-31 11:19 brady-wang 阅读(5543) 评论(0) 推荐(0) 编辑
摘要: 在 oh-my-zsh 进入 包含 git 仓库目录时,会变的比平时慢/卡顿 如下图: 原因是因为 oh-my-zsh 要获取 git 更新信息 解决办法: 设置 oh-my-zsh 不读取文件变化信息(在 git 项目目录执行下列命令) $ git config --add oh-my-zsh.h 阅读全文
posted @ 2021-01-31 10:59 brady-wang 阅读(668) 评论(0) 推荐(0) 编辑
摘要: portainer docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/da 阅读全文
posted @ 2021-01-29 18:31 brady-wang 阅读(58) 评论(0) 推荐(0) 编辑
摘要: docker查看日志 docker run -d centos /bin/bash -c "while true;do echo hello;sleep 1;done" docker logs -f -t --tail 5 11e37680511d 阅读全文
posted @ 2021-01-29 16:59 brady-wang 阅读(131) 评论(0) 推荐(0) 编辑
摘要: docker安装 文档地址 https://docs.docker.com/engine/install/centos/ 安装步骤 卸载原有的版本 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-commo 阅读全文
posted @ 2021-01-29 15:42 brady-wang 阅读(367) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "strconv" "time" ) var ( maxRoutineNum = 2 ) // 模拟下载页面的方法 func download(url string, ch chan int) { fmt.Println("download f 阅读全文
posted @ 2021-01-21 16:31 brady-wang 阅读(2429) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 198 下一页