2008/07/28

今週から

再度休職です
薬も増えてしまった、、

プログラムはまだしもドキュメント類が
完成しないままになってしまったのが申し訳ない

2008/07/27

近いうちに

Fedoracube9出せそうだったり
そうじゃなかったり
一応目途はたちました

2008/07/26

aria2 project

aria2というダウンローダがあるのですが
yumでインストールできるバージョンが古かったため
ビルドしたものをリポジトリに追加しました

リポジトリの登録方法はこちら

2008/07/24

totem メモ

totemで色々な動画を再生するにはFedora8まではtotem-xineで
Fedora9からは以下の様にするそうです

# yum remove totem-xine
# yum install totem-gstreamer gstreamer-plugins-* gstreamer-ffmpeg


追記

"gstreamer-plugins-*"だとdevelも入ってしまうから
こっちの方が良いかもしれない

# yum install gstreamer-plugins-bad gstreamer-plugins-bad-extras gstreamer-plugins-base gstreamer-plugins-farsight gstreamer-plugins-flumpegdemux gstreamer-plugins-good gstreamer-plugins-pulse gstreamer-plugins-schroedinger gstreamer-plugins-ugly

2008/07/23

個人的メモ


参考: Linux tips

$ touch testfs.img
$ /sbin/mkfs -t ext3 -F testfs.img 4G
$ /sbin/tune2fs -c0 -i0 testfs.img
$ mkdir testfs
$ sudo mount -o loop testfs.img testfs
$ cd os/
$ sudo tar cf - [^pt]* | sudo tar xf - -C ../testfs


参考: Linux ブートディスクの交換と環境移行

# cd /mnt/hda1
# tar cpf - ./ | (cd /mnt/hdb1; tar xpfv -)


# cd in_os
# tar cpf - ./ | tar xpf - -C ../out_os

2008/07/22

yumで落ちたとき

またはエラーが出て実行できないとき

古いパッケージが残っている可能性があるので
以下のコマンドを実行してみると良いらしい
# package-cleanup --cleandupes

過去に何度も落ちたことがあったせいか
50個近く検出されてびっくり

2008/07/21

xineインストールメモ

totem-xineのインストールがうまくいかないのでxineに移行
# yum -y install xine xine-lib xine-lib-extras xine-lib-extras-nonfree xine-plugin

2008/07/19

Google Gadgets for Linux 0.10.0-3

ライブラリがアップデートされていたのでリビルドしました
ver0.10.0-3です
インストールはこちらを参考にしてください

ついでにrev720もビルドしました
SVN版についてはこちらを参照してください

2008/07/18

Fedoracube7 rev116

リリースしました
Fedora9ベースは暫くお待ちください

追記
19日若干修正

2008/07/17

VMware 仮想マシン作成

参考「VMware Player用の仮想マシンを作成するには − @IT」

ディスクイメージ作成
# yum -y install qemu
$ qemu-img create -f vmdk hda.vmdk 8G


vmxファイル
#!/usr/bin/vmplayer

# This is a Workstation 5 or 5.5 config file
# It can be used with Player
config.version = "8"
virtualHW.version = "4"

# Selected operating system for your virtual machine
guestOS = "other26xlinux"

# displayName is your own name for the virtual machine
displayName = "Fedoracube"

# Number of virtual CPUs. Your virtual machine will not
# work if this number is higher than the number of your physical CPUs
numvcpus = "1"

# Memory size and other memory settings
memsize = "512"
MemAllowAutoScaleDown = "FALSE"
MemTrimRate = "-1"

# Unique ID for the virtual machine will be created
uuid.action = "create"

# Remind to install VMware Tools
# This setting has no effect in VMware Player
tools.remindInstall = "TRUE"

# Startup hints interfers with automatic startup of a virtual machine
# This setting has no effect in VMware Player
hints.hideAll = "TRUE"

# Enable time synchronization between computer
# and virtual machine
tools.syncTime = "TRUE"

# USB settings
# This config activates USB
usb.present = "TRUE"
usb.generic.autoconnect = "FALSE"

# Logging
# This config activates logging, and keeps last log
logging = "FALSE"

# These settings decides interaction between your
# computer and the virtual machine
isolation.tools.hgfs.disable = "FALSE"
isolation.tools.dnd.disable = "FALSE"
isolation.tools.copy.enable = "TRUE"
isolation.tools.paste.enabled = "TRUE"

# First network interface card
# This config activates this NIC by default
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.addressType = "generated"
ethernet0.generatedAddressOffset = "0"
ethernet0.virtualDev = "vlance"

# Settings for physical floppy drive
floppy0.present = "FALSE"

# First IDE disk
# This disk image is selected by default
ide0:0.present = "TRUE"
ide0:0.fileName = "hda.vmdk"
ide0:0.mode = "persistent"
ide0:0.startConnected = "TRUE"
ide0:0.writeThrough = "TRUE"

# LiveCD
ide1:0.present = "TRUE"
ide1:0.fileName = "foobar.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.startConnected = "TRUE"
ide1:0.mode = "persistent"


仮想マシン起動
$ vmplayer foobar.vmx

2008/07/16

VMware Player インストールメモ

Download VMware Player

# yum -y install kernel-devel
# ln -s /usr/src/kernels/$(uname -r)/ /usr/src/linux
# rpm -Uvh VMware-player-2.0.4-93057.i386.rpm
# vmware-config.pl
Enter!! Enter!!

何かエラーが出た
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a guest and
dropping or pasting them onto your host (guest to host drag and drop and file
copy/paste). The rest of the software provided by VMware Player is designed to
work independently of this feature (including host to guest drag and drop and
file copy/paste).

D&Dが有効にならないらしい、ま、いいや

2008/07/15

2008/07/14

久しぶりに

病気のことについて書いてみる

最近体調があまり良くないです
もしかしたらまた休職することになるかも

現在飲んでる薬はこれ
ソラナックス 0.4mg x1 朝、昼、晩
セロクエル 25mg x1 晩
ジェイゾロフト 50mg x2 晩

2008/07/13

MIMEのデータベースが壊れた場合

全てのファイルが text/plain として扱われるようで
画像も開けないしなんか面倒なことになりました
そのような場合は以下の様にするといいみたいです

# update-mime-database /usr/share/mime