1. 切换用户
su - root
回车,输入密码,即可。
2. 安装软键盘
sudo yum install epel-release
sudo yum install florence
3. 设置 enforce
参考博文:
https://blog.csdn.net/qq_41453285/article/details/88539523
———————————————
4.关闭防火墙
# 查看防火墙状态
firewall-cmd --state
# 停止firewall
systemctl stop firewalld.service
# 开启firewall
firewall-cmd --state
# 禁止firewall 开机启动
systemctl disable firewalld.service
# 查看 iptables
iptables -L
service iptables stop
systemctl stop firewalld
5.查看服务器外网IP
1、curl ifconfig.me
2、curl cip.cc
3、curl icanhazip.com
4、curl ident.me
5、curl members.3322.org/dyndns/getip