Introduced under Ubuntu modifies the host to implement the domain name pointing local method. Ubuntu system's hosts only need to modify the/etc/hosts file, in the directory there is also a hosts.conf file, just at the beginning thought that only needs to modify this can be, the results found that the need to modify the hosts. Restart the network when you are finished modifying it. Open the Host file vim/etc/hosts Add the items you need, in the following format: format: <IP> <HOSTNAME>.<DOMAIN> < Alias> Example: 61.135.169.125 www.baidu.com After editing, you need to restart your network with the following command: /etc/init.d/networking restart[Drink Small wine net pick]http://blog.const.net.cn/a/16213.htm
The original: http://blog.csdn.net/ngmisses/article/details/7881026[drink small wine net pick]http://blog.const.net.cn/a/16213.htm
Ubuntu, modifying the Hosts file