2008-12-12

간지남 16 - 김수환




人生德目
. ()
말을 많이 하면 필요 없는 말이 나온다.
양 귀로 많이 들으며, 입은 세 번 생각하고 열라.
. (讀書)
수입의 1%를 책을 사는데 투자하라.
옷이 헤어지면 입을 수 없어 버리지만...
책은 시간이 지나도 위대한 진가를 품고 있다.
.노점상 (露店商)
노점상에서 물건을 살 때 깎지말라.
그냥 돈을 주면 나태함을 키우지만....
부르는대로 주고 사면 희망과 건강을 선물하는 것이다.
.웃음 ()
웃는 연습을 생활화 하라.
웃음은 만병의 예방약이며...치료약이며...
노인을 젊게하고...젊은이를 동자(童子)로 만든다.
.TV (바보상자)
텔레비전과 많은 시간 동거하지 말라.
술에 취하면 정신을 잃고...마약에 취하면 이성을 잃지만 
텔레비전에 취하면 모든게 마비 된 바보가 된다.
.성냄 ()
화내는 사람이 언제나 손해를 본다.
화내는 사람은 자기를 죽이고 남을 죽이며 
아무도 가깝게 오지 않아서 늘 외롭고 쓸쓸하다.
.기도 (祈禱)
기도는 녹슨 쇳덩이도 녹이며 
천 년 암흑 동굴의 어둠을 없애는 한줄기 빛이다. 
주먹을 불끈 쥐기보다 두 손을 모으고 기도하는 자가 더 강하다.
기도는 자성을 찾게하며 만생을 요익하게 하는 묘약이다.
.이웃 ()
이웃과 절대로 등지지 말라.
이웃은 나의 모습을 비추어 보는 큰거울이다.
이웃이 나를 마주할 때..
외면하거나 미소를 보내지 않으면...
목욕하고 바르게 앉아 자신을 곰곰히 되돌아 봐야 한다.
.사랑 (慈愛)
머리와 입으로 하는 사랑에는 향기가 없다..
진정한 사랑은 이해. 관용. 포용. 동화. 자기낮춤이 선행된다 
"사랑이 머리에서 가슴으로 내려온는데 칠 십년 걸렸다."
 (김수환 추기경 말씀)

2008-12-01

http://gmod.org/wiki/GBrowse

꽤 괜찮은 프로젝트다 지원 포멧도 다양하고
조만간 심심할때마다 성능 향상본을 제작할 예정 ㄱㄱㄱ

2008-11-05

TIME's Best Inventions of 2008

Invention of the Year

1. The Retail DNA Test

Article Tools

Before meeting with Anne Wojcicki, co-founder of a consumer gene-testing service called 23andMe, I know just three things about her: she's pregnant, she's married to Google's Sergey Brin, and she went to Yale. But after an hour chatting with her in the small office she shares with co-founder Linda Avey at 23andMe's headquarters in Mountain View, Calif., I know some things no Internet search could reveal: coffee makes her giddy, she has a fondness for sequined shoes and fresh-baked bread, and her unborn son has a 50% chance of inheriting a high risk for Parkinson's disease.

Learning and sharing your genetic secrets are at the heart of 23andMe's controversial new service — a $399 saliva test that estimates your predisposition for more than 90 traits and conditions ranging from baldness to blindness. Although 23andMe isn't the only company selling DNA tests to the public, it does the best job of making them accessible and affordable. The 600,000 genetic markers that 23andMe identifies and interprets for each customer are "the digital manifestation of you," says Wojcicki (pronounced Wo-jis-key), 35, who majored in biology and was previously a health-care investor. "It's all this information beyond what you can see in the mirror."

We are at the beginning of a personal-genomics revolution that will transform not only how we take care of ourselves but also what we mean by personal information. In the past, only élite researchers had access to their genetic fingerprints, but now personal genotyping is available to anyone who orders the service online and mails in a spit sample. Not everything about how this information will be used is clear yet — 23andMe has stirred up debate about issues ranging from how meaningful the results are to how to prevent genetic discrimination — but the curtain has been pulled back, and it can never be closed again. And so for pioneering retail genomics, 23andMe's DNA-testing service is Time's 2008 Invention of the Year.

The 1997 film Gattaca depicted it as a futuristic nightmare, but human-genotyping has emerged instead as both a real business and a status symbol. Movie mogul Harvey Weinstein says he is backing 23andMe not for its cinematic possibilities but because "I think it is a good investment. This is strictly medical and business-like." Google has chipped in almost half the $8.9 million in funding raised by the firm, which counts Warren Buffett, Rupert Murdoch and Ivanka Trump among its clients.

Weinstein isn't saying what his test told him, but Wojcicki and her famous husband are perfectly willing to discuss their own genetic flaws. Most worrisome is a rare mutation that gives Brin an estimated 20% to 80% chance of getting Parkinson's disease. There's a 50% chance that the couple's child, due later this year, will inherit that same gene. "I don't find this embarrassing in any way," says Brin, who blogged about it in September. "I felt it was a lot of work and impractical to keep it secret, and I think in 10 years it will be commonplace to learn about your genome."

And yet while Wojcicki and Brin aren't worried about genetic privacy, others are. In May, President George W. Bush signed a bill that makes it illegal for employers and insurers to discriminate on the basis of genetic information. California and New York tried to block the tests on the grounds that they were not properly licensed, but have so far been unsuccessful. Others worry about how sharing one's genetic data might affect close relatives who would prefer not to let a family history of schizophrenia or Lou Gehrig's disease become public. And what if a potential mate demands to see your genome before getting serious? Such hypotheticals are endless. And some researchers argue that the tests are flawed. "The uncertainty is too great," says Dr. Muin Khoury, director of the National Office of Public Health Genomics at the Centers for Disease Control and Prevention, who argues that it is wrong to charge people for access to such preliminary and incomplete data. Many diseases stem from several different genes and are triggered by environmental factors. Since less than a tenth of our 20,000 genes have been correlated with any condition, it's impossible to nail down exactly what component is genetic. "A little knowledge is a dangerous thing," says Dr. Alan Guttmacher of the National Institutes of Health.

23andMe is unfazed by its detractors. "It's somewhat paternalistic to say people shouldn't get these tests because 'we don't want people to misunderstand or get upset,'" says board member Esther Dyson. There can be a psychological upside too: some people decide to lead healthier lifestyles. Brin is currently funding Parkinson's research. And not all customers' results are as troubling as his. Nate Guy, 19, of Warrenton, Va., was relieved that though his uncle had died of prostate cancer, his own risk for the disease was about average. He even posted a video about it on YouTube. And unflattering findings can have a silver lining. "Now I have an excuse for not remembering things, because my memory is probably genetically flawed," Guy says.

Wojcicki and Avey see themselves not just as businesswomen but also as social entrepreneurs. With their customers' consent, they plan to amass everyone's genetic footprint in a giant database that can be mined for clues to which mutations make us susceptible to specific diseases and which drugs people are more likely to respond to. "You're donating your genetic information," says Wojcicki. "We could make great discoveries if we just had more information. We all carry this information, and if we bring it together and democratize it, we could really change health care."

2008-10-28

시마 코사쿠가 결국 사장에 올랐다
이제 시마씨의 나이도 60이구만...

사진은 주간아사히에서 기획한 가상 [스페셜 대담(--;;)]
시마코사쿠 vs 아소다로



사장시마코사쿠 취임 회견

2008-10-14

delete RSA Host key

/root/.ssh/known_hosts
위 파일의 해당 호스트를 제거 해 준다

2008-10-02

Linux , 2차 DNS 설치 가이드

*본 메뉴얼은 2차(slave) DNS의 설정법입니다*
*2차(slave) DNS 설정은 1차 DNS설정을 마무리 한 뒤 를 설정 해 주세요*

* 여기에서는 1차 dns의 ip를 1.2.3.4로, 2차의 ip를 1.2.3.5로 가정한다

네임서버는

1차네임서버의 내용을 주기적으로 접속.. 업뎃

1차네임서버의 비정상 운영 및 실패 때 네임서버 임무 수행

보통 1차네임서버와 다른 네트워크에 위치(효율적인 서버 운영)

2차네임서버를 설정하기 위해서는 1차네임서버의 부트파일(named.conf)파일 및 zone파일을 수정해야한다.


1차네임서버에서의 설정

0. allow-transfer옵션 추가

->

