2009-01-01から1年間の記事一覧
日本社会の歴史〈上〉 (岩波新書)作者: 網野善彦出版社/メーカー: 岩波書店発売日: 1997/04/21メディア: 新書購入: 3人 クリック: 106回この商品を含むブログ (61件) を見る海の都の物語 ヴェネツィア共和国の一千年 1 (新潮文庫)作者: 塩野七生出版社/メー…
http://it.kndb.jp/entry/show/id/2484script のログを文字化けせずに見る方法 $ col -bx
aptitude -y install package
小さなubuntuシステムを作る http://d.hatena.ne.jp/tnks/20090504/1241434257 作業用ディレクトリにコピーする # mkdir /tmp/ubuntu # rsync -a --delete --delete-excluded \ --exclude='/proc/*' \ --exclude='/sys/*' \ --exclude='/dev/*' \ --exclude=…
http://www.linux.or.jp/JF/JFdocs/kernel-docs-2.6/filesystems/ramfs-rootfs-initramfs.txt.html
# xloadimage -onroot -center filename
http://blog.gcd.org/archives/51053466.html(cd /usr/src/initramfs/; find . | cpio -o -H newc ) | gzip > initrd.gz
のだめカンタービレ(23) (KC KISS)作者: 二ノ宮知子出版社/メーカー: 講談社発売日: 2009/11/27メディア: コミック購入: 16人 クリック: 811回この商品を含むブログ (275件) を見るへうげもの(9) (モーニング KC)作者: 山田芳裕出版社/メーカー: 講談社発売…
バッテリーの残りが10%切ったらおこるイベントとか無いの? # acpi_listen ac_adapter ACAD 00000080 00000000 processor CPU0 00000081 00000000 processor CPU1 00000081 00000000 battery BAT1 00000080 00000001 ac_adapter ACAD 00000080 00000001 b…
laptop-mode-tools acpid ethtool
http://www.watanet.org/~chihiro/index.cgi/linux/ubuntu/20090210_ubuntu-powerbtn-hibernate.htmlhttp://japan.internet.com/linuxtutorial/20080425/1.htmlhttp://gihyo.jp/admin/serial/01/ubuntu-recipe/0009?page=1http://sourceforge.jp/magazine/07…
acpi-support acpid ethtools finger laptop-mode-tools toshset cd /proc/acpi/battery/* a=$(grep 'remaining capacity' state |awk '{print $3}') b=$(grep 'design capacity:' info|awk '{print $3}') echo $a $b $(( 100 * $a / $b ))
# aptitude install alsa-utils # alsamixer [MM]はミュート。mキー押すとトグる。?キー押すとヘルプ表示。 設定した音量は保存されるらしい。
# aptitude install man-db
runlevel 3, 4 でstartxが起動するように設定する。 firefoxは .xinitrc で起動設定 startx起動スクリプト # cat /root/autorun su - -c "LANG=ja_JP.UTF-8 /usr/bin/startx" su するのは環境変数をセットするため http://shino.pos.to/linux/autox.html ini…
ftp://ftp.mozilla-japan.org/pub/mozilla.org/firefox/releases/3.0.10/linux-i686/xpi/
# aptitude install mlterm-im-scim # mlterm --aa=true --im=scim
debootstrap 388868 wpasupplicant linux-restricted-modules console-setup 534136 xorg scim-anthy fvwm firefox ttf-sazanami-gothic ttf-sazanami-mincho gtk2-engines gtk-theme-switch mlterm 854608 language-pack-ja mlterm-im-scim 885972
# fc-list |grep Sazanami さざなみ明朝,Sazanami Mincho:style=Regular,Mincho-Regular さざなみゴシック,Sazanami Gothic:style=Regular,Gothic-Regular
# aptitude forget-new で直った
http://wiki.fdiary.net/font/?unixuser200403-2 http://www.wikiroom.com/tsunomi/?Linux%A4%C7TrueType%20font%20%A4%F2%BB%C8%A4%A6
http://maru89.cocolog-nifty.com/blog/2008/06/post_08ba.html # cat /etc/fonts/local.conf false
packageをインストールする # dpkg -i filename.deb packageに含まれるファイルの一覧表示 # dpkg --listfiles
ランレベルはデフォルトで2 ランレベルの変更は/etc/event.d/rc-defaultの編集
/etc/udev/rules.d/70-persistent-net.rules に保存するようだ
USBメモリをフォーマットしてマウントする。UUIDを調べておく # fdisk /dev/sdc # mkfs.ext3 /dev/sdc1 # blkid /dev/sdc1 /dev/sdc1: UUID="12bc68dd-039f-4c2c-b5a1-b680b4b4158c" TYPE="ext3" # mount /dev/sdc1 /mnt debootstrapでUbuntu環境を作成する …
# debootstrap jaunty /mnt http://archive.ubuntu.com/ubuntu/http://packages.ubuntu.com/
必要なファイルをコピー tmpfsがマウントされているディレクトリは除外 proc, sys も除外 コピー先USBメモリをマウントしているディレクトリも除外 # rsync -a --delete --delete-excluded \ --exclude='/proc/*' \ --exclude='/sys/*' \ --exclude='/dev/*'…
https://wiki.ubuntulinux.jp/UbuntuTips/UsbInstall/InstalltoUSBStorage LiveCDを作成、起動 USBメモリを接続。マウントされるので、マウント解除 デスクトップの「インストール」をダブルクリック あとは、grubのインストール先に気をつける