|
Strona 7 z 7
:: Instalacja i konfiguracja jądra systemowego ::
# ls /usr/share/zoneinfo
# cp /usr/share/zoneinfo/Poland /etc/localtime
# USE="-doc symlink" emerge gentoo-sources
# ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 sie 1 19:50 /usr/src/linux -> linux-2.6.17-gentoo-r4
# cd /usr/src/linux
# make menuconfig
 |
...
|
#make && make modules_install
# cp arch/i386/boot/bzImage /boot/kernel-2.6.17-gentoo-r4
# nano -w /etc/modules.autoload.d/kernel-2.6
 |
...
|
:: Konfiguracja systemu ::
# nano -w /etc/fstab
 |
...
|
# nano -w /etc/conf.d/hostname
 |
...
|
# nano -w /etc/conf.d/net
# rc-update add net.eth0 default
 |
...
|
# nano -w /etc/hosts
 |
...
|
# passwd
# nano -w /etc/rc.conf
 |
...
|
# nano -w /etc/conf.d/keymaps
 |
...
|
# nano -w /etc/conf.d/clock
 |
...
|
:: Instalacja narzędzi systemowych ::
# emerge syslog-ng
# rc-update add syslog-ng default
# emerge vixie-cron
# rc-update add vixie-cron default
# emerge slocate mkreiserfsprogs dhcpcd
:: Konfiguracja programu rozruchowego ::
# emerge grub
# nano -w /boot/grub/grub.conf
 |
...
|
# exit
cdimage ~# cd
cdimage ~# umount /mnt/gentoo/boot /mnt/gentoo/usr /mnt/gentoo/opt /mnt/gentoo/var /mnt/gentoo/home
cdimage ~# umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
cdimage ~# reboot
:: Tworzenie kont użytkowników ::
Login: root
Password: (Your root password)
# useradd -m -G users,wheel,cdrom,floppy,audio,video,portage -s /bin/bash gibba
# passwd gibba
Password: (Enter the password for gibba)
Re-enter password: (Re-enter the password to verify)
|