随笔分类 - Linux
修改静态IP centos7
摘要:修改静态IP centos7 修改主机名称 # 1.hostname文件修改 vim /etc/hostname # 2.使用hostnamectl修改 hostnamectl set-hostname admin # 3.使用nmcli修改 nmcli g hostname admin # 重启生
阅读全文
posted @ 2022-01-19 16:54
不懂就问、不会就学
分发、免密配置
摘要:分发、免密配置 SCP全量 # 语法:scp -r 本机文件夹 目标机用户@目标机地址:目标机文件夹 # hadoop101推到hadoop102: scp -r /opt/module root@hadoop102:/opt/module # hadoop103从hadoop101拿数据: scp
阅读全文
posted @ 2022-01-19 16:53
不懂就问、不会就学
配置 firewalld centos7
摘要:配置 firewalld centos7 systemctl systemctl start firewalld systemctl status firewalld systemctl disable firewalld systemctl stop firewalld firewalld-cmd
阅读全文
posted @ 2022-01-19 16:21
不懂就问、不会就学
释放/收缩vmware虚拟磁盘空间
摘要:释放/收缩vmware虚拟磁盘空间 解决的问题:虚拟机目录文件 “占用空间” 比 “实际大小”大很多 删除 vmware drag_and_drop 文件夹 rm -rf ~/.cache/vmware/drag_and_drop 用内容为二进制0的文件,填充所有磁盘空间,删除这个文件. dd if
阅读全文
posted @ 2022-01-19 16:18
不懂就问、不会就学
浙公网安备 33010602011771号