GentooInstall Gentoo linux 1 Gentoo linux 11 12 121 122 123 13 131 Live CD 132 Network 133 Root ( ) 134 14 Mirror 141 chroot 142 Portage 143 144 Boot strap 145 System 146 147 fstab 148 Kernel 1481 Gentoo 1482 genkernel 1483 149 System 1410 CRON 1411 package 14111 rp-pppoe 14112 pcmcia-cs 14113 vim 14114 cvs 1412 1413 1414 Network 1415 autoload 1416 Bootloader 1417 1418 portage 14181 Gnome 14182 14183 14184 mplayer 14185 CD-RW cdrecord 14186 14187 FTP server 14188 15 Gentoo linux Stage3 16 FAQ 17 18 19 : Gentoo handbook 11 Gentoo Gentoo linux Linux Gentoo Linux IRC gentoo PC gentoo 2~3 1 12 121 Gentoo linux home page ( ) Gentoo linux user group ( ) Gentoo linux 20041 handbook ( ) Gentoo linux LiveCD 14 (x86) ISO download download USE ( ) portage ( ) Linux Repository, including kernel source download 14 ( ) FAQ
emerge ebuild 123 rc-update env-update net-setup portage ( emerge ) emerge LiveCD ISO image 82MByte mirror 10 ntsysv 1 Stage 1 / Stage 2 / Stage 3 /etc/envd /etc/profileenv CD 1 ISO CD LiveCD ( Network Windows CD ) adsl-setup, adsl-start, adsl-stop, adsl-connect ADSL genkernel w3m cdrecord qpkg chroot fdisk gentoo kernel ( ) X ( links CD ) 132 Network CD burning ( Gentoo linux Gentoo ) mirror Network adsl net-setup network adsl adsl-setup adsl 1 http://ftpgentooorkr/releases/x86/20041/livecd/install-x86-minimal- 20041iso : livecd x86 ( CD) 2 http://ftpgentooorkr/releases/x86/20041/stages/x86/stage1-x86-20041tarbz2 : Stage 1 3 http://ftpgentooorkr/releases/x86/20041/stages/x86/stage2-x86-10 Init System 20041tarbz2 : Stage 2 USE 4 http://ftpgentooorkr/releases/x86/20041/stages/x86/stage3-x86-20041tarbz2 : Stage 3 Envd HOWTO stage 3 stage 2 stage stage 1 Nano Basics Guide, stage 1 stage 3 stage 1 stage 2 stage 3 Gentoo Oracle Linux from scratch (LFS) stage 1 122 stage 3 makeconf stage 3 ( stage 1 ) 13 131 Live CD IP IP(dhcp) CD livecd
adsl ID, Password, DNS "/etc/resolvconf" nameserver /dev/hda1="/boot", /dev/hda2="/backup", /dev/hda3="/", /dev/hda4="swap" Gentoo 20041 NIC 20040 20041 NIC 20040 20040 20041 20041 20040 20041 ext3 mke2fs "-j" 133 Root ( ) ext2 "-j" "/mnt/gentoo" mount Gentoo 14 20040 sshd ( ) stage1 package "/mnt/gentoo" "ssh root@< >" ssh "~/ssh" swap 2 256 "known_hosts" MByte 256MByte 134 sshd Stage1 package proc mount 14 Mirror ( : ) Gentoo linux package mirror mirror mirror
mirror ( binutils, gcc, gettext, glibc Network ) script "emerge sync" mirror http://ftpgentooorkr script 4 stage 3 "emerge system" 141 chroot chroot "/" :! bootstrap "emerge system" system "/mnt/gentoo" "/" 142 Portage 144 Boot strap ( 30 1 ) 143 ( 12 ) Gentoo 146 "/etc/makeconf" vi GMT "nano" vi chroot vi "ALT + F2" console "/mnt/gentoo/etc/makeconf" 147 fstab mount fstab mount -fomit-frame-pointer package inline assembly package package ( Hacking tool!) Gentoo portage 145 System Gentoo build
fstab 148 Kernel Kernel 2 Gentoo bzimage "make http://wwwkernelorg 266 install" "/boot/vmlinuz" ( ) 1481 Gentoo genkernel ( "DEVFS" ) 149 System syslog-ng 1482 genkernel "/usr/portage/sys-kernel" gentoo-sources "/usr/src/linux" "make menuconfig" 1411 package ( "genkernel all" 14111 rp-pppoe ) syslog-ng /usr/portage ( sysklogd ) 1410 CRON adsl rp-pppoe X USE="-X" genkernel "/boot" kernel-2xx-gentoo-rx ( Bootloader ) 14112 pcmcia-cs 1483 pcmcia 26 "/usr/src"
1412 14113 vim 14114 cvs root 2 : livecd! lilo "/etc/liloconf" grub "/boot/grub/grubconf" 1413 module Ethernet driver module e100o( 26 e100ko) o( ko) 1416 Bootloader 1417 1415 autoload ( module ) "/etc/modulesautoloadd/kernel-2x" lilo lilo grub loader 1414 Network network IP "/etc/confd/net" (adsl adsl-setup adsl-start ) network script lilo (grub grub )
LiveCD 1418 portage X "/etc/x11/xf86config" XFree86 "/root/xf86configconfigure" XFree X 14182 LiveCD chroot krisna " " (nabi) 14181 Gnome GUI Gnome Linux nabi /etc/envd/00basic USE /etc/makeconf update "/etc/envd/00base" "gtk2" "/etc/envd/02useretc" ( ) update KDE QT USE "-qt -kde" gnome gtk(gtk2) KDE gpm "-gpm" USE "USE" "emerge gnome" (KDE "emerge kde") /etc/envd/00basic /etc/profileenv gnome mozilla USE -mozilla libgnomeprintui mkdir /var/tmp/portage/fontconfig-221/image ln - gnome " " s /usr /var/tmp/portage/fontconfig-221/image/usr " "/usr/bin/nabi" emerge gnome gnome gentoo X X 14183 "/etc/x11/gdm/gdmconf" gdm "emerge gdm" "/etc/rcconf" gdm X gdm "XSESSION=Gnome" ( ) xdm
Windows 14185 CD-RW cdrecord "/usr/share/fonts/ttf/korean/ms" CD-RW "cdrecord" "emerge cdrtools" "/usr/share/fonts/" fc-cache 14186 AA Xft(Fontconfig) (Gnome2x, KDE3x, Xfce4 ) "~/fonts" ~/fontsconf - mattengi 14187 FTP server Fonts in XFree86 Fontconfig (GPL ) X font server service "rc-update add xfs default" "fc-cache" 14184 mplayer mp3 " "XMMS" 14188 pmp3 pmp3 ~ =3=33 mplayer! " " ~/mplayer/config, mplayer mplayer ( : http://www1mplayerhqhu/mplayer/contrib/fonts/korean - dotum20 ) 15 Gentoo linux Stage3 Stage 1 Stage 3 Stage bootstrap mplayer "/usr/share/mplayer/fonts" Stage 1 Stage 3 Stage 1 tarbz2 /mnt/gentoo Stage 3 "~/mplayer/config", bootstrap ( ) kernel /etc/ "/etc/mplayerconf" "emerge sync" xine "emerge xine-lib;emerge xine-ui" 16 FAQ mplayer Mozilla plugin 14 portage Q: X A: /etc/rcconf "rc-update add
xdm default" xdm Q: A: "emerge -C <portage >", Q: service service Q: package A: service "rc-status" A: "emerge -f <portage >"(fetchonly) service "rc- "/usr/portage/distfiles" update show" Q: (Screen capture) Q: man page A: "PrintScrn" "Alt + PrintScrn" A1: UTF-8 Q: "LC_CTYPE=utf-8", "/etc/envd/00basic" LC_CTYPE="utf-8" A: "/usr/portage/distfiles" ( "env-update" "source /etc/profile"! ) Q: A2: LANG ko_kreuckr A1: portage "emerge sync" LESSCHARSET="iso8859" "/etc/envd/00basic" Q: ("synaptics") XFree "emerge rsync" portage update "emerge -u world" ( 5+) Q: A: 12GByte A: "/etc/x11/xf86config" 20G 18G 10GByte (X ) ( Download driver (HOWTO)) Q: gentoo gdesklets "emerge" mask A: gdesklets "ACCEPT_KEYWORDS="~x86"" emerge 1 "ACCEPT_KEYWORDS="~x86" emerge gdesklets-core" 2 "/usr/portage/x11-plugins/desklets-*" 3 "/usr/bin/gdesklets" 4 5 "/usr/share/gdesklets/display" 6 desklet-meminfo "/usr/share/gdesklets/displays/meminfo/dark-the" "gdesklets meminfodisplay" 7 meminfo 8 ( ) 1 Q: Apache 2 PHP4 PHP A: 1 "emerge apache" ( Apache 2 ) 2 "emerge mod_php" 3 apache "/etc/confd/apache2"
"APACHE2_OPTS="-D PHP4"" PHP 4 "/etc/php/apache2-php4/phpini" ( upload ) Q: sshd telnet A: 1 xinetd "emerge xinetd" 2 "rc-update add xinetd default" 3 "/etc/xinetconf" localhost 4 "emerge netkit-telnetd" 5 "/etc/xinetd" "telnetd" "disable=yes" "disable=no" 6 "/etc/inetd/xinetd start" telnet Q: A:, ( : FIXME!!!) 1 "emerge cups" 2 "/etc/xinetd/cups-lpd" "disable=yes" "disable=no" 3 "rc-update add cupsd default" 18 4 "/etc/printcap" gnome "gnome-cups-manager" 5 "lpr <filename>" "! ~" "lpq" 1 10 IRC gentoo Gentoo linux : (minzkn) 1 20031124 : (14 ) 2 200462 : 20041 ( ) 17 19 emerge gnome
20041 stage 3 stage --