Static hostname: debian9.localdomain Icon name: computer-vm Chassis: vm Machine ID: a92099e30f704d559adb18ebc12ddac4 Boot ID: 7607cbe605d44f638d6542d4c7b3878e Virtualization: qemu Operating System: Debian GNU/Linux 9 (stretch) Kernel: Linux 4.9.0-8-amd64 Architecture: x86-64 使用/et...
1.uname -a (Linux查看版本当前操作系统内核信息) 2.cat /proc/version (Linux查看当前操作系统版本信息) 3.cat /etc/issue 或cat /etc/redhat-release(Linux查看版本当前操作系统发行版信息) 4.cat /proc/cpuinfo lscpu (Linux查看cpu相关信息,包括型号、主频、内核信息等) 5.getconf LONG_BIT (Linux查看版本...
[root@client Desktop]# systemctl stop iptables 关闭iptables [root@client Desktop]# systemctl disable iptables 开机自动关闭 [root@client Desktop]# systemctl start firewalld 打开防火墙 [root@client Desktop]# systemctl enable firewalld 开机自动开启 [root@client Desktop]# yum search iptables 寻找ipta...
输入systemctl list-units --state按Tab键,显示所有可用的值 单元文件状态 另外还可以用 enabled static disabled 等systemctl list-unit-files显示的状态 --failed --state=failed 显示加载失败的单元 systemctl--failed --version 打印Systemd 版本 lfp@legion:/lib/systemd/system$ systemctl --version Systemd 2...
sudo systemctldisablenetwork-manager.service 解析WSL 中的 .local 名称 若要将主机名解析为本地网络中的 IP 地址,无需使用传统的 DNS 服务器,通常使用 .local 名称。 这是通过 mDNS(多播 DNS)协议实现的,该协议依赖于多播流量来运行。 networkingMode 设置为 NAT: ...
deploy3.重启系统reboot4.重启网卡service network restart5.关闭防火墙systemctl stop firewalld system...
List of SUSE Linux Micro kernel (version and release date)(The kernel versions/release numbers for SLM 6.0 and 6.1 differ from the SLES kernel versions, so a new article was created.) The list of SUSE Linux Enterprise Live Patching updates is available at:SUSE Linux Enterprise Live Patching ...
sy:系统CPU时间(system time); id:空闲 CPU时间 wa:等待IO时间;wa的值高时,说明IO等待比较严重,这可能由于磁盘大量作随机访问造成,也有可能磁盘出现瓶颈。 经验: procs:r如果长期大于CPU的个数,说明CPU遇到瓶颈。 procs:b值越高,系统压力越大。
nload netstat vnstat slurm scp tcpdump # 磁盘 I/O iotop iostat # 虚拟机 virt-top # 用户 w whoami # 运行时间 uptime # 磁盘 du df lsblk # 权限 chown chmod # 服务 systemctl list-unit-files # 定位 find locate # 性能测试 time
Step 3.创建好虚拟机后,打开电源后选择【Install Rocky Linux 9.3】(白行选中),然后 LOCALIZATION、SOFTWARE、SYSTEM、USER SETTINGS 等配置,此处使用 LVM 逻辑卷分区,学习时默认即可,若是在线上服务器中通常是取消swap分区(在某些场景中又需要开启swap分区,例如,为了提高 redis 数据库性能),并且将/、home、var、boo...