매스터의 /var/named/chroot/etc/named.conf 파일 수정

options {
directory "/var/named";
allow-transfer{ 1.2.3.5; }; // 옵션에서 2nd DNS ip를 설정한다
};


zone "xyz.kr" IN {
type master; //type을 master로 정의한다
file "xyz.kr.zone";
allow-update { none; };
allow-transfer{ 1.2.3.5; }; //각 zone 에도 2nd DNS ip를 설정한다
};

//zone "." 에 대해서는 예외적으로 allow-transfer를 추가하지 않는다.
zone "." IN {
type hint;
file "named.ca";
};

.
.
후략

2차 네임서버에서의 설정

2.1. 다음과 같이 2차 DNS를 위한 zone지정 부분을 만들수 있다
슬레이브의 /var/named/chroot/etc/named.conf 파일 수정

(팁을 추가하자면 master의 named.conf를 복사해와서 수정하면 master - slave간 설정 오류를 방지 할 수 있을 것이다.)

options {
directory "/var/named";
};


zone "xyz.kr" IN {
type slave; //type을 slave로 정의한다
file "xyz.kr.zone";
masters {1.2.3.4;};
};

//슬레이브 역시 zone "." 에 대해서는 예외적으로 옵션을 추가하지 않는다.

zone "." IN {
type hint;
file "named.ca";
};
.
.
후략

2.2 slave 내 named 디먼의 권한 설정
#cd /var/named/chroot/var
#chmod g+w named

3. 결과 확인
3.1 실행
슬레이브에서.....
# service named restart
(slave의 named 서비스를 재시작하면 slave는 master의 zone 파일을 받아온다.)
# cd /var/named/chroot/var/named
# vi xxx.zone (master와 동일한 일련번호를 갖는 zone 파일인지 확인한다.)

3.2 로그 보기
위에서 이상이 생긴다면
#
tail /var/log/messages 를 통하여 에러 로그를 확인하자

3.3 permission 에러 발생 시
위의 '2.2'를 제대로 수행하였는지 확인한다.

3.4 selinux 설정 변경 (selinux 때문에 에러가 날 경우)
# vi /etc/sysconfig/selinux
vi 창에서
SELINUX=enforcing 을
SELINUX=Permissive 로 변경
저장 후 시스템 재부팅하고
위의 3.1을 재확인한다.


Linux , 1차 DNS 설치 가이드

*본 메뉴얼은 1차(master) DNS의 설정법입니다*
*2차(slave) DNS 설정은 본 1차 DNS설정을 마무리 한 뒤 작업 해 주세요

1.DNS Server 구축을 위한 RPM Package
bind (Berkely Internet Name Daemon) 네임서버를 위한 서버 데몬
bind-libs-version.rpm
bind-version.rpm
bind-libbind-devel-version.rpm
bind-devel-version.rpm
bind-chroot-version.rpm
bind-utils-version.rpm
bind-sdb-version.rpm

DNS Server RPM Package확인 명령
rpm -qa | grep bind

DNS Server RPM Package설치 명령
rpm -Uvh bind-Package명.rpm

DNS Server RPM Package삭제 명령
rpm -e bind-package명

2. bind 디렉토리 허가권 변경
chmod 755 /var/named
chmod -R 775 /var/named/chroot/
chmod 777 /var/named/chroot/var/named/

3.설정 파일 찾아 복사
fedora6 bind 설치시 /etc/named.conf, named.zomed 파일 생성 되지 않음
/etc/named.conf 파일은 DNS server의 주 설정 파일이다.

named.conf 파일을 검색 한다.
find / -name named.conf
/usr/share/doc/bind-9.3.4/sample/etc/named.conf

경로 변경
cd /usr/share/doc/bind-9.3.4/sample/etc/

DNS Server를 설정하기 위한 설정파일의 복사 와 허가권을 변경한다.
설정파일을 파일 복사

cp {named.conf,named.rfc1912.zones} /var/named/chroot/etc/

복사한 경로로 이동한다.
cd /var/named/chroot/etc/

허가권 변경
chmod 640 {named.conf,named.rfc1912.zones}

named 데몬이 사용할수 있도록 소유자와 소유그룹 변경
chown named.named {named.conf,named.rfc1912.zones}

