Saturday, December 21, 2024

如何修改Linux系统hosts文件

Linux系统修改Hosts的方法和Windows类似,只是文件位置不一样,Linux系统下Hosts文件的位置是 /etc/hosts ,以root用户登录Linux,使用vi编辑/etc/hosts文件,将附加的内容添加在其后面即可。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.