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. expires설정으로 브라우저캐시

    Date2009.04.18 ByADMINPLAY Views14662
    Read More
  2. 아파치 웹서버 사용 시 무단 링크 방지법

    Date2009.04.03 ByADMINPLAY Views15592
    Read More
  3. xcache 설치 (xcache-1.2.2.tar.gz)

    Date2009.03.17 ByADMINPLAY Views18362
    Read More
  4. 아파치웹서버 모니터링하기

    Date2009.03.17 ByADMINPLAY Views16476
    Read More
  5. 초간단 웹 페이지 로딩시간 체크법

    Date2009.03.17 ByADMINPLAY Views15350
    Read More
  6. 아파치에서 한글 파일 읽기 [mod_url 설치]

    Date2009.03.17 ByADMINPLAY Views17297
    Read More
  7. 웹 사이트 속도측정

    Date2009.03.04 ByADMINPLAY Views16462
    Read More
  8. Apache 1.3.12 httpd.conf 파일 한글설명

    Date2009.03.04 ByADMINPLAY Views13361
    Read More
  9. 리눅스 APM 소스설치시 에러에 대한 대처

    Date2009.01.30 ByADMINPLAY Views15132
    Read More
  10. RedirectMatch (도메인포워딩)

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

    Date2009.01.17 ByADMINPLAY Views19019
    Read More
  12. CGI 퍼미션 으로 웹페이지 열리지 않음

    Date2009.01.12 ByADMINPLAY Views14674
    Read More
  13. Address already in use: make_sock:could not bind to ad...

    Date2009.01.10 ByADMINPLAY Views23798
    Read More
  14. Apache 웹페이지 한글깨짐, AddDefaultsCharset 설정

    Date2009.01.03 ByADMINPLAY Views30520
    Read More
  15. 웹페이지에서 한글이 깨지는 현상 막기

    Date2009.01.03 ByADMINPLAY Views16528
    Read More
  16. AWSTATS 국가별 사용자 분석

    Date2008.12.25 ByADMINPLAY Views14463
    Read More
  17. AWSTATS 설치

    Date2008.12.25 ByADMINPLAY Views23669
    Read More
  18. Apache 버전확인

    Date2008.12.23 ByADMINPLAY Views15428
    Read More
  19. CGI 오류: Premature end of script headers (Internal Se...

    Date2008.12.14 ByADMINPLAY Views14127
    Read More
  20. apache log 정리

    Date2008.12.14 ByADMINPLAY Views13527
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234