CentOS varnish 4.0 제거

리눅스 varnish 삭제
CentOS varnish 삭제

1 기존 설정파일 보존[ | ]

[root@zetawiki ~]# cp /etc/varnish/default.vcl .
[root@zetawiki ~]# cp /etc/sysconfig/varnish .
[root@zetawiki ~]# ll | egrep 'default|varnish'
-rw-r--r--  1 root root   4589 May 27 02:25 default.vcl
-rw-r--r--  1 root root   2005 May 27 02:25 varnish

2 varnish 중지[ | ]

[root@zetawiki ~]# service varnish stop
Stopping Varnish Cache:                                    [  OK  ]

3 yum으로 삭제[ | ]

[root@zetawiki ~]# yum remove varnish
... (삭제)
===============================================================
 Package     Arch       Version         Repository        Size
===============================================================
Removing:
 varnish     x86_64     4.0.3-1.el6     @varnish-4.0     962 k

Transaction Summary
===============================================================
Remove        1 Package(s)

Installed size: 962 k
Is this ok [y/N]: y
... (생략)
Running Transaction
  Erasing    : varnish-4.0.3-1.el6.x86_64                  1/1 
warning: /etc/varnish/default.vcl saved as /etc/varnish/default.vcl.rpmsave
warning: /etc/sysconfig/varnish saved as /etc/sysconfig/varnish.rpmsave
  Verifying  : varnish-4.0.3-1.el6.x86_64                  1/1 

Removed:
  varnish.x86_64 0:4.0.3-1.el6                                 

Complete!

4 같이 보기[ | ]

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