본문 바로가기

서버구축 (WEB,DB)324

Disable the use of LOCAL INFILE The next change is to disable the use of the "LOAD DATA LOCAL INFILE" command, which will help to prevent unauthorized reading from local files. This is especially important when new SQL Injection vulnerabilities in PHP applications are found. In addition, in certain cases, the "LOCAL INFILE" command can be used to gain access to other files on the operating system, for instance "/etc/passwd", u.. 2010. 8. 17.
Sun ONE Directory Server 설치 시작하기 전에, Sun ONE Directory Server 제품 문서에 설명된 대로 기본 서버 설치 및 구성을 완료했는지 확인하십시오. 자세한 정보는 다음 웹 주소에 있는 Sun 문서를 참조하십시오. http://docs.sun.com/db/prod/s1dirsrv Tivoli Access Manager에 대해 Sun ONE Directory Server를 구성하려면 다음 단계를 따르십시오. 주: 비ASCII 문자를 속성에 저장하기 위해서는 Directory Server 구성 중 7비트 점검 플러그인을 사용 불가능하게 해야 합니다. 이 플러그인의 기본값은 on으로 설정됩니다. Directory Server 디먼 slapd-serverID가 실행 중인지 점검하십시오(ps 명령 또는 운영 체제에 해당하는 .. 2010. 8. 6.
Conntrack 방지 방법 (ip_conntrack 제한값) 다음은 /var/log/messages 의 내용이다. Netfilter의 conntrack 하나당 228 byte가 필요하고 최대 32760개가 가능하다는 것이다. (약 10M) Oct 7 15:15:22 host kernel: ip_conntrack version 2.4 (4095 buckets, 32760 max) – 228 bytes per conntrack 만약 32760이 넘으면 어떻게 될까? 다음과 같이 패킷이 drop이 된다. Oct 7 15:16:42 host kernel: ip_conntrack: table full, dropping packet. 이런 문제는 웹 서버와 같이 동시에 수 많은 connection을 처리해야 하는 경우에 발생할 수 있고 ab와 같은 stress 발생기를 사용.. 2010. 6. 7.
Varnish VCL language 가이드 I’ve been working with Varnish 2.0 for the last two weeks, going from complete n00b to someone who knows enough to feel I can improve the terrible lack of documentation for Varnish and VCL. There’s not a lot out there and what’s there is hard to find and sometimes erroneous. I’m hoping this post will help others like me who are struggling with Varnish and VCL. Basics VCL is essentially a set of .. 2010. 6. 1.
[MySQL] OPTIMIZE, TRUNCATE, 테이블복구, DB공간제한 OPTIMIZE TABLE 문법 : 대량의 데이터를 삭제했던가, 테이블의 잦은 변화가 있을 경우 사용하면 유용 사용법) mysql>optimize table 테이블명; TRUNCATE 문법 : 레코드 삭제 사용법) mysql>truncate table 테이블명; * delete from 테이블 조건; => 데이터를 순자적으로 삭제 truncate table 테이블명; => 테이블 자체를 삭제후 테이블을 새로 생성 테이블 삭제 속도는 빠르나 삭제된 레코드를 복구할수없다. *테이블이 깨져서 나오는 경우 테이블을 체크해서 복구하여야한다. 체크 : mysql>check table 테이블명; 복구 : mysql>repair table 테이블명; ex) jung 사용자의 DB사용량을 계정용량 범위내에서 자유로이 사.. 2010. 5. 24.