宵待夜雨的博客

Ubuntu允许root登录

在 Ubuntu 系统中,默认出于安全考虑禁用 root 用户直接登录

徐智军 Published on 2026-01-15

Ubuntu常用命令

修改镜像源 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ 安装SSH sudo apt update sudo apt install openssh-server sudo systemctl start ssh sudo systemctl

徐智军 Published on 2025-06-19

使用终端登录堡垒机

ssh -o HostKeyAlgorithms=+ssh-rsa zlhy_admin@60.190.56.211 -p 60022

徐智军 Published on 2024-08-27

Ubuntu Server 虚拟机空间扩容

使用 Esxi 安装 Ubuntu Server 后,发现分配的 20G 磁盘空间不够,通过 Esxi 控制台将磁盘扩容到 40G,重启后还需要手动调整 检查未分区空间 修改了磁盘大小后,新增的空间状态是未分区,首先检查是否新增成功 使用 fdisk 查看 使用 fdisk 命令查看 /dev/sd

徐智军 Published on 2024-08-09

CentOS部署NFS服务

服务端 yum -y install nfs-utils rpcbind ​ systemctl start rpcbind systemctl start nfs-server ​ systemctl enable rpcbind systemctl enable nfs-serve

徐智军 Published on 2024-08-02