Local setup for HTTP-FUSE KNOPPIX
UnderSocre and lilsirecho,
I prepare block files for your local HTTP server to check HTTP-FUSE KNOPPIX.
http://unit.aist.go.jp/itri/knoppix/...k/knxblock.tar
MD5: 5bed82f71f1d594d6ac6c81cb320f0f1 knxblock.tar
The size is 1.5GB. It includes images for KNOPPIX37JP, KNOPPIX37Edu, KNOPPIX37Math and KNOPPIX37FSFE.
Same block files are shared.
Please extract the tar file and setup to the "knxbock" directory on your HTTP server.
And boot HTTP-FUSE KNOPPIX with the "fuse_uri=" option. For exmaple,
boot: knoppix26 utc nodhcp fuse_uri=http://SERVER-NAME/SERVER-DIRECTORY/knxblock/KNOPPIX37FSFE/
Please add "utc" and "nodhcp" option as magic word. They keep connection to HTTP server.
If possible, plese open your server for other users, because HTTP FUSE KNOPPIX suffers network latency strongly.
P.S.
Does anyone have an idea to distribute block files world wide?
Can we use Google cache to distribute the block files?
Debian Package for HTTP-FUSE
We released 4 Debian Packages for "HTTP-FUSE". They are effective on KNOPPIX 3.9 using UNIONFS.
http://unit.aist.go.jp/itri/knoppix/...2.1-4_i386.deb
http://unit.aist.go.jp/itri/knoppix/...2.1-4_i386.deb
http://unit.aist.go.jp/itri/knoppix/...2.1-4_i386.deb
http://unit.aist.go.jp/itri/knoppix/...0.1-2_i386.deb
Orignal Home Page: http://unit.aist.go.jp/itri/knoppix/.../index-en.html
Usage:
1. Change to ROOT user by "su" command. Download the debian packages.
2. Install Debian Packages. (The order of package means the dependency relation.)
# dpkg -i libfuse2_2.2.1-4_i386.deb fuse-utils_2.2.1-4_i386.deb fuse-module-2.6.11_2.2.1-4_i386.deb fs-wrapper_0.1-2_i386.deb
3. fuse-utils requires "group name" for http-fuse mount. Please designate "root".
http://unit.aist.go.jp/itri/knoppix/...se-utils-q.gif
4. Make a directory for http-fuse.
# mkdir /tmp/fuse
5. Run "fuse-wrapper" with a directory and URL of HTTP-FUSE. For example,
# fs_wrapper /tmp/fuse -f http://aist.ring.gr.jp/archives/linu...KNOPPIX37FSFE/
This process tell us log of fs-wrapper.
6. Please open another terminal. You find a cloop file at "/tmp/fuse/knoppix". Please setup loopback mount.
# losetup /dev/cloop1 /tmp/fuse/KNOPPIX
# mkdir /mnt/http-fuse
# mount /dev/cloop1 /mnt/http-fuse
You use files at "/mnt/http-fuse/". When you touch a files under /mnt/http-fuse, the blocks are downloaded at "/tmp/blocks/[00-ff]/".
mkmd5files makes "split-and-compressed block files" for HTTP-FUSE from a block device.
Usage: mkmd5files <block device> <target directory for split-and-block files> <split-block size>
You try on KNOPPIX CD as following.
# mkmd5files /dev/cloop /tmp/http-fuse/ 262144
256KB spit-and-block files are created under /tmp/http-fuse/. The file space requires approximately 700MB.
The split-and-block files are opened by HTTP server and can be mounted by "fs_wrapper".