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. 사이트가 느려지는 현상 점검

    Date2008.10.08 ByADMINPLAY Views15933
    Read More
  2. 사용자 인증

    Date2009.11.26 ByADMINPLAY Views14017
    Read More
  3. 브라우저 접속 제한하기

    Date2009.09.30 ByADMINPLAY Views14691
    Read More
  4. 매일 자정에 트래픽 초기화 하기

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

    Date2010.09.22 ByADMINPLAY Views20684
    Read More
  6. 리눅스 APM 소스설치시 에러에 대한 대처

    Date2009.01.30 ByADMINPLAY Views15132
    Read More
  7. [정보] [Apache+PHP] Segmentation Fault가 발생할 경우

    Date2012.07.27 ByADMINPLAY Views47831
    Read More
  8. [자료] 웹사이트 성능개선 위한 커널 튜닝 사례

    Date2009.05.10 ByADMINPLAY Views13767
    Read More
  9. [LINUX] Apache 2.2 + mod jk 1.2 + Tomcat 5.x 연동

    Date2009.05.07 ByADMINPLAY Views21037
    Read More
  10. [Apache] MPM(Prefork VS Worker)

    Date2012.01.16 ByADMINPLAY Views19639
    Read More
  11. [Apache] 2.4 버전에서 403 에러시 [authz_core:error AH0...

    Date2015.01.09 ByADMINPLAY Views7280
    Read More
  12. xcache 설치 (xcache-1.2.2.tar.gz)

    Date2009.03.17 ByADMINPLAY Views18362
    Read More
  13. WAS 란? WAS 뭐에요?

    Date2014.01.19 ByADMINPLAY Views10963
    Read More
  14. Unclean shutdown of previous Apache run?

    Date2009.08.05 ByADMINPLAY Views21795
    Read More
  15. tomcat 에서 OutOfMemory에러가 발생할때

    Date2013.09.09 ByADMINPLAY Views8767
    Read More
  16. Tomcat 4 과 Apache 2 연동

    Date2009.06.06 ByADMINPLAY Views14617
    Read More
  17. SSL 인증서 발급 후 SSL mode 시작시 두 개의 패스워드 입...

    Date2009.10.15 ByADMINPLAY Views14176
    Read More
  18. squid 로 웹서버 가속하기..---== 강추 ==---

    Date2009.11.26 ByADMINPLAY Views18254
    Read More
  19. SetEnvIf 지시어 설명 (mod_setenvif)

    Date2014.01.18 ByADMINPLAY Views7385
    Read More
  20. rewrite 모듈을 이욜한 서브도메인으로 홈페이지 운영하기

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

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234