System
Red Hat Enterprise Linux
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/
Database
MySQL
https://dev.mysql.com/doc/
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/
https://dev.mysql.com/doc/
在本地局域网络中,各个设备的网卡都有自己的 ARP 缓存表,用于记录局域网中各个设备 IP 地址和 MAC 地址的对应关系。
# arp -d 192.168.0.1
(补充:这里以从本地 ARP 缓存表清楚 IP 地址 192.168.0.1 的 ARP 缓存为例)
# ping 192.168.0.1
(
补充:
1) 这里以获取 192.168.0.1 的 ARP 缓存为例。
2) 当本地尝试连接 IP 地址 192.168.0.1 时,首先发生 ARP 报文询问 IP 地址 192.168.0.1 的 MAC 地址获得 ARP 缓存。如果此缓存长期没有被使用则会自动删除。如果记录 ARP 缓存过多,那旧的 ARP 缓存会被有限删除
)
重启系统,进入内核选择界面,此时按下 “e” 键进入内核编辑界面
在 menuentry 下面,在 linux 开头的这 1 行末尾添加 init=/bin/bash
同时按下 “ctrl” 键和 “x” 键
或者:
按下 “f10” 键
# mount -o remount rw /
# echo 1 | passwd --stdin root
(补充:以上命令的作用是在修改的内核中,将 root 的密码修改为 1 为例)
# exit
Input df command and the command is stuck
Can not us cd / command to access /(root) directory
Can not us ls / command to display /(root) directory
There may be some network storage disconnected
# mount
(Add: At this moment, we can see at least one remote storage mount to local directory. If we cd to this directory, system command prompt will output target is busy)
# umount -f <nfs storage which is stuck>
Or:
# umount -l <nfs storage which is stuck>
Or:
# umount -f -l <nfs storage which is stuck>
For RHEL 6, RHEL 7, RHEL 8, RHEL 9
RAM size | Recommended swap size | Recommended swap size if allowing for hibernation |
From 0 to 2GB | 2 times the RAM size | 3 times the RAM size |
From 2GB to 8GB | The same size of the RAM | 2 times the RAM size |
From 8GB to 64GB | At least 4GB | 1.5 times the RAM size |
From 64GB | At least 4GB | Hibernation is not recommended |
Note: A 100GB swap is recommended if system with over 140 logical processes or over 3TB RAM
https://access.redhat.com/solutions/15244