2006ǯ01

ƥ:

Namazu 2.0.15 ƤΤȯ󥹥ȡ뤷Ƥߤ롣

$ tar xvfz /tmp/namazu-2.0.15.tar.gz
$ cd namazu-2.0.15/

NamazumakeFile-MMagic򥤥󥹥ȡ롣ΥNamazu˴ޤޤƤޤ

$ cd File-MMagic
$ perl Makefile.PL
$ make
# make install

θ塢ºݤNamazumakeǤ

$ ./configure
$ make
# make install

褿cgi򥳥ԡޤ

# cp /usr/local/src/namazu-2.0.15/src/.libs/namazu.cgi  /var/www/cgi-bin/

ݤʤȤˤʤäɤ褦ȻפޤʤΤޤѤǤޤ

ƥ:

뤬Ѥ
󡦥Хåƥ (), ë ()

ǯGoogle̵Ϲͤʤ褦ˤʤäƤ뤬GoogleˤĤƿΤꤿΤǤѻͤˤʤܡ

ȤϤƤФ餯ϤޤΤʤäǡɤäƲԤǤΤäϤꤽλ٤äƤʤä餷θ塢AdWordsʤɤǤϤ夬ӤƸߤˤΤϤ¸ΤΤȤꡣ

ʤߤ˱Ѹ졢ɥĸ³ܸ3ܤ٤⤤餷Ǥ

ԤSearchblog

ƥ:

ѸθääпʹWebɤΤڤˤʤȻפäƤޤ餷Ȥȯ

ñ(󥴥ꥭ)

Ͽн餫ޤǤñƥȤޤ110Ȥڡ

Ϥ֥饦Υۡڡꤷޤ衣٤äơǯϸäŪ䤷ޤ

ƥ:

峤˹ԤޤʲôΥɤ(40Ф餤)ȤβäǤ

SAYURIǾǶػߤ餷͡
(ʲ)֤ʤΡӥǥǸ
֤ä⤦ФƤΡ
֤(ˡ)ɤ͡
ֿ᤭ؤʤΡ
ֲФޤ
󡦥ĥ(SAYURI)褫ä͡
󡦥꡼(ϰʤФ)͡󡦥ĥϼ㤤
ֳΤ˥󡦥꡼Ϥ͡(㤯ƲİλҤˤϼʤ餷)
֤ܿͥ褫ä( ΤȤ餷)

ȤȤDZDzۤǾǤʤƤ⡢ȴѤƤ褦Ǥ

ʤߤGoogleǤǤ˱ƸܤԤ餷

GoogleǡָǸӥ󶡤

ƥ:

󥹥ȡ뤵ƤRPMեǧȤˡѥå̾狼äƤȤϤʴdzǧޤ

$ rpm -q httpd
httpd-2.0.52-22.ent.centos4

ƥѥåۣ̾ʤȤ-qaץǰϤơgrepǸꤷޤ

$ grep httpd /var/log/rpmpkgs
httpd-2.0.52-22.ent.centos4.i386.rpm
httpd-suexec-2.0.52-22.ent.centos4.i386.rpm

󤳤ǤΤǤ®ƱȤǽǤ/var/log/rpmpkgsȤˡ¤RHEFedoracronˤΥץȤ¹ԤƤޤˤRPMեΰƤΤǤ

$ cat /etc/cron.daily/rpm
#!/bin/sh

rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \
        | sort > /var/log/rpmpkgs

äư椫鸡ΤǤФˡŪǤ

$ grep httpd /var/log/rpmpkgs
httpd-2.0.52-22.ent.centos4.i386.rpm
httpd-suexec-2.0.52-22.ent.centos4.i386.rpm

ƥ:

롼ӥϿ
Сȡ롼ӥ (), ֎磻С (), Ų ,

ȥȤʤäƤϲǤκä򤤤ǤǸϷк˴ؤääפꡣɤΤˤ䤿֤äܤϵפ֤Ǥ2005ǯˤʤˤʤäܤǤ͡

