免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: minok
打印 上一主题 下一主题

菜鸟100问 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-11-09 14:26 |只看该作者

论坛徽章:
0
12 [报告]
发表于 2006-11-09 16:36 |只看该作者
# cd /usr/ports/chinese/kcfonts
# make install clean
===>  Vulnerability check disabled, database not found
=> kcfonts-1.05.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://freebsd.sinica.edu.tw/pub/distfiles/.
fetch: ftp://freebsd.sinica.edu.tw/pub/distfiles/kcfonts-1.05.tar.gz: NO address record
=> Attempting to fetch from ftp://wm28.csie.ncu.tw/pub/distfiles/.
fetch: ftp://wm28.csie.ncu.tw/pub/distfiles/kcfonts-1.05.tar.gz: NO address record
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBS ... cfonts-1.05.tar.gz: NO address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/chinese/kcfonts.

论坛徽章:
0
13 [报告]
发表于 2006-11-09 16:44 |只看该作者
# cd /usr/ports/chinese/arphicttf
# make install clean

You may use the following options:
        WINH_GS                - if you want Ghostscript support
        WINHOUT_X11        - if you DOW'T want X Window support
===>  Vulnerability check disabled, database not found
=> arphicttf-2.11.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://freebsd.sinica.edu.tw/keith/.
fetch: ftp://freebsd.sinica.edu.tw/keith/kcfonts-1.05.tar.gz: NO address record
=> Attempting to fetch from ftp://wm28.csie.ncu.tw/pub/distfiles/.
fetch: ftp://wm28.csie.ncu.tw/pub/distfiles/zh-arphicttf-2.11.tar.gz: NO address record
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBS ... hicttf-2.11.tar.gz: NO address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/chinese/arphicttf.

安装X11,和其它也如此,什么原因?

论坛徽章:
0
14 [报告]
发表于 2006-11-09 16:45 |只看该作者
是否装漏什么文件, 我是最小安装系统的...

有关系吗?

[ 本帖最后由 minok 于 2006-11-9 18:00 编辑 ]

论坛徽章:
0
15 [报告]
发表于 2006-11-09 16:53 |只看该作者
cat /etc/resolv.conf

或者 /etc/resolv.conf 存在吗?

要不就是你那里的 ISP 把域名给禁用了,写个 hosts 文件吧。

freebsdchina 有个镜像,你再试试看,如果 ISP 禁用了大陆以外的地址

论坛徽章:
0
16 [报告]
发表于 2006-11-09 17:30 |只看该作者
台湾域名给禁用了,官网的能接通
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/

# cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

怎么办?

论坛徽章:
0
17 [报告]
发表于 2006-11-10 19:12 |只看该作者
/etc/resolv.conf
search example.com
nameserver ISP地址

是这样写吗?可为什么会有以下问题:

# fetch http://www.baidu.com/img/logo.gif
fetch: http://www.baidu.com/img/logo.gif: No address record

# fetch http://220.181.27.48/img/logo.gif
logo.gif                        100% of 1576 B 3076 kBps

[ 本帖最后由 minok 于 2006-11-10 19:14 编辑 ]

论坛徽章:
0
18 [报告]
发表于 2006-11-10 19:30 |只看该作者
nameserver 61.129.66.75

试试看,只用上面一行

论坛徽章:
0
19 [报告]
发表于 2006-11-10 19:48 |只看该作者
/etc/resolv.conf
nameserver      ISP的DNS服务器的IP

# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet6 fe80::2e0:4cff:fe20:c57%rl0 prefixlen 64 scopeid 0x1
        ether 00:e0:4c:20:0c:57
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet 218.72.106.94 --> 61.174.64.21 netmask 0xffffffff
        Opened by PID 191

inet后的数字部分就是:ISP分的IP地址 -> ISP的DNS服务器的IP.

还是不行,域名不被识别

[ 本帖最后由 minok 于 2006-11-10 19:50 编辑 ]

论坛徽章:
0
20 [报告]
发表于 2006-11-11 18:41 |只看该作者
原帖由 minok 于 2006-11-10 19:12 发表
/etc/resolv.conf
search example.com
nameserver ISP地址

是这样写吗?可为什么会有以下问题:

# fetch http://www.baidu.com/img/logo.gif
fetch: http://www.baidu.com/img/logo.gif: No address recor ...



这方法不对,应改为:
/etc/resolv.conf
nameserver   ISP的DNS服务器

你可以试试下面两种方法:
1.【开始】->【运行】->输入 cmd ->接着输入 ipconfig
把IP Adress后面的地址记下来,然后输入
nslookup+空格+上面记的IP地址
出现的
Server:……
Adress:……
Server是服务器域名
Adress是DNS服务器IP地址
2.开始--运行---CMD--ipconfig /all

[ 本帖最后由 sysinstall 于 2006-11-17 03:53 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP