之前,我們介紹過如何通過源碼方式在Debian下安裝squid當然,那是個比較詳細而且略微麻煩的過程.今天我們試試用較簡單的apt命令方法安裝squid服務.看看有與源碼安裝有何配置上的差異:
一、運行squid安裝命令
root@netren:~# apt-get install squid
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
squid-common squid-langpack
Suggested packages:
squidclient squid-cgi logcheck-database resolvconf smbclient winbind
The following NEW packages will be installed:
squid squid-common squid-langpack (這幾個軟體包將被安裝)
0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 1,347kB of archives.
After this operation, 8,503kB of additional disk space will be used.
Do you want to continue [Y/n]?y
Get:1 http://hk.archive.ubuntu.com/ubuntu/ lucid/main squid-langpack 20100111-1 [228kB]
Get:2 http://hk.archive.ubuntu.com/ubuntu/ lucid/main squid-common 2.7.STABLE7-1ubuntu12 [353kB] (版本是2.7.STABLE7)
Get:3 http://hk.archive.ubuntu.com/ubuntu/ lucid/main squid 2.7.STABLE7-1ubuntu12 [766kB]
Fetched 1,347kB in 7s (180kB/s)
Preconfiguring packages ...
Selecting previously deselected package squid-langpack.
(Reading database ... 43247 files and directories currently installed.)
Unpacking squid-langpack (from .../squid-langpack_20100111-1_all.deb) ...
Selecting previously jeffrey guo deselected package squid-common.
Unpacking squid-common (from .../squid-common_2.7.STABLE7-1ubuntu12_all.deb) ...
Selecting previously deselected package squid.
Unpacking squid (from .../squid_2.7.STABLE7-1ubuntu12_i386.deb) ...
Processing triggers for ureadahead ...
>>>閱讀全文
本文出自 「網人linux社區」 博客,請務必保留此出處http://netren.blog.51cto.com/3240427/592132
[火星人 ] Debian/Ubuntu命令方式快速安裝squid已經有715次圍觀