摘要: # 查看宿主主机IPip route | grep default | awk '{print $3}'cat /etc/resolv.conf # 查看本机IPip a |grep "global eth0"hostname -I | awk '{print $1}' # 安装MySQL客户端su 阅读全文
posted @ 2024-01-13 23:18 心若向阳,次第花开 阅读(49) 评论(2) 推荐(0) 编辑
摘要: sudo sed -i 's/http:\/\/archive.ubuntu.com/https:\/\/mirrors.ustc.edu.cn/g' /etc/apt/sources.listsudo apt update && sudo apt upgrade -ysudo apt instal 阅读全文
posted @ 2024-01-13 22:36 心若向阳,次第花开 阅读(87) 评论(0) 推荐(0) 编辑