摘要: 基本命令的使用 未分类 #查看历史命令 history #查看全路径 pwd #根据进程名查找进程 ps -ef | grep 进程名 #硬链接与软连接 #创建软连接 ln -s source-file target-file #创建硬链接(文件夹逻辑上不允许建立硬链接) ln source-fil 阅读全文
posted @ 2024-04-17 16:51 顔宸 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 基本命令及使用 #文件拷贝 docker cp #将文件拷贝到容器内部 docker cp 文件名 容器名或id:容器路径 docker cp test.jar centos:/usr/local #将容器内部文件拷贝到外部 docker cp 容器名或id:容器路径/文件名 路径 docker c 阅读全文
posted @ 2024-04-17 16:42 顔宸 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1、安装Docker Centos7.6-centos7.9 # 配置主机名: hostnamectl set-hostname master1 && bash #关闭防火墙 systemctl stop firewalld && systemctl disable firewalld #关闭ipt 阅读全文
posted @ 2024-04-17 16:26 顔宸 阅读(44) 评论(0) 推荐(0) 编辑