ƥ:

ϤeBayƤߤޤʤߤˤΤThinkPadαѸ쥭ܡ(ܸ󤬷ʤΤ)

2ޤ$26ǻ䤬ǹǡ¾ʤΤ㤨ʤȻפäƤ1˵ޤ$51$52Ⱦ夬äƤ롣ʤܤˤʤʤƤɤͤƤԼġ

ФФΤǤηޤƺƤƱΤʤƤ롣ʤߤ˺ʤ$32顣ޤˤϴؤʤ褦ˤޤ

ʹ֤ιͤ뤳ȤϤɤ˹ԤäƤ⤢ޤѤʤȤǤ͡

ƥ:

LinuxʤɤǥեɤɬפȤwgetޥɤȤǤȤϤʴ

$ wget http://download.ac.jp/pub/apache/httpd/httpd-2.0.55.tar.gz

wget³եؤΥѥꤷޤΥѥϥ֥饦Υ󥯤򱦥å"硼ȥåȤΥԡ"ǥԡǤޤ

ʣΥեɤϥڡƤΤޤ޻ꤹ뤳Ȥġޤե˽񤤤Ѥ뤳ȤǤޤʴ

$ vi download.list
http://download.ac.jp/pub/apache/httpd/httpd-2.0.55.tar.gz
http://download.ac.jp/dist/httpd/httpd-2.0.55.tar.gz.md5

$ wget -i download.list

ƥ:

ꥫιɾ(United States Department of Defense)IPv62008ǯޤǤ̺()ȤΤΤƤޤܤ2008ǯޤǤڤؤ븡ƤϤ᤿ȤΤȡ¸ȤʤȤäIPv6פˤʤޤ͡ġ

ܵؤΥ󥿡ͥåȡɣУ̰ܹԸƤ

ƥ:

̾⡼Ȥ³ˤϥѥǧڤѤƤޤ¤Ϥޤ˾ޤˡȤϸޤ󡣤ʤʤѥɤʬäƤޤСïǤǤƤޤġ

ȤȤǸȤäˤȤǤˡϤޤڥȤʤ̩ޤ˸򥵡ФϿˤפ̩ǤΤߥǤ褦ˤʤޤ

ޤϸκǤܺ٤PuTTYgenꤹѥե졼ϥѥɤȰ㤤ڡѤǤΤݥȤǤ

ǤϿޤޤѤΥǥ쥯ȥޤʹѤ桼Ԥޤ

$ mkdir ~/.ssh

ˤΥǥ쥯ȥ˺äŽդޤΥեΥѡߥå644600ǤʤȤޤưޤ

$ vi ~/.ssh/authorized_keys

ǤϸȤäƥ󤷤Ƥߤޤ礦ܺ٤Ȥä

ȥ̤Ѥޤ

ޤ
Using username "nakamura".
nakamura@192.168.0.18's password:

Ȥä
Using username "nakamura".
Authenticating with public key "rsa-key-20060109"
Passphrase for key "rsa-key-20060109":

ꤷѥե졼ǥǤOKǤϤΤ褦ˤʤޤ

# tail /var/log/messages
Jan  9 07:53:25 manet sshd[15709]: Accepted password for nakamura from ::ffff:192.168.0.212 port 1061 ssh2
̾Υ
Jan  9 08:00:56 manet sshd[15813]: Accepted publickey for nakamura from ::ffff:192.168.0.212 port 1073 ssh2Ȥä

ʤư褦ˤʤä̾ΥѥɥǤʤ褦ˤޤ礦Ԥ̩ʤȤޤäǤʤʤΤǴƤԤäۤ⤷ޤ

# vi /etc/ssh/sshd_config
PasswordAuthentication no
yesnoˤ

ѹsshdƵưޤ

# service sshd reload

ΥڡΥȥåץ

Ф