서론memcached는 고속의 분산형 Memory Cache이며, 주로 DB에의 참조 결과를 Cache, 웹시스템에 있어서의 성능향상을 위해 많이 사용된다. 웹시스템에 있어서의 부하대책서버의 구성을 살펴본다.Scale Out (서버의 수를 늘린다)Scale Up (CPU/Memory 등의 하드웨어를 향상시킨다)OS/Middleware의 설정을 살펴본다.네트워크구성을 살펴본다.어플리케이션 로직을 살펴본다.위의 대책 중에 DB서버에의 대책에는 데이터의 배치, 데이터 액세스방법을 어떻게 구현했는지가 문제가 된다.DB서버에의 부하를분산 (DB파티션팅 등의 기술을 사용해 Scale Out)DB서버에 있어서의 쓸때없는 처리를 줄인다. (DB Query를 다시 살펴본다)바로 memcache가 위의 문제가 될 수 있는 곳의 해결책이 될 수 있을 것 같다. memcached에 의한 성능향상파일 입출력 (File I/O)가 줄어듬파일의 내용을 캐쉬해 둠으로써 파일 입출력에 의한 부하가 줄어든다.세션정보의 공유유져의 세션정보를 캐쉬해 둠으로써, 복수의 아팟치서버사이의 세션정보를 공유한다.memcached의 캐쉬 방식분산형memcache서버 자체에는 분산장치을 가지고 있지않다.
XCache http://xcache.lighttpd.net/
root@root:/opt/install/jdom-1.1# ./build.sh JDOM Build System ------------------- Building with classpath /usr/local/java/lib/tools.jar:/usr/local/java/lib/dev.jar:./lib/ant.jar:./lib/xml-apis.jar:./lib/xerces.jar: Starting Ant... Buildfile: build.xml init: [echo] ----------- JDOM 1.1 ------------ prepare: prepare-src: [mkdir] Created dir: /opt/install/jdom-1.1/build/src [mkdir] Created dir: /opt/install/jdom-1.1/build/classes [copy] Copying 69 files to /opt/install/jdom-1.1/build/src compile: [javac] Compiling 62 source files to /opt/install/jdom-1.1/build/classes about: [javac] C
SSL/TLS Strong Encryption: FAQAvailable Languages: en The wise man doesn't give the right answers, he poses the right questions. -- Claude Levi-Strauss This chapter is a collection of frequently asked questions (FAQ) and corresponding answers following the popular USENET tradition. Most of these questions occurred on the Newsgroup comp.infosystems.www.servers.unix or the mod_ssl Support Mailing List modssl-users@modssl.org. They are collected at this place to avoid answering the same questions over and over. Please read this chapter at least once when installing mod_ssl or at least search for
selinux 끄는 3가지 방법 1. 수동으로 끄기 (일시적으로만 먹힘) system-config-securitylevel setenforce 0 2. 커널 명령행에 다음 옵션 추가. (grub.conf 등에) selinux=0 3. /etc/selinux/config 파일 수정 SELINUX=enforcing ==> SELINUX=disabled 수정
출처 : http://www.osqna.com Cacti Install ~ Configure Cacti 의 작동원리 DATA 추출 -> DATA 저장 -> DATA 발표 Cacti 설치 요구사항 RRDTool 1.0.49 or 1.2.x or 그 이상 MySQL 4.1.x or 5.x or 그 이상 PHP 4.3.6 or 그 이상, 5.x 이상이 부가적 기능 이용할수 있고 추천한다고 한다. Apache 부가적으로 snmp host, agent (모니터링 대상 host는 반드시 snmp허용이 되어야한다.) rrdtool은 수동 설치방법에 대해서는 생략한다. snmp도 다 설치했다고 보고 생략한다. 수동설치가 귀찮은 사람은 이렇게 하면 된다. 여기 가면 왠만한 소스들은 모두 rpm 제공한다. 자주 애용하는 곳이다. http://dag.wieers.com/rpm/ url http://dag.wieers.com/rpm/packages/rrdtool/ 에 보면 최신 버전이 존재하므로 rpm 받아서 설치한다. wget http://dag.wieers.com/rpm/packages/rrdtool/perl-rrdtool-1.2.23-1.el5.rf.i386.rp
출처 : http://www.otl.ne.kr/tag/iptraf (1)IPTraf 이란 실시간 패킷 분석 프로그램으로 네트워크 인터페이스 별 모니터링과 각 프로토콜 별 송수신 패킷 전송량 측정, 송수신 IP 실시간 감시 등을 TEXT 그래픽 인터페이스로 제공하는 프로그램입니다. (2)다운로드 및 설치방법 -IPTraf 홈페이지 http://iptraf.seul.org/ ①홈페이지에 접속하셔서 직접 소스를 다운받아 서버에 옮기시거나 서버상에서 다음의 명령어를 입력하셔서 국내 사이트를 통해 다운로드 받습니다. [root@nextline ~]#wget http://www.superuser.co.kr/home/files/iptraf-3.0.0.tar.gz ②다운받은 파일을 tar 명령어를 이용하여 해제합니다. [root@nextline ~]#tar zxvf iptraf-3.0.0.tar.gz ③파일을 해제하고 생성된 디렉토리로 이동하여 ./Setup 명령어로 설치하여 줍니다. [root@nextline ~]#cd iptraf-3.0.0 [root@nextline iptraf-3.0.0]#./Setup (3) 실행 및 사용방법 설치가 완료 되었으면 프롬프트창
리눅스 채널본딩 방법을 배포판별로 정리 Redhat 계열 debian 계열 gentoo 계열 Redhat 계열 관련문서 http://wiki.kldp.org/Translations/html/Cluster_QuickStart-KLDP/Cluster_QuickStart-KLDP-13.html http://www.linuxchannel.net/docs/ethernet-channel-bonding.txt /usr/share/doc/iputils-xxx/README.ifenslave(iputils-xxx 패키지)
여러개의 이더넷을 하나로 묶어 네트워크 대역폭을 늘리는 방법 [##_1L|1213912502.xxx|style="width: 90px; height: 30px; border: 2px outset #796; background-color: #efd; background-repeat: no-repeat; background-position: center center; background-image: url('/image/extension/unknown.gif')"|_##]
출처 : http://www.linuxchannel.net/docs/ethernet-channel-bonding.txt [제목] Ethernet Channel Bonding by ifenslave-여러개의 이더넷을 하나로 묶어 네트워크 대역폭을 늘리는 방법- 작성자 : 김칠봉 <san2(at)linuxchannel.net> 2001. 06. 30 : 최초작성 2001. 09. 27 : 보완(강성일<sikang@casaturn.kaist.ac.kr>님의 지적)- 관련 문서 /usr/src/linux-2.2.x/Documentation/network/bonding.txt(커널 문서) 또는 /usr/share/doc/iputils-xxx/README.ifenslave(iputils-xxx 패키지)*주)이 문서는 /usr/share/doc/iputils-xxx/README.ifenslave 문서를 기준으로작성되었습니다.* 잘못된 점이나 보완하고자 하는 내용이 있으면 언제든지 환영합니다. 이 문서에 대한 이후 보완된 점은 다음의 주소에서 찾을 수 있습니다. http://www.linuxchannel.net/docs/ethernet-channel-
배포판별 네트워크 본딩 http://mar.gar.in/ybgwon/linux%252Bbonding
debian network bonding http://www.debianhelp.co.uk/bonding.htm