CentOS 5에 Squid 설치

squid 설치

1 설치 확인[ | ]

[root@zetawiki ~]# rpm -qa | grep squid
[root@zetawiki ~]#

2 최신 버전 확인[ | ]

3 rpm 다운로드[ | ]

[root@zetawiki ~]# wget http://centos.alt.ru/repository/centos/5/x86_64/squid-3.4.4-1.el5.x86_64.rpm 
--2014-04-04 22:30:23--  http://centos.alt.ru/repository/centos/5/x86_64/squid-3.4.4-1.el5.x86_64.rpm
Resolving centos.alt.ru... 80.247.97.12
Connecting to centos.alt.ru|80.247.97.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3341881 (3.2M) [application/x-redhat-package-manager]
Saving to: `squid-3.4.4-1.el5.x86_64.rpm'

100%[======================================>] 3,341,881   40.8K/s   in 36s     

2014-04-04 22:31:02 (89.5 KB/s) - `squid-3.4.4-1.el5.x86_64.rpm' saved [3341881/3341881]
→ 약 3.2MB이다.

4 squid 설치 (실패)[ | ]

[root@zetawiki ~]# rpm -ivh squid-3.4.4-1.el5.x86_64.rpm 
warning: squid-3.4.4-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e9bc4ae1
error: Failed dependencies:
	perl(Crypt::OpenSSL::X509) is needed by squid-3.4.4-1.el5.x86_64
→ perl-Crypt-OpenSSL-X509 모듈이 필요하다.

5 perl-Crypt-OpenSSL-X509 설치[ | ]

[root@zetawiki ~]# yum install perl-Crypt-OpenSSL-X509
... (생략)
================================================================================
 Package                      Arch        Version               Repository
                                                                           Size
================================================================================
Installing:
 perl-Crypt-OpenSSL-X509      x86_64      1.800.2-1.el5         epel       40 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total size: 40 k
Is this ok [y/N]: y
... (생략)
Installed:
  perl-Crypt-OpenSSL-X509.x86_64 0:1.800.2-1.el5                                

Complete!

6 squid 설치[ | ]

[root@zetawiki ~]# rpm -ivh squid-3.4.4-1.el5.x86_64.rpm
warning: squid-3.4.4-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e9bc4ae1
Preparing...                ########################################### [100%]
   1:squid                  ########################################### [100%]
[root@zetawiki ~]# rpm -qa | grep squid
squid-3.4.4-1.el5

7 squid 시작[ | ]

[root@zetawiki ~]# service squid start
Starting squid: .                                          [  OK  ]

8 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}