Author Archives: apollo89

About apollo89

아폴로89 입니다.

php 5.1 > php 5.2 으로 업그레이드 하기

  php 5.1 > php5.2 으로 업그레이드 하기 yum설치를 기본으로 한다. ]# yum update php yum으로 php를 업데이트 해보면.. 최신버전은 5.1.6 이 설치된다. php 5.2 으로 업데이트를 하려면 yum 저장소를 추가해야한다. ]# vi /etc/yum.repos.d/CentOS-Testing.repo # CentOS-Testing: # !!!! CAUTION !!!! … Continue reading

Posted in PHP/ASP, WEB/WAS | Tagged , , , , , , | Leave a comment

php 버전에서 none thread safe와 thread safe 두종류의 차이

  php 버전에서 Non thread safe와 thread safe 두종류의 차이 VC6 : Apache 용 VC9 : IIS 용 [Thread Safe 와 Non Thread Safe] 우선 윈도우용 PHP는 항상 Thread Safe 버전으로 나왔었습니다. 이유는 윈도우가 멀티쓰레드 방식인데 PHP 는 멀티프로세스 방식으로 … Continue reading

Posted in PHP/ASP, WEB/WAS | Tagged , , , | Leave a comment

Apache MPM 방식 Prefork / Worker

  Apache MPM 방식 Prefork / Worker Prefork는 일반적으로 Single CPU 또는 Dual CPU에서 성능이 좋고 Worker는 일반적으로 멀티 CPU 시스템에서 성능이 좋다. Prefork <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> Worker StartServers 2 … Continue reading

Posted in System, WEB/WAS | Tagged , , , | Leave a comment

PuTTY Connection Manager 에러..

  PuTTY Connection Manager 를 사용하다보면 아래와 같이 에러가 발생하는 경우가 있었다.. RUNTIME ERROR : Unknown exception occured Error : Object reference not set to an instance of an object. StackTrace : at x650e12b2512cbeed.x7fbe3d3b15648174.x765e6a19136b68b9() 도데체가 뭔문제인가 좀 고생을 해서 알아낸건.. … Continue reading

Posted in Util/Tools | Tagged , | Leave a comment

타임즈가 소개한 구글의 면접 질문들.

  1. 남아프리카에 잠복한 문제는 무엇인가 2. 왜 맨홀 뚜껑은 둥글까 3. 1조까지 세는데 시간이 얼마나 걸리겠는가. 가장 좋은 측정 방법을 제시하라 4. 3시 15분일 경우 시침과 분침의 각도는 몇인가 (참고로 ‘0’은 아니다) 5. 2차원 평면에서 다른 선상에 놓은 3개의 … Continue reading

Posted in Etc | Tagged , | Leave a comment

끊어진 NFS 파일핸들 이라는 파일 삭제하는 방법

  끊어진 NFS 파일핸들 이라는 파일 삭제하는 방법 서버에 계속 끊어진 NFS 파일핸들 이라고 삭제되지 않는 파일이 있었다.. 늘 못지우고 찜찜하게 남겨두었는데… 지우는 방법을 알았다.. 의외로 너무 간단한..ㅡㅡ;; #] service netfs restart 하고 지우면 된다..  

Posted in Network, System | Tagged , | Leave a comment

— 로 시작되는 파일(디렉토리)삭제..

  개발하다가 이상한 잘못해서 –으로 시작하는 디렉토리가 만들어졌다.. 지우려고 해도 안지워진다..ㅠㅠ -rw-r–r– 1 root root 30687232 10??25 10:55 –exclude=logs ]$ rm -rf –exclu* ]$ rm -rf \-\-exclu* ]$ rm -rf *exclu* rm: 인식할 수 없는 옵션 `–exclude=*logs*’ 더 많은 정보를 … Continue reading

Posted in System | Tagged , | Leave a comment

Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

  mysql 접속시에 자꾸 아래와 같은 에러가 나서.. Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. context.xml의 설정을 아래와 같이 바꿔주니 해결된듯하다. <Resource auth=”Container” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://xxx.xxx.xxx.xxx:3306/dbname?characterEncoding=utf-8&amp;interactiveClient=true&amp;autoReconnect=true&amp;autoReconnectForPools=true&amp;useUnicode=true&amp;characterSetResults=UTF-8″ type=”javax.sql.DataSource” name=”jdbc/xxxxx” username=”userid” … Continue reading

Posted in Database, Java/JSP | Tagged , , , , | Leave a comment