- 다른 뜻에 대해서는 우분투 varnish 4.1 설치 문서를 참조하십시오.
- CentOS varnish 4.1 설치
1 사전작업
2 rpm 설치
- CentOS7은 el7.rpm, CentOS6은 el6rpm을 설치
Bash
Copy
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpm
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el7.rpm
Console
Copy
[root@zetawiki ~]# rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpm
[root@zetawiki ~]#
3 yum으로 설치
Console
Copy
[root@zetawiki ~]# yum install varnish
... (생략)
===============================================================
Package Arch Version Repository Size
===============================================================
Installing:
varnish x86_64 4.1.2-1.el6 varnish-4.1 389 k
Updating for dependencies:
varnish-libs x86_64 4.1.2-1.el6 varnish-4.1 178 k
Transaction Summary
===============================================================
Install 1 Package(s)
Upgrade 1 Package(s)
Total download size: 567 k
Is this ok [y/N]: y
Console
Copy
Downloading Packages:
(1/2): varnish-4.1.2-1.el6.x86_64.rpm | 389 kB 00:02
(2/2): varnish-libs-4.1.2-1.el6.x86_64. | 178 kB 00:00
---------------------------------------------------------------
Total 169 kB/s | 567 kB 00:03
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID c4deffeb: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-VARNISH
Importing GPG key 0xC4DEFFEB:
Userid : varnish-cache.org repository key <sysadmin@varnish-software.com>
Package: varnish-release-4.1-2.el6.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-VARNISH
Is this ok [y/N]: y
Console
Copy
... (생략)
Installed:
varnish.x86_64 0:4.1.2-1.el6
Dependency Updated:
varnish-libs.x86_64 0:4.1.2-1.el6
Complete!
4 같이 보기
5 참고 자료
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.