Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Translations:Install/118/zh-cn

From Funtoo
Revision as of 14:55, January 6, 2018 by Facility (talk | contribs) (Created page with "在 chroot 环境下对默认的命令提示做一下改动也是一个好主意。这可以在你切换终端/终端模拟器时不至于搞混。使用下述指令: {{cons...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

在 chroot 环境下对默认的命令提示做一下改动也是一个好主意。这可以在你切换终端/终端模拟器时不至于搞混。使用下述指令:

root # export PS1="(chroot) $PS1"

在 chroot 环境下测试域名解析:

root # ping -c 5 google.com

如果你不能 ping 通,检查 /etc/resolv.conf,看看其中是否有 127.0.x.x 的行,如果有上述的行,那就把 127.0.x.x 改为 8.8.8.8 -- Google 的公共 DNS 服务器地址。在系统安装后,确保时用这个来替换掉 DNS 服务器地址。