「わかりました」>「あんまりわかってません」の間接的な用法


by ayamem
カレンダー
S M T W T F S
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

Les Clefs d'Or C69

起動直後・・・メモリ13MB
X起動直後・・・メモリ24MB
メモリ128MBでDivX動画再生+FirefoxがSWAPなしで動作
CPUは1GHzあれば十分
a0009081_20353754.jpg
C69までチューニングし続ける。コミケ落ちたんで販売はない

[仕様]
base ・・・ dapper
Kernel ・・・ linux-2.6.15-rc4 2.6.15-rc4-ckpp1 unicon
WM ・・・ ratpoison
Filer ・・・ fdclone
Terminal ・・・ xfce4-terminal
Browser ・・・ flock ochusha dillo-i18n w3m-img
Network ・・・ wget samba ssh smbfs rdesktop lftp bittornado
Editor ・・・ elvis-tiny
IM ・・・ scim anthy-7100b scim-anthy-0.8.0(先行予測対応)
dev ・・・ gcc-4.0 flex bison distcc ccache libncurses5-dev linux-kernel-headers make patch build-essential devscripts dh-make lintian gnupg checkinstall
shell ・・・ zsh-lovers zsh-beta screen gpm lv file nmap man man-db manpages-ja manpages-ja-dev
printer ・・・ hpoj cupsys
music ・・・ peercast streamripper ffmpeg vlc beep gtkpod
entertainment ・・・ wine-0.9.2 hdl_dump visualboyadvance snes9x-x xmame0.102 onscripter imagemagick
X ・・・ xfonts-base xinit xserver-xorg xorg-driver-synaptics 855resolution mona-font ぱうフォント quingy freenx
FileSystem ・・・ hdparm cdrecord mkisofs ntfsprogs dosfstools reiser4progs cramfsprogs partimage partimage-server unrar unzip
Utility ・・・ alien grub debootstrap
一時的に入れるもの ・・・ pkg-config libdirectfb-dev

[個人で入れるもの]
vmwareplayer
np2
xkazoku
ipw2200ドライバ
ieee80211ドライバ
openoffice.org2 openoffice.org2-l10n-ja
ePSXe

[sources.list]
deb http://archive.ubuntu.com/ubuntu dapper main multiverse restricted universe
deb-src http://archive.ubuntu.com/ubuntu dapper main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu warty main multiverse restricted universe
deb-src http://archive.ubuntu.com/ubuntu warty main multiverse restricted universe
#deb http://archive.ubuntu.com/ubuntu breezy main multiverse restricted universe
#deb-src http://archive.ubuntu.com/ubuntu breezy main multiverse restricted universe
### wine
#deb http://wine.sourceforge.net/apt/ breezy/
### onscripter
#deb http://detroit.ddo.jp/debian/sarge/ ./
### freenx
#deb http://seveas.ubuntulinux.nl/ breezy-seveas freenx
### opera
#deb http://deb.opera.com/opera/ etch non-free
---------------------------------------------------------------------------

【作業ログ】
## 準備
# mkdir newfs ; debootstrap dapper newfs ; cd newfs
# cp /etc/apt/sources.list etc/apt/
# cp /etc/network/interfaces etc/network/interfaces
# cp /etc/fstab etc/
# for i in 0 1 2 3 4 ; do mknod dev/cobd$i b 117 $i ; done

# chroot .
--------------------------------------------------------------
## 基本設定
# dpkg --purge less ubuntu-minimal vim vim-common
# echo dapper > /etc/hostname
# echo "Asia/Tokyo" > /etc/timezone
# passwd ; shadowconfig on
# dpkg-reconfigure debconf
lowに設定
--------------------------------------------------------------
# aptitude update > /dev/null
# apt-get install \
evilwm rox-filer xfce4-terminal fdclone wget samba ssh smbfs rdesktop lftp bittornado leafpad elvis-tiny scim gcc-4.0 flex bison distcc ccache libncurses5-dev linux-kernel-headers make patch build-essential devscripts dh-make lintian gnupg zsh-lovers zsh-beta screen gpm lv file nmap man man-db manpages-ja manpages-ja-dev streamripper ffmpeg vlc gtkpod wine snes9x-x xfonts-base xinit xserver-xorg xorg-driver-synaptics 855resolution bbkeys freenx hdparm cdrecord mkisofs ntfsprogs dosfstools reiser4progs cramfsprogs partimage partimage-server unrar unzip alien grub debootstrap checkinstall pkg-config libdirectfb-dev w3m-img onscripter visualboyadvance imagemagick
--------------------------------------------------------------
## チューニング
# cd /usr/share/doc ; mv zsh-lovers .. ; rm -rf * ; mv ../zsh-lovers .
# rm -rf /usr/game/banner /boot/memtest86+.bin /etc/motd ; touch /etc/motd
# cd /usr/share/locale/ ; mv ja .. ; rm -rf * ; mv ../ja . ; cd
# ln -s /usr/bin/lv /etc/alternatives/less ; ln -s /etc/alternatives/less /usr/bin/less
# ln -s /usr/bin/lftp /etc/alternatives/ftp ; ln -s /etc/alternatives/ftp /usr/bin/ftp
# for i in local oldlocal ; do touch /var/cache/man/$i/index.db ; done
# chsh -s /usr/bin/zsh
# rm -f /etc/console/boottime.kmap.gz ; ln -s /usr/share/keymaps/i386/qwerty/jp106.kmap.gz /etc/console/boottime.kmap.gz

# cd /etc/rcS.d ; for i in S22hwclockfirst.sh S50hwclock.sh S51ntpdate ; do mv $i _$i ; done ; mv /etc/rc6.d/K25hwclock.sh /etc/rc6.d/_K25hwclock.sh
# vi /etc/inittab → ttyを2つへ減らした
# vi root/.bashrc_profile

## demoユーザの追加
# mkdir /home/demo ; chmod 700 /home/demo
# groupadd demo ; useradd -d /home/demo -g demo -s /bin/bash demo
# chown demo:demo /home/demo ; passwd demo ;

##855resolution
# echo "/usr/sbin/855resolution 5c 1280 800" > /etc/init.d/855resolution
# ln -s /etc/init.d/855resolution /etc/rcS.d/S01855resolution

##仕上げ
# mandb > /dev/null ; updatedb ; ldconfig ; update-modules

# for i in gcc cc cpp ; do ln -s /usr/bin/ccache /usr/local/bin/$i ; done
--------------------------------------------------------------
# vi /etc/default/distcc
# Defaults for distcc initscript
# sourced by /etc/init.d/distcc

#
# should distcc be started on boot?
#
# STARTDISTCC="true"

STARTDISTCC="true"

#
# Which networks/hosts should be allowed to connect to the daemon?
# You can list multiple hosts/networks separated by spaces.
# Networks have to be in CIDR notation, f.e. 192.168.1.0/24
# Hosts are represented by a single IP Adress
#
# ALLOWEDNETS="127.0.0.1"

ALLOWEDNETS="192.168.0.0/24"

#
# Which interface should distccd listen on?
# You can specify a single interface, identified by it's IP address, here.
#
# LISTENER="127.0.0.1"

ALLOWEDNETS="127.0.0.1"
--------------------------------------------------------------
# vi ~/.makeopt
# CFLAG
export CHOST="i686-pc-linux-gnu"
export CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
export CXXFLAGS="${CFLAGS}"
# distcc
export FEATURES="distcc"
export DISTCC_HOSTS='colinux colinux2'
export CCACHE_PREFIX=distcc
alias make='make -j3'
--------------------------------------------------------------
# vi ~/.zlogin
if [ -f ~/.makeopt ]; then
. ~/.makeopt
fi
--------------------------------------------------------------
# vi /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.40
netmask 255.255.255.0
gateway 192.168.0.1
--------------------------------------------------------------
# vi /etc/hosts
127.0.0.1 localhost
192.168.0.40 colinux
192.168.0.41 colinux2
--------------------------------------------------------------
# vi .mlterm/main
ENCODING = UTF-8
use_transbg =
wall_picture =
fontsize = 14
scrollbar_mode = right
brightness = 60
contrast = 60
gamma = 60
scrollbar_view_name = motif
use_anti_alias = false
fg_color = white
bg_color = black
tabsize = 4
logsize = 128
vertical_mode = none
use_variable_column_width = false
sb_fg_color = black
--------------------------------------------------------------
# dpkg-reconfigure freenx ※no-machine-keyを選択
# nxserver --adduser root ※システム上に存在するユーザ名を指定すること
# nxserver --passwd root
# nxserver --listuser ※--adduserで追加したユーザがいること
--------------------------------------------------------------
この状態で800M(tar.gz圧縮で250MBくらい)
[PR]
by ayamem | 2005-12-02 14:15