Changes

Jump to: navigation, search

FUSE

522 bytes added, 11:06, 4 December 2007
Setup: add per-distro fuse install instructions
Download appropriate kernel from [http://download.openvz.org/ openvz.org] or compile kernel with <code>CONFIG_FUSE_FS</code> option set
=== Libfuse Userspace ===Compile You have to fuse libraries and some fuse filesystem modules (here we use sshfs as an example). The best way to have it installed is to use the packages from your distro vendor. An alternative is compiling the stuff from source. ==== Gentoo ====  # emerge sys-fs/sshfs-fuse ==== Fedora ====  # yum install fuse-sshfs ==== Debian/Ubuntu ==== * FIXME ==== Compiling from source ====If there are no packages provided for you distribution, you have to compile from source. First, compile libfuse in a VE without kernel module
<pre>
# vzctl enter 100
</pre>
{{note| Sometimes <code>libfuse.so.X</code> is unseen by your programs. Usually this file is installed in <code>/usr/local/lib</code> directory so don't forget to add it this directory into your <code>/etc/ld.so.conf</code>and then run <code>ldconfig</code>.}}
=== Filesystem ===Download Next, download and compile filesystem.
<pre>
# vzctl enter 100
=== VE tuning ===
You need to make a characted character device named <code>/dev/fuse</code> and grant your VE permissions to it
<pre>
# vzctl set 100 --devices c:10:229:rw --save

Navigation menu