?????????????????????????server???client????????????????·??
????1??????IP?????DNS??
????# nmtui
????# service network restart        # ifconfig | grep -A1 flags
????# cat /etc/resolv.conf
????2??????????????????
??????????Ч
????# hostname lz.com
??????Ч
????# echo lz.com> /etc/hostname
????????hosts???
????# echo 192.168.220.111   lz.com>> /etc/hosts
?????????
????# hostname
????# cat /etc/hostname
????# cat /etc/hosts
????3?????????????
????# rpm -q pkg
????4?????????????rpm????yum?
????# rpm -ivh /media/Packages/pkg*
????# yum -y install pkg
????5????????????
???????????????
????# rpm -qc pkg
??????????????
????# vim /path/filename
????6?????????
????# service daemon restart
????7???????????????
????# chkconfig daemon on
????8?????÷????
????# firewall-cmd --permanent --add-service=*
????# firewall-cmd --permanent --add-port=*/[tcp|udp]
????# service firewalld restart        # firewall-cmd --list-services
????9????????????selinux
????# setenfore 0
????# set -i '/^SELINUX/s/=.*/=permissive/' /etc/selinux/config
????10?????????
????a?????????
????b?????????