4. Zone 파일
fedora6 에서 DNS의 핵심 설정 파일인 zone 생성되지 않는다.

zone파일을 검색한다.
find / -name *zone
/usr/share/doc/bind-9.3.4/sample/var/named/localhost.zone
/usr/share/doc/bind-9.3.4/sample/var/named/localdomain.zone

해당 경로 이동
cd /usr/share/doc/bind-9.3.4/sample/var/named/

zone 파일 복사
기존의 dns 서버의 정보를 가져올 시 기존 서버의 '/var/named/chroot/var/named/'내 zone 파일들을 새 dns의 동일 디렉토리에 붙여넣는다

경로이동
cd /var/named/chroot/var/named

허가권 병견
for i in $(find . -type f -gid 0);
> do
> chmod 640 $i;
> done

named 데몬이 사용할수 있도록 소유자와 소유그룹 변경
for i in $(find . -type f -gid 0);
> do
> chown named.named $i;
> done

5.named.conf
(본 파트는 기존 dns 서버의 /var/named/chroot/etc/named.conf를 가져와 새 dns 의 동일 위치에 붙여 넣는다.
만약 파일이 준비되지 않을경우 예제는 아래와 같은 예제를 이용한다.)

named.conf 파일 설정

named.conf파일에서 사용할 ddns-key를 미리 만들 놓는다.
dns-keygen
hOFwqc93GwmOXJlSBEGcqc7mqKMqTftU6Vy1aPzVEDqJKHe8UuAmGdsbZF6t


경로 이동
cd /var/named/chroot/etc/

named.conf설정파일 vi로 열어서 수정한다.
vi named.conf

options {
directory "/var/named";
};


zone "xyz.kr" IN {
type master;
file "xyz.kr.zone";
allow-update { none; };
};

zone "." IN {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "3.3.1.in-addr.arpa" IN {//ip 대역이 1.2.3.x 라면 3.2.1 로 입력한다
type master;
file "3.2.1.in-addr.arp.broadcast";
allow-update { none; };
};


6 .네임서버 등록 및 서비스 시작
네임서버등록및 서비스 시작
네임 서버를 등록 해준다.
vi /etc/resolv.conf
nameserver x.x.x.x
(x.x.x.x는 해당 ip)

서비스 network 제시작 해준다.
service network restart

네임서버를 시작 해준다.
service named start

7. DNS 작동 확인
DNS Server 작동을 확인한다.
nslookup ns.example.com

nslookup http://www.example.com/

nslookup example.com

nslookup -type=mx example.com

nslookup x.x.x.x

8. DNS 주소의 설정 및 변경

/var/named/chroot/var/named 의 zone 파일들을 vi 등을 통하여 확인하면 다음과 같다.


*/var/named/chroot/var/named/xyz.kr의 예 (2008년 02월 11일 버젼)*

$TTL 43200
@ IN SOA ns.xyz.kr. root.xyz.kr. (
2019135607
30000
5000
1234567
43200 )
IN NS ns.xyz.kr.
ns IN A 1.2.3.4
$ORIGIN re.kr.
jup IN A 1.2.3.11
//
ip 1.2.3.11의 머신에 jup.xyz.kr 을 매핑시키려면 jup IN A 1.2.3.11 이런식으로 먹여준다
k0177 IN A 1.2.3.12
www IN A 1.2.3.21
IN MX 10 1.2.3.21
bbakku IN CNAME jup.xyz.kr.


3라인의 2008021102 는 시리얼 넘버 : 새롭게 dns 목록의 정보가 갱신될때마다 바꿔준다
NS 컬럼의 값을 CNAME으로 지정하면 이미 도메인이 지정 된 머신에 추가적으로 도메인을 부여 할 수 있다
(단, 도메인 네임을 쓸때는 마지막에 '.'을 붙여준다 ex>"xxx.xyz.kr.")

작업이 완료되면 위의 6,7 과정을 통해 dns를 재실행하고 설정결과를 확인해 본다



이동통신 3社 (skt, ktf, lgt)데이터 요금제 비교

아.......skt 도대체 왜 이모양이냐 .....

2008-10-01

간지남 15 - 박노자
조금 다른 시선의 글을 쓰는 사람

2008-09-29

Generate Crypt password

# htpasswd -bc sampleFile.txt UserAccount Password