Skip to content

조회 수 15132 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
리눅스서버에 yum 이나 rpm 을 이용해 PHP또는 Apache 등의 서버를 설치하는 것은 매우 쉽다. 현재 CentOS나 페도라에서는 yum install 패키지명 만 하면 의존성 관계가 있는 패키지들까지 자동적으로 설치가 된다. 예전처럼 수동으로 일일이 찾아서 설치하는 시대는 지났다. 레드햇 기반의 배포판들은 페도라, 센토스 등이다. 그런데 공통적으로 같은 명령어인 yum을 이용해 패키지 업데이트를 하기때문에 이 간단한 명령어를 기억한다면 업데이트는 그야말로 식은죽 먹기식이다. 

레드햇 기반에서는 yum 을 이용해 업데이트 하지만 데비안 계열에서는 apt-get 를 이용한다. 둘다 같은 기능을 하므로 간단하게 업데이트 하고픈 패키지를 고르고 각각 yum install 패키지명 / apt-get install 해키지명 해 보면 정말 간단하게 업데이트 되는 것을 알 수 있다. 

RPM은 기본셋팅과 모듈을 탑재한 채 미리 컴파일된 표준 패키지들이다. 그렇지만 어떤 응융프로그램은 RPM컴파일시 포함되지 않은 다른 모듈을 필요로 한다. 이런 경우 php와 Apache 를 수동으로 다시 컴파일해야 한다. 소스로부터 어떤 응용프로그램을 컴파일 하는 것이 더 좋다. 비록때때로 시간을 잡아먹거나 어려워도 우리가 생각하는 각종 모듈들을 지원하게 만들 수 있는데...아래 내용들은 소스로 컴파일하면서 생기는 에러들에 대한 대응 방안들이다. 

1) Configure: error: xml2-config not found. Please check your libxml2 installation.

해결책 : #yum install libxml2-devel

2) Checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>


해결책 : #yum install openssl-devel

3) Configure: error: Please reinstall the BZip2 distribution

해결책 : # yum install bzip2-devel

4) Configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/


해결책 : # yum install curl-devel

5) Configure: error: libjpeg.(also) not found.

해결책 : # yum install libjpeg-devel

6) Configure: error: libpng.(also) not found.

해결책 : # yum install libpng-devel

7) Configure: error: freetype.h not found.

해결책 : #yum install freetype-devel

8) Configure: error: Unable to locate gmp.h

해결책 : # yum install gmp-devel

9) Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!


해결책 : # yum install mysql-devel

10) Configure: error: Please reinstall the ncurses distribution

해결책 : # yum install ncurses-devel

11) Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!

해결책 : # yum install unixODBC-devel

12) Configure: error: Cannot find pspell

해결책 : # yum install pspell-devel

13) Configure: error: snmp.h not found. Check your SNMP installation.

해결책 : # yum install net-snmp-devel

  1. [자료] 웹사이트 성능개선 위한 커널 튜닝 사례

    Date2009.05.10 ByADMINPLAY Views13767
    Read More
  2. [정보] [Apache+PHP] Segmentation Fault가 발생할 경우

    Date2012.07.27 ByADMINPLAY Views47835
    Read More
  3. 리눅스 APM 소스설치시 에러에 대한 대처

    Date2009.01.30 ByADMINPLAY Views15132
    Read More
  4. 리눅스 개인계정 로딩시 틸드(~)기호없이 그냥 사용

    Date2010.09.22 ByADMINPLAY Views20684
    Read More
  5. 매일 자정에 트래픽 초기화 하기

    Date2009.07.18 ByADMINPLAY Views15668
    Read More
  6. 브라우저 접속 제한하기

    Date2009.09.30 ByADMINPLAY Views14691
    Read More
  7. 사용자 인증

    Date2009.11.26 ByADMINPLAY Views14017
    Read More
  8. 사이트가 느려지는 현상 점검

    Date2008.10.08 ByADMINPLAY Views15933
    Read More
  9. 서비스 동시접속 인원알기

    Date2008.10.07 ByADMINPLAY Views16892
    Read More
  10. 서비스 제한측면의 아파치 활용 예제

    Date2012.06.26 ByADMINPLAY Views30322
    Read More
  11. 아파치 2.X 버전에서 mod_cband를 이용한 트래픽관리

    Date2009.01.17 ByADMINPLAY Views19027
    Read More
  12. 아파치 GeoIP를 이용한 국가별 제한

    Date2010.01.30 ByADMINPLAY Views18787
    Read More
  13. 아파치 데몬이 안 뜰경우

    Date2009.11.26 ByADMINPLAY Views14874
    Read More
  14. 아파치 모듈 내용

    Date2008.12.10 ByADMINPLAY Views15905
    Read More
  15. 아파치 웹서버 사용 시 무단 링크 방지법

    Date2009.04.03 ByADMINPLAY Views15592
    Read More
  16. 아파치 컴파일 에러(apr-util) configure: error: cannet ...

    Date2009.08.08 ByADMINPLAY Views19574
    Read More
  17. 아파치 특정폴더에 암호걸기

    Date2008.10.08 ByADMINPLAY Views16032
    Read More
  18. 아파치(apache) 무단 링크 방지

    Date2011.06.18 ByADMINPLAY Views18977
    Read More
  19. 아파치에서 멀티도메인 설정 방법

    Date2012.10.09 Byl2zeo Views20976
    Read More
  20. 아파치에서 한글 파일 읽기 [mod_url 설치]

    Date2009.03.17 ByADMINPLAY Views17297
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234