no hosts file in ubuntu etc

Modify the hosts file under ubuntu

The Hosts of the Ubuntu system only need to modify the /etc/hosts file. There is no hosts file in the directory. After the modification, the network must be restarted.
The specific process is as follows:
1. Find and modify the hosts
sudo gedit /etc/hosts
2. Change the hosts file (decompression code: laod.cn)

AndroidAndroid and Linux series.zip

3. Restart the network after saving

sudo /etc/init.d/networking restart

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326921833&siteId=291194637