/etc/apt/sources.listの内容を変更すればい。
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main
deb http://cdn.debian.or.jp/debian/ stable main contrib non-free deb-src http://cdn.debian.or.jp/debian/ stable main contrib non-free以上のように編集し、保存
apt-get install libc6-dev
して、/usr/include内におなじみのヘッダファイル揃っていればOK
apt-get install glibc
# update-rc.d -f ??? (remove)
auto lo eth0 (eth1) iface lo inet loopback iface eth0 inet static address ***.***.***.xxx (xxx = ノード番号+1) netmask ***.***.***.*** gateway ***.***.***.*** broadcast ***.***.***.255 (DHCPを使うなら、iface eth0 inet dhcp)
$ ifconfig eth0 up $ ifconfig eth0 down
nameserver ***.***.***.***
$ ifconfig eth0 ***.***.***.*** (IPアドレス) $ ifconfig eth netmask ***.***.***.*** (ネットマスク) $ ifconfig eth0 broadcast ***.***.***.255 (ブロードキャストアドレス) $ route add default gw ***.***.***.*** (デフォルトゲートウェイの設定)
$ ifconfig eth0 up $ ifconfig eth0 down
Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" ???1 Option "XkbLayout" ???2 EndSection
英語語 | 日本語 | ベルギー | |
???1 | pc105 | jp106 | pc105 |
???2 | us | jp | be |
$ cp /usr/share/keymaps/i386/gwerty/???.kmap.gz /etc/consoloe/boottime.kmap.gz $ loadkeys /etc/console/boottime.kmap.gz
日本語にするなら??? = jp106 英語語キーボードなら ??? = us
my.host.name
127.0.0.1 localhost localhost.domain my.host.name
# /etc/initr.d/hostname.sh
$ cat /proc/cpuinfo
$ cat /proc/cpufreq
$ su # echo "Min:Max:{powersave,performance}" > /prof/cpufreq # 例)echo "1000000:3000000:powersave" > /proc/cpufreq
# for i in [1] [2] [3] [4] [5] [6] [7] [8] [9] [10];do sleep 10; echo i; hdparm -t /dev/sda;
done
# bonnie++ -u root -d /tmp
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is dd:c1:3f:92:2d:37:9e:0b:14:24:5e:18:0e:d5:dd:48. Please contact your system administrator. Add correct host key in /home/kento/.ssh/known_hosts to get rid of this message.Offending key in /home/kento/.ssh/known_hosts: 7 RSA host key for 192.168.10.23 has changed and you have requested strict checking.
rm /.ssh/known_host
として履歴を消す
sudo /etc/init.d/networking restart
$ tar xvfz valgrind-3.3.0.tar.bz2 gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors
$ tar xvf valgrind-3.3.0.tar
$ file <archive file name>