In Linux, configure and activate the network command line code # The ifconfigeth0192.168.1.100netmask00000000255.0up method will expire after restart. You can run the following command to set the command line code # After setup is complete, you need to restart the network service to make the settings... in Linux, configure and activate the network command line code # ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up or above. after restart, the method will become invalid. Run the following command to set the command line code # Restart the network service after setup is complete, command line code # service network restart // restart the network service, modify the configuration file command line code # vi/etc/sysconfig/network-scripts/ifcfg-eth0 where there is a line to do the following modify command line code ONBOOT = no change this line to command line code ONBOOT = yes and then restart the service.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service