flagflag  
3: 2013-01-22 (Tue) 00:14:17 s09081 source 4: 2013-03-07 (Thu) 18:51:21 s09081 source
Line 31: Line 31:
 CXXFLAGS="${CFLAGS}"  CXXFLAGS="${CFLAGS}"
 CHOST="i686-pc-linux-gnu"  CHOST="i686-pc-linux-gnu"
 + #CHOST="x86_64-pc-linux-gnu" //64bitの時
 MAKEOPTS="-j4"  #コア数X2程度  MAKEOPTS="-j4"  #コア数X2程度
Line 104: Line 105:
 emerge genkernel  emerge genkernel
 genkernel --menuconfig all  genkernel --menuconfig all
 +***モジュール設定&必要アプリインストール [#p01dac6c]
 + emerge syslog-ng vixie-cron vim mlocate
 + rc-update add syslog-ng default
 + rc-update add vixie-cron default
 + find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' >> /etc/make.conf
 + vi /etc/make.conf
 +   :% s/^\/.*\//modules="/g
 +   :% s/.ko$/"/g
 +***初期設定類 [#n5c0da69]
 + vi /etc/fstab
 + /dev/sda1              /boot          ext2            defaults        1 2
 + /dev/sda3              /              ext4            noatime        0 1
 + /dev/SWAP              none            swap            sw              0 0
 + /dev/cdrom              /mnt/cdrom      auto            noauto,ro      0 0
 +
 +詳細については
 +http://www.gentoo.org/doc/ja/handbook/ha​ndbook-amd64.xml?part=1&chap=8
 +
 + vi /etc/conf.d/hostname
 + hostname="tux"
 +
 + vi /etc/conf.d/net
 + config_eth0="192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255"
 + routes_eth0="default via 192.168.0.1"
 +または
 + config_eth0="dhcp"
 +但しDHCPを使う場合は
 + emerge dhcpcd
 +
 + cd /etc/init.d
 + ln -s net.lo net.eth0
 + rc-update add net.eth0 default
 +
 + vi /etc/conf.d/keymaps
 + vi /etc/conf.d/hwclock
 + passwd
 +
 +***Grub [#x648167f]
 + emerge grub
 + vi /boot/grub/menu.lst
 + default 0
 + timeout 30
 + splashimage=(hd0,0)/boot/grub/splash.xp​m.gz
 +
 + title Gentoo Linux
 + root (hd0,0)
 + kernel /boot/kernel-genkernel-x86_64-3.7.10-gen​too root=/dev/ram0 real_root=/dev/sda3
 + initrd /boot/initramfs-genkernel-x86_64-3.7.10-​gentoo
 +
 + grep -v rootfs /proc/mounts > /etc/mtab
 + grub-install --no-floppy /dev/sda


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

30 user(s) are online (3 user(s) are browsing xpwiki)

Members: 0
Guests: 30

more...

Access Counter

Today : 4210421042104210
Yesterday : 4345434543454345
Total : 2366135123661351236613512366135123661351236613512366135123661351
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com