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. h264 스트리밍 서버 구축(리눅스,아파치) (실시간 아님, ...

    Date2012.08.13 ByADMINPLAY Views17173
    Read More
  2. Apache Worker 방식의 이해 및 설정법

    Date2012.01.16 ByADMINPLAY Views16955
    Read More
  3. 서비스 동시접속 인원알기

    Date2008.10.07 ByADMINPLAY Views16892
    Read More
  4. 웹페이지에서 한글이 깨지는 현상 막기

    Date2009.01.03 ByADMINPLAY Views16528
    Read More
  5. 아파치웹서버 모니터링하기

    Date2009.03.17 ByADMINPLAY Views16476
    Read More
  6. 웹 사이트 속도측정

    Date2009.03.04 ByADMINPLAY Views16462
    Read More
  7. Apache의 Indexes된 페이지에서 한글표시

    Date2009.05.07 ByADMINPLAY Views16291
    Read More
  8. apache2 worker 방식 client 수치 설정법

    Date2009.11.26 ByADMINPLAY Views16069
    Read More
  9. 아파치 특정폴더에 암호걸기

    Date2008.10.08 ByADMINPLAY Views16032
    Read More
  10. 사이트가 느려지는 현상 점검

    Date2008.10.08 ByADMINPLAY Views15933
    Read More
  11. 아파치 모듈 내용

    Date2008.12.10 ByADMINPLAY Views15905
    Read More
  12. Apache 최적화

    Date2008.11.11 ByADMINPLAY Views15769
    Read More
  13. 매일 자정에 트래픽 초기화 하기

    Date2009.07.18 ByADMINPLAY Views15668
    Read More
  14. 아파치 웹서버 사용 시 무단 링크 방지법

    Date2009.04.03 ByADMINPLAY Views15592
    Read More
  15. 64bit 시스템에 ssl 설치 후 실행 시 X509_free 오류

    Date2008.10.07 ByADMINPLAY Views15507
    Read More
  16. RedirectMatch (도메인포워딩)

    Date2009.01.23 ByADMINPLAY Views15435
    Read More
  17. Apache 버전확인

    Date2008.12.23 ByADMINPLAY Views15428
    Read More
  18. 초간단 웹 페이지 로딩시간 체크법

    Date2009.03.17 ByADMINPLAY Views15350
    Read More
  19. 리눅스 APM 소스설치시 에러에 대한 대처

    Date2009.01.30 ByADMINPLAY Views15132
    Read More
  20. 아파치 데몬이 안 뜰경우

    Date2009.11.26 ByADMINPLAY Views14874
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234