網路卡設定IP:
nmcli connection show (check the device name)
nmcli con modify ens33 ipv4.address 192.168.0.xx/24 ipv4.gateway 192.168.0.xx
DNS:
超白癡 直接新增檔案
vi /etc/resolv.conf
nameserver 8.8.8.8
網卡不要設定HOSTNAME !!
會有 "Crash recovery kernel arming"
網路會莫名其妙死掉
netstat command required:
dnf install net-tools
set time-zone:
timedatectl set-timezone Asia/Taipei
較時:
systemctl restart chronyd
systemctl is-enabled chronyd
FIREWALL:
firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --zone=public --permanent --add-service=https
systemctl restart firewalld
mysql:
dnf install mysql-server
systemctl start mysqld.service
systemctl status mysqld
systemctl enable mysqld
mysql_secure_installation
dnf install php-mysqli
留言列表