En means ethernet, which is LAN
O: Motherboard Onboard Network
P: Standalone NIC
S: Hot-swappable NIC
Temporarily modify IP
ifconfig nic name (ENS33) IP (192.168.1.110)
Systemctl Restart network//restart NIC Service
Ifconfig nic name (ENS33) del IP (192.168.1.110)//Temporary Delete
Permanently modify IP
Systemctl status NetworkManager #网卡状态 Active (running) run
Ls/etc/sysconfig/network-scripts/ifcfg-lo #网卡回环地址
Cat/etc/resolv.conf #DNS
Cat/etc/hostfs #设置主机名和IP绑定信息
Cat/etc/hostname #设置主机名
Permanently modify the network card address
1. Nmtui---> edit a connection-- OK //edit
2. vim/etc/sysconfig/network-scripts/ifcfg-ens33//config file modify ipaddr= IP address
Firewall and Port Firewalld
View status: Systemctl status firewalld start: Systemctl start firewalld Disabled: Systemctl stop FIREWALLD stop: systemctl disable F Irewalld #开机自动关闭
Temporarily (permanently) close SELinux
Getenforce # View the status of SELinux.
Enforcing boot Setenforce 0 indicates a temporary shutdown of the SELinux firewall
Disabled boot does not start
Vim/etc/selinux/config//Edit file permanently closed
Reboot Restart Service
CD-ROM boot automatically mount
Vim/etc/fstab
Network-related concepts, modifying IP, firewalls and ports-turn off SELinux