Difference between revisions of "FUSE - Filesystem in Userspace"
(Initial version) |
Unnilennium (talk | contribs) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
− | |||
{{Level|Medium}} | {{Level|Medium}} | ||
=== Maintainer === | === Maintainer === | ||
Michael Weinberger | Michael Weinberger | ||
=== Description === | === Description === | ||
− | FUSE is a kernel module that allows non-privileged users to run file system drivers in user space. With FUSE virtual files systems can be realized that can | + | FUSE is a kernel module that allows non-privileged users to run file system drivers in user space. With FUSE virtual files systems can be realized that can expose any data source as a filesystem. There are already many filesystems available that uses FUSE. [http://fuse.sourceforge.net more info] |
{{Warning box|This contrib installs gcc, cpp and some *-devel RPMs. Do not use the contrib, if you have security concerns with those packages installed.}} | {{Warning box|This contrib installs gcc, cpp and some *-devel RPMs. Do not use the contrib, if you have security concerns with those packages installed.}} | ||
+ | |||
=== Installation === | === Installation === | ||
==== Configuring the Dag Repositoy ==== | ==== Configuring the Dag Repositoy ==== | ||
− | + | You need to activate the [[Dag]] reposity before installing this contrib.<br /> | |
+ | |||
+ | see [[dag|dag repository]] <br /> | ||
+ | |||
==== Installing FUSE ==== | ==== Installing FUSE ==== | ||
Download the smeserver-fuse RPM from http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/FUSE | Download the smeserver-fuse RPM from http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/FUSE | ||
Line 17: | Line 20: | ||
/usr/bin/yum --enable=dag localinstall smeserver-fuse-*.el4.sme.noarch.rpm | /usr/bin/yum --enable=dag localinstall smeserver-fuse-*.el4.sme.noarch.rpm | ||
− | |||
− | |||
=== Testing === | === Testing === | ||
To verify the installation mount a directory from a remote server you can access via ssh. | To verify the installation mount a directory from a remote server you can access via ssh. | ||
Line 24: | Line 25: | ||
==== Installing the FUSE SSH Filesystem ==== | ==== Installing the FUSE SSH Filesystem ==== | ||
/usr/bin/yum --enable=dag install fuse-sshfs | /usr/bin/yum --enable=dag install fuse-sshfs | ||
− | ==== Mount a | + | ==== Mount a remote directory ==== |
mkdir /mnt/fuse-ssh-test | mkdir /mnt/fuse-ssh-test | ||
sshfs <REMOTE_HOST_IP>:/var/log /mnt/fuse-ssh-test | sshfs <REMOTE_HOST_IP>:/var/log /mnt/fuse-ssh-test | ||
When everything works you can see the log files of the remote server | When everything works you can see the log files of the remote server | ||
ls /mnt/fuse-ssh-test | ls /mnt/fuse-ssh-test | ||
+ | ==== Cleaning up ==== | ||
+ | umount /mnt/fuse-ssh-test | ||
+ | rm -rf /mnt/fuse-ssh-test | ||
+ | rpm -e fuse-sshfs | ||
+ | |||
=== Uninstall === | === Uninstall === | ||
Unmount all FUSE filesystems. | Unmount all FUSE filesystems. | ||
Line 36: | Line 42: | ||
and the dependencies if no longer needed | and the dependencies if no longer needed | ||
rpm -e cpp gcc glibc-devel glibc-headers glibc-kernheaders kernel-devel | rpm -e cpp gcc glibc-devel glibc-headers glibc-kernheaders kernel-devel | ||
+ | |||
+ | ---- | ||
+ | [[Category: Deprecated_Contrib]] | ||
+ | [[Category: Administration:File and Directory Access]] |
Latest revision as of 08:07, 11 July 2022
Maintainer
Michael Weinberger
Description
FUSE is a kernel module that allows non-privileged users to run file system drivers in user space. With FUSE virtual files systems can be realized that can expose any data source as a filesystem. There are already many filesystems available that uses FUSE. more info
Installation
Configuring the Dag Repositoy
You need to activate the Dag reposity before installing this contrib.
see dag repository
Installing FUSE
Download the smeserver-fuse RPM from http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/FUSE
Install the package with all dependencies
/usr/bin/yum --enable=dag localinstall smeserver-fuse-*.el4.sme.noarch.rpm
Testing
To verify the installation mount a directory from a remote server you can access via ssh.
Installing the FUSE SSH Filesystem
/usr/bin/yum --enable=dag install fuse-sshfs
Mount a remote directory
mkdir /mnt/fuse-ssh-test sshfs <REMOTE_HOST_IP>:/var/log /mnt/fuse-ssh-test
When everything works you can see the log files of the remote server
ls /mnt/fuse-ssh-test
Cleaning up
umount /mnt/fuse-ssh-test rm -rf /mnt/fuse-ssh-test rpm -e fuse-sshfs
Uninstall
Unmount all FUSE filesystems.
Remove the base RPMs
rpm -e smeserver-fuse dkms dkms-fuse fuse fuse-sshfs
and the dependencies if no longer needed
rpm -e cpp gcc glibc-devel glibc-headers glibc-kernheaders kernel-devel