05 2022 档案
摘要:主机角色 主机名称 ip地址 client client eth0 192.168.4.10/24 代理服务器 DNS服务器 proxy eth0 192.168.4.5/24 eth1 192.168.2.5/24 web1服务器 web1 eth1 192.168.2.11/24 web2服务器
阅读全文
摘要:一台独立的数据库服务器 yum install -y mariadb mariadb-server mariadb-devel systemctl enable --now mariadb firewall-cmd --set-default-zone=trusted setenforce 0 se
阅读全文
摘要:防火墙 sed -i '/SELINUX/s/enforcing/permissive/' /etc/selinux/config setenforce 0 firewalld-cmd --set-default-zone=trusted ******************************
阅读全文
摘要:]# hostname ]# which hostname #查询命令对应的程序 ]# cat -n /etc/shells #显示行号 ls -l /etc/passwd #长格式显示 Ctrl + l:清空整个屏幕 Ctrl + u:从光标处清空至行首 Ctrl + w:往回删除一个单词(以空格
阅读全文
摘要:cat查看文本文件内容,适合查看内容较少文件 ]# ls /root/ ]# cat /root/anaconda-ks.cfg ]# cat /root/initial-setup-ks.cfg ]# cat /etc/passwd less查看文本文件内容,适合查看内容较多文件 [root@lo
阅读全文