squid要怎么设置~

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
water2007
帖子: 524
注册时间: 2007-04-23 13:34
送出感谢: 0
接收感谢: 0
联系:

squid要怎么设置~

#1

帖子 water2007 » 2007-07-06 18:33

安装如下, 可是后面有个“fail”~
怎么办?

$ sudo apt-get install squid squid-common
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
The following packages were automatically installed and are no longer required:
libfreebob0 libmtp5 fftw3 libresid-builder0c2a libjack0.100.0-0 mysql-common
libcurl3-gnutls libwavpack1 libmysqlclient15off ruby1.8 ruby python-sip4
libxml1 libsamplerate0 libtunepimp5 libifp4 libsidplay2 libpq5 libgpgme11
libakamaru0 libnjb5 libofa0
使用 'apt-get autoremove' 来删除它们。
建议安装的软件包:
squidclient squid-cgi logcheck-database resolvconf
下列【新】软件包将被安装:
squid squid-common
共升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
需要下载 1078kB 的软件包。
解压缩后会消耗掉 6599kB 的额外空间。
获取:1 http://ubuntu.cn99.com feisty/main squid-common 2.6.5-4ubuntu2 [437kB]
获取:2 http://ubuntu.cn99.com feisty/main squid 2.6.5-4ubuntu2 [641kB]
下载 1078kB,耗时 0s (1204kB/s)
正在预设定软件包 ...
选中了曾被取消选择的软件包 squid-common。
(正在读取数据库 ... 系统当前总共安装有 180048 个文件和目录。)
正在解压缩 squid-common (从 .../squid-common_2.6.5-4ubuntu2_all.deb) ...
选中了曾被取消选择的软件包 squid。
正在解压缩 squid (从 .../squid_2.6.5-4ubuntu2_i386.deb) ...
正在设置 squid-common (2.6.5-4ubuntu2) ...
正在设置 squid (2.6.5-4ubuntu2) ...
Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted (core dumped)
* Restarting Squid HTTP proxy squid * Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted (core dumped)
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted (core dumped)
[fail]
hite
帖子: 17
注册时间: 2007-11-19 13:36
送出感谢: 0
接收感谢: 0

#2

帖子 hite » 2008-04-15 16:58

FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

squid.conf设置visible_hostname可解决
为什么引起不明
回复

回到 “服务器基础应用”