¥È¥Ã¥× «Á°¤ÎÆüµ­(2004-10-08) ºÇ¿· ¼¡¤ÎÆüµ­(2004-10-11)» ÊÔ½¸

2004-10-09

¢£ [Dynabook][Gentoo] ¥¤¥ó¥¹¥È¡¼¥ë£´

­º. ½ÅÍץġ¼¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë(Install important system tools)

1. ¥·¥¹¥Æ¥à¥í¥¬¡¼¤ò¥¤¥ó¥¹¥È¡¼¥ë(Install system logger)

# emerge syslog-ng 
# rc-update add syslog-ng default

2. cron¥Ç¡¼¥â¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë(Install cron daemon)

# emerge vixie-cron
# rc-update add vixie-cron default

3. ¥Û¥Ã¥È¥×¥é¥°¤ò¥¤¥ó¥¹¥È¡¼¥ë(install hotplug)

# emerge hotplug
# rc-update add hotplug default

­». ¥«¡¼¥Í¥ë¤Ë´Ø¤¹¤ë¥É¥é¥¤¥ÐÅù¤Î¥¤¥ó¥¹¥È¡¼¥ë(Install Specialised Kernel Ebuilds)

1. pcmcia¥Ä¡¼¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë(Installing pcmcia-cs)

# USE="-X" emerge pcmcia-cs
# rc-update add pcmcia default

¢¨ ¥³¥ó¥Ñ¥¤¥ë¤Ç¥¨¥é¡¼È¯À¸¡£¡¡¥¨¥é¡¼¥í¥°¤ò¸«¤ë¤È¡¢

/usr/src/linux/include/asm does not exist!
   To fix, do 'ln -s asm-i386 asm' in /usr/src/linux/include.

¤È¤Ê¤Ã¤Æ¤¤¤¿¤Î¤Ç¡¢

# cd /usr/src/linux/include
# ln -s asm-i386 asm

¤ò¤·¤Æ¤«¤é¡¢ºÆ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤éOK¤Ç¤·¤¿¡£


¢£ [Dynabook][Gentoo] ¥¤¥ó¥¹¥È¡¼¥ë£µ

­¼. ºÇ½ªÀßÄê(Finalise the Configuration Settings)

1. root¥Ñ¥¹¥ï¡¼¥É¤ÎÀßÄê(Setting the root password)

# passwd

2. ¥æ¡¼¥¶¤ÎÀßÄê(Adding a user for day-to-day use)

# useradd your_user -m -G users,wheel,audio,tty -s /bin/bash
# passwd your_user

3. ¥Û¥¹¥È̾¡¢¥É¥á¥¤¥ó¤ÎÀßÄê(Set the system hostname/domainname)

# echo mymachine > /etc/hostname
# echo mydomain.com > /etc/dnsdomainname
# rc-update add domainname default

4. hosts¤ÎÀßÄê(Set the hostsfile; mymachine.mydomain.com)

¥µ¡¼¥Ð¤Ë»È¤¦¤Î¤Ç¡¢¸ÇÄꥢ¥É¥ì¥¹¤Çµ­Æþ

# nano -w /etc/hosts
127.0.0.1	localhost
192.168.0.2	mymachine mymachine.mydomain.com

5. ¥·¥¹¥Æ¥à¾ðÊó¤ÎÀßÄê(System Information)

¥­¡¼¥Ü¡¼¥É»ØÄê¡£Ctrl¤ÈCaps Lock¤òÆþ¤ìÂؤ¨¡£¥·¥¹¥Æ¥à¥¯¥í¥Ã¥¯¤òÆüËÜ»þ´Ö¤Ë¡£

# nano -w /etc/rc.conf
KEYMAP="jp106"
SET_WINDOWKEYS="yes"
EXTENDED_KEYMAPS="ctrl"
CLOCK="local"

6. ¥»¥­¥å¥ê¥Æ¥£¤ÎÀßÄê(Adding tts/0 to /etc/securetty)

# echo "tts/0" >> /etc/securetty

­½. ¥Í¥Ã¥È¥ï¡¼¥¯ÀßÄê(Set up Networking)

1. IP¥¢¥É¥ì¥¹¤ÎÀßÄê(Setup networking; iface_eth0="dhcp")

¸ÇÄêIP¤ÇÍøÍѤ¹¤ë¤Î¤Ç¡¢IP¤ÈG/W¥¢¥É¥ì¥¹¤òÀßÄꤹ¤ë¡£

# nano -w /etc/conf.d/net
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"

2. µ¯Æ°»þ¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤òÍ­¸ú¤Ë(start networking automatically at boot)

# rc-update add net.eth0 default

­¾. ¥Ö¡¼¥È¥í¡¼¥À¤ÎÀßÄê(Install and configure GRUB)

1. GRUB¤ò¥¤¥ó¥¹¥È¡¼¥ë(Installing GRUB)

# emerge grub

2. grub.conf¤òÀßÄê(Creating /boot/grub/grub.conf)

# nano -w /boot/grub/grub.conf
default 0
#timeout 15
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,1)
kernel /kernel-2.6.8-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 apm=on vga=791
initrd /initrd-2.6.8-gentoo-r3

title=Windows XP
root (hd0,0)
#makeactive
chainloader +1

3. mtab¤ò¹¹¿·(Updating /etc/mtab)

# cp /proc/mounts /etc/mtab

4. ¥Ö¡¼¥È¥í¡¼¥À¤ò¥¤¥ó¥¹¥È¡¼¥ë(Running grub-install)

# grub
grub> root (hd0,1)
grub> setup (hd0,1)
grub> quit

­¾­µ. ½ªÎ»½èÍý(Finishing off)

1. ¥¤¥ó¥¹¥È¡¼¥ë´Ä¶­¤«¤éÈ´¤±¤ë(Exiting the chroot)

# exit; cd /

2. ¥Þ¥¦¥ó¥È²ò½ü(Unmounting partitions)

# umount /mnt/gentoo/boot
# umount /mnt/gentoo/home
# umount /mnt/gentoo/proc
# umount /mnt/gentoo

3. ¥ê¥Ö¡¼¥È(Reboot; Remove the universal CD from the tray)

# reboot
ËÜÆü¤Î¥ê¥ó¥¯¸µ

Categories | ACCA | DoCoMo | Dynabook | Equium | Fedora | Gentoo | Libretto | Mozilla | OCN | SH506iC | SH901iC | SpamAssassin | WiKi | Zope | tDiary | ¥¦¥¤¥ë¥¹ | ¥ê¥Ê¥¶¥¦ | ½©ÍÕ¸¶