IT Talks/Linux

PCRE ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ

OkOJJ 2014. 11. 27. 10:03

๋ฏธ๋””์–ด ์œ„ํ‚ค๋ฅผ ์„ค์น˜ํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ pcre ๋ฒ„์ „์ด ๋‚ฎ์•„์„œ ์„ค์น˜ํ•  ์ˆ˜ ์—†๋‹ค๋Š” ๋ฉ”์‹œ์ง€๊ฐ€ ๋ฐœ์ƒ.

  • ์„ค์น˜๋œ ๋ฒ„์ „ ํ™•์ธ
# rpm -q --queryformat "%{name}.%{arch}\n" pcre
  • ๊ธฐ์กด ๋ฒ„์ „ ์‚ญ์ œ (--nodeps ์˜ต์…˜์œผ๋กœ)
# rpm -ev --nodeps pcre-devel.x86_64
# rpm -ev --nodeps pcre.x86_64
# rpm -ev --nodeps pcre-devel.i386
# rpm -ev --nodeps pcre.i386
  • yum repo ์— ์ถ”๊ฐ€
vi /etc/yum.repos.d/utter-ramblings.repo

ํ›„ ์•„๋ž˜ ๋‚ด์šฉ ์ถ”๊ฐ€

[utter-ramblings]
name=Utter Ramblings
baseurl=http://www.jasonlitka.com/media/EL5/x86_64/
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
enabled=1
gpgcheck=1
  • yum ์„ ์ด์šฉํ•ด ๋‹ค์‹œ ์„ค์น˜
# yum --disablerepo=* --enablerepo=utter-ramblings install pcre pcre-devel
  • ์›น์„œ๋ฒ„ ์žฌ์‹œ์ž‘ ํ›„ phpinfo ํ™•์ธ


728x90