摘要: 在虚拟化中,如果采用机器克隆的情况,使用同一个主机名和系统id会造成机器冲突,需要进行主机名修改和机器id重置 1. 修改系统IP地址信息 新版本使用netplan配置主机IP地址 ubuntu@ubuntu:~$ cat /etc/netplan/00-installer-config.yaml 阅读全文
posted @ 2024-03-08 22:41 二乘八是十六 阅读(220) 评论(0) 推荐(1) 编辑
摘要: tab键盘补全的声音太大了,受不了,得关闭 查找bell-style这个关键词,取消set bell-style none 这行的注释附 root@ubuntu:~# cat /etc/inputrc | grep bell-style # set bell-style none # set bel 阅读全文
posted @ 2024-03-08 22:34 二乘八是十六 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 移除ubuntu系统中的snap软件 1.查看snap软件信息 # 使用snap list查看系统中的snap软件 root@ubuntu:~# snap list Name Version Rev Tracking Publisher Notes core20 20240111 2182 late 阅读全文
posted @ 2024-03-08 22:27 二乘八是十六 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 1.Docker快速安装 1.1.ubuntu系统 步骤一: 安装必要的一些系统工具 sudo apt-get update sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-co 阅读全文
posted @ 2024-03-08 16:20 二乘八是十六 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 通过SSH方式登录Ubuntu系统时,会有如下提示信息 创建.hushlogin文件,关闭提示 touch ~/.hushlogin 退出重新登录就不会有这个提示 阅读全文
posted @ 2024-03-08 15:41 二乘八是十六 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 移除cloud init组件 ubuntu有两个东西最讨厌,一个snap,一个cloud init # 创建cloud-init关闭文件 touch /etc/cloud/cloud-init.disabled # 关闭cloud-init开机启动 systemctl disable cloud-i 阅读全文
posted @ 2024-03-08 15:30 二乘八是十六 阅读(170) 评论(0) 推荐(0) 编辑