文章列表
After the crappy experience with btrfs (IO hang), I decided to try out Reiser4.
Different with btrfs, DebianInstaller created root cannot be converted into Reiser4. Things must be done from the very beginning. 8-(
Here is the process how I created debian-installer mini CD. XMind file
Since libparte ...
Recently I'd like to transfer some private data to friends. Since my ssh is OTPed, so sftp is not the option. I decided to use webfs and gnutls (webfs does not support openssl).
$ sudo apt-get install webfs gnutls-bin
$ certtool --generate-privkey --outfile key.pem
$ certtool --generate-self-signed - ...
With my host being public to internet, security now is the most concerning than it ever was.
So, first step, using one time password when login with ssh.
$ sudo apt-get install libpam-otpw
--- /etc/ssh/sshd_config ---
UsePrivilegeSeparation no
ChallengeResponseAuthentication yes
--- /etc/pam.d/sshd ...
上次搞了btrfs,于是决定把bfs也搞了。
1. axel http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.34.1.tar.bz2
2. tar xf linux-2.6.34.1.tar.bz2
3. wget http://ck.kolivas.org/patches/bfs/2.6.34-sched-bfs-318.patch
4. cd linux-2.6.34.1
5. patch -p1 < ../2.6.34-sched-bfs-318.patch
6. sudo make-kpkg linux-image li ...
听说btrfs有很多好处,目前也进了主线,因此决定在虚拟机上试一下。
1. 安装debian sid,根设备使用ext2/ext3文件系统。
2. 修改/etc/initramfs-tools/modules,添加btrfs\ncrc32c。
3. sudo apt-get install btrfs-tools
4. 修改/etc/fstab,修改/的挂载:文件系统改为btrfs或auto,去掉选项中的error remount ro。
3. sudo update-initramfs -k all -u
4. http://live.debian.net处下载debian live。以此启动 ...
CalendarGenerator
- 博客分类:
- haskell
一个简单的程序,使用gtk,接受 年份 宽度 高度 文件名 四个参数,生成如下日历图。
手头的笔记本装的是64位瘟7,无法使用友善胳膊提供的u sb写入驱动。所以第一步是配置个操作它的环境,使用不存在的盒子加得必安。
其中不存在的盒子的串口1配置使用host device,设备名COM1。
# apt-get install libusb-dev bzip2 make gcc
# wget http://mini2440.googlecode.com/files/s3c2410_boot_usb-20060807.tar.bz2
# tar xf s3c2410_boot_usb-20060807.tar.bz2
# cd s3c2410_boot_usb
# make
# chm ...