2013年7月29日月曜日

Linuxでパッケージのアーキティクチャにamd64を追加する

# dpkg --add-architecture amd64

2013年7月28日日曜日

rubyを駆使して敵を倒していくゲーム

Ruby Warrior
https://www.bloc.io/ruby-warrior/

2013年7月26日金曜日

2013年7月18日木曜日

Debian Wheezyではffmpegじゃなくてlibav-toolsを使おう

コマンドはavconvらしい

avconv -i 002.flv -strict experimental 002.mp4

http://wiki.debian.org/NewInWheezy

2013年7月14日日曜日

LinuxでXのキーボードレイアウトの変更

ユーザーでこんな感じのコマンドを打つらしい
setxkbmap -layout jp 

dpkg-reconfigure keyboard-configuration

参考リンク
http://margaret-sdpara.blogspot.jp/2012/12/debian-usb-live-lxde.html

KVMとvirt-manager仮想マシン管理

kvmのインストール
 aptitude install qemu-kvm libvirt-bin virt-manager
libvirtグループへ参加
 usermod -a -G libvirt hogeuser
ネットワーク設定
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports eth0
bridge_stp off


参考リンク
http://wiki.debian.org/KVM
http://wiki.debian.org/QEMU#QEMU_networking_with_VDE
http://misc.e-hdk.com/benkyokai/2012-kernel-vm-advent-calendar-21st

2013年7月13日土曜日

squid3でviaヘッダを任意の値に変更する

こんな感じに書けばいいらしい

request_header_access VIA deny all
request_header_replace VIA 1.1 Squid3


http://green-rabbit.sakura.ne.jp/blog/2010/04/28/1320/