본문 바로가기

반응형

전체 글

(197)
Docker http://pyrasis.com/book/DockerForTheReallyImpatient/Chapter01/01
JSON Example(with php,mysql) 보호되어 있는 글입니다.
Alteon Layer 4 Switch Simple Manual Alteon Layer 4 Switch Simple ManualServer Load Balancing Firewall Load balancing [Configuration 메뉴]1. interface 설정하기>>main # cfg [configuration 메뉴로 들어가는 명령어]>>configuration # ip [ip관련 설정을 위한 메뉴로 들어가는 명령어]>>ip # if 1 [interface 설정 -256개의 interface를 설정할수 있음]>> IP Interface 1# addr 192.168.1.2 [스위치의 interface 주소]>> IP Interface 1# mask 255.255.255.0 [주소에 대한 mask ]>> IP Interface 1# broad 192.168.1...
ddos 주노 보호되어 있는 글입니다.
hping 보호되어 있는 글입니다.
e1000: eth0: e1000_clean_tx_irq : Detected Tx Unit Hang On one amd64 machine running CentOS 5.5 x86_64 the e1000 network interfaces go down and up with the following messages:e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang Tx Queue            TDH                 TDT                 next_to_use         next_to_clean       buffer_info[next_to_clean] time_stamp          next_..
yum repo 지정 •base와 동일하므로 특별히 바꿀 필요는 없으나, 한국에서 사용시 전송속도가 빠르다. 기존 저장소 압축 보존 명령어 bzip2 /etc/yum.repos.d/CentOS-*.repo yum repolist 실행예시 [root@zetawiki ~]# ll /etc/yum.repos.d/ total 16 -rw-r--r--. 1 root root 1926 Jun 26 2012 CentOS-Base.repo -rw-r--r--. 1 root root 637 Jun 26 2012 CentOS-Debuginfo.repo -rw-r--r--. 1 root root 626 Jun 26 2012 CentOS-Media.repo -rw-r--r--. 1 root root 2593 Jun 26 2012 CentOS-Va..
node.js 설치 node.js 설치 (우분투)이번 포스팅에서는 지난번에 생성한 EC2 인스턴스에 요즘 많이들 사용하고 있는 node.js를 설치해 보도록 하겠습니다. 이번에는 조금 번외적인 부분이기 때문에 node.js를 사용하고자 하는 경우가 아니라면 넘어가도 좋습니다. APM(Apache+PHP+MySQL) 설치는 인터넷 검색하면 자료가 많이 나오니 생략하고요, 저는 EC2 인스턴스 서버를 node.js와 nginx 구성으로 해보고자 합니다. node.js를 설치하는 방법은 몇가지가 있습니다. 우분투의 apt-get을 이용하는 방법, node.js 사이트에서 바이너리를 다운로드 받는 방법. node.js나 github를 통해 node.js의 소스코드를 다운로드 받아 직접 빌드하는 방법이 있죠. 여기서는 github를..
iptables-xml iptables-xmliptables 설정 파일에서 XML을 생성 (xml로 출력해도 그대로는 iptables에 restore 할 수 없기 때문에, 용도 불명 ...)준비현재 iptables 설정을 파일로 출력 $ iptables-save> iptables-config.xml 사용표준 출력으로 출력된다. 필요한 경우 리디렉션 '>'파일에 저장$ iptables-xml iptables-config.xml 그 후필요하면 각종 도구에서 json으로 변환 $ xml2json output.json 참고 문헌http://linuxjm.sourceforge.jp/html/iptables/man1/iptables-xml.1.html
MongoDB ReplicaSet mongod --replSet tt --config=/etc/mongodb.conf db.runCommand({"replSetInitiate" : {"_id" : "first", "members" : [{"_id" : 1, "host" : "localhost:10001"}, {"_id" : 2, "host" : "localhost:10002"} ]}})first:PRIMARY> rs.add('localhost:10003', true) ## 설정 확인first:PRIMARY> rs.status(){ "set" : "first", "date" : ISODate("2014-06-23T08:10:24Z"), "myState" : 1, "members" : [ { "_id" : 1, "name" : "localh..

반응형