Open the network card configuration file
Edit the network card configuration file, change the dynamic IP to static IP settings, and then save the changes
(Recommended tutorial: centos tutorial)
Restart the network service
Check the ip address again, it is a static fixed IP at this time
Related video tutorial recommendations: linux video tutorial
The above is the detailed content of How to configure fixed IP in centos7. For more information, please follow other related articles on the PHP Chinese website!