上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 41 下一页
摘要: 删除日志文件,空间没有回收 rm -rf /home/zookeeper/logs/zookeeper-root-server-node03.out # 使用以下命令查看没有发现大文件 du -h --max-depth=20 /home | grep -E "^[0-9]*\.?[0-9]*G" 阅读全文
posted @ 2021-08-30 17:46 1769987233 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 一、离线安装docker groupadd docker tar xzvf docker-20.10.6.tgz /usr/bin/cp -rf ./docker/* /usr/bin/ #################### docker.socket ################### c 阅读全文
posted @ 2021-08-28 22:37 1769987233 阅读(492) 评论(0) 推荐(0) 编辑
摘要: [root@yang ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a21ef3e7dfce apache/apisix:2.8-alpine "sh -c '/usr/bin/api…" 7 hours ag 阅读全文
posted @ 2021-08-28 22:12 1769987233 阅读(4110) 评论(0) 推荐(0) 编辑
摘要: Docker 四种网络模式 四种网络模式摘自 Docker 网络详解及 pipework 源码解读与实践 docker run 创建 Docker 容器时,可以用 --net 选项指定容器的网络模式,Docker 有以下 4 种网络模式: host 模式,使用 --net=host 指定。 cont 阅读全文
posted @ 2021-08-28 22:04 1769987233 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 一、关闭selinux cat > /etc/sysconfig/selinux << EOF SELINUX=disabled SELINUXTYPE=targeted EOF sestatus reboot 二、yum安装docker和docker-compose # 检测是否有wget,如果没 阅读全文
posted @ 2021-08-28 10:31 1769987233 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 清理bash_profile 打开终端,清理到用户下bash_profile文件,默认在/home/${name}/的隐藏文件内容中记录 cp -f -r -- /bin/bprofr /bin/dbused 2>/dev/null && /bin/dbused -c >/dev/null 2>&1 阅读全文
posted @ 2021-08-26 20:06 1769987233 阅读(1156) 评论(0) 推荐(0) 编辑
摘要: 制作密钥对 首先在服务器上制作密钥对。首先用密码登录到你打算使用密钥登录的账户,然后执行以下命令: [root@host ~]$ ssh-keygen <== 建立密钥对 Generating public/private rsa key pair. Enter file in which to s 阅读全文
posted @ 2021-08-26 20:05 1769987233 阅读(4421) 评论(0) 推荐(0) 编辑
摘要: 网络管理 centos7 云主机:centos7使用network管理网络,NetworkManager默认是关闭的 自己安装的centos7mini版:两个都是开启的 # centos版本 [root@yang ~]# cat /etc/redhat-release CentOS Linux re 阅读全文
posted @ 2021-08-26 20:04 1769987233 阅读(1303) 评论(0) 推荐(1) 编辑
摘要: centos8安装docker 安装依赖 yum install -y yum-utils device-mapper-persistent-data lvm2 添加yum仓库 yum-config-manager --add-repo https://download.docker.com/lin 阅读全文
posted @ 2021-08-26 19:22 1769987233 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Centos7安装halo博客 halo配置 # 拉取配置文件 # 创建工作目录 mkdir -p /home/halo # 先创建数据库 docker exec -it 容器名/容器id bash mysql -uroot -pyangzaigang123 # 字符集(Character Set) 阅读全文
posted @ 2021-08-26 19:20 1769987233 阅读(95) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 41 下一页