2009-01-01から1年間の記事一覧

【レビュー】さまざまなOSのインストール“USBメモリ”を手軽に作成できる「UNetbootin」 - 窓の杜

買った本/読み終わってない本

日本社会の歴史〈上〉 (岩波新書)作者: 網野善彦出版社/メーカー: 岩波書店発売日: 1997/04/21メディア: 新書購入: 3人 クリック: 106回この商品を含むブログ (61件) を見る海の都の物語 ヴェネツィア共和国の一千年 1 (新潮文庫)作者: 塩野七生出版社/メー…

memo

http://it.kndb.jp/entry/show/id/2484script のログを文字化けせずに見る方法 $ col -bx

memo

aptitude -y install package

windowsからubuntu USBを作る。ためのファイルを作る。

小さなubuntuシステムを作る http://d.hatena.ne.jp/tnks/20090504/1241434257 作業用ディレクトリにコピーする # mkdir /tmp/ubuntu # rsync -a --delete --delete-excluded \ --exclude='/proc/*' \ --exclude='/sys/*' \ --exclude='/dev/*' \ --exclude=…

initramfs

http://www.linux.or.jp/JF/JFdocs/kernel-docs-2.6/filesystems/ramfs-rootfs-initramfs.txt.html

壁紙

# xloadimage -onroot -center filename

initrd.gz

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)作者: 山田芳裕出版社/メーカー: 講談社発売…

acpi3

バッテリーの残りが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

laptop-mode-tools acpid ethtool

acpi2

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

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 ))

音が出ない(debootstrapで作った環境)

# aptitude install alsa-utils # alsamixer [MM]はミュート。mキー押すとトグる。?キー押すとヘルプ表示。 設定した音量は保存されるらしい。

manが無い(debootstrapで作った環境)

# aptitude install man-db

電源オンで(ログインなしで)firefoxが起動するようにする

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…

firefox言語パック

ftp://ftp.mozilla-japan.org/pub/mozilla.org/firefox/releases/3.0.10/linux-i686/xpi/

mltermで日本語入力(SCIM)

# aptitude install mlterm-im-scim # mlterm --aa=true --im=scim

df

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

gtk font

# fc-list |grep Sazanami さざなみ明朝,Sazanami Mincho:style=Regular,Mincho-Regular さざなみゴシック,Sazanami Gothic:style=Regular,Gothic-Regular

aptitude の installed packages が、いくつパッケージをインストールしても160のままな件

# aptitude forget-new で直った

linux font 関係

http://wiki.fdiary.net/font/?unixuser200403-2 http://www.wikiroom.com/tsunomi/?Linux%A4%C7TrueType%20font%20%A4%F2%BB%C8%A4%A6

fontにアンチエイリアスがかからない

http://maru89.cocolog-nifty.com/blog/2008/06/post_08ba.html # cat /etc/fonts/local.conf false

dpkg メモ

packageをインストールする # dpkg -i filename.deb packageに含まれるファイルの一覧表示 # dpkg --listfiles

/etc/inittab がない

ランレベルはデフォルトで2 ランレベルの変更は/etc/event.d/rc-defaultの編集

NICをおぼえてる。(udev)

/etc/udev/rules.d/70-persistent-net.rules に保存するようだ

小さなubuntu USB メモリの作成

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/

インストールしたUbuntuを他のUSBメモリにコピー

必要なファイルをコピー tmpfsがマウントされているディレクトリは除外 proc, sys も除外 コピー先USBメモリをマウントしているディレクトリも除外 # rsync -a --delete --delete-excluded \ --exclude='/proc/*' \ --exclude='/sys/*' \ --exclude='/dev/*'…

USBメモリにUbuntuインストール

https://wiki.ubuntulinux.jp/UbuntuTips/UsbInstall/InstalltoUSBStorage LiveCDを作成、起動 USBメモリを接続。マウントされるので、マウント解除 デスクトップの「インストール」をダブルクリック あとは、grubのインストール先に気をつける