SSHFS adalah singkatan dari SSH Filesystem.
Untuk dapat menggunakannnya pada Ubuntu ikuti langkah-langkah berikut ini.
1. Download FUSE
wget -c http://sourceforge.net/projects/fuse/files/fuse-2.X/2.8.1/fuse-2.8.1.tar.gz/download
2. Download SSHFS
wget -c http://sourceforge.net/projects/fuse/files/sshfs-fuse/2.2/sshfs-fuse-2.2.tar.gz/download
3. Masuk ke folder di mana file tar Fuse disimpan, kemudian expand file tersebut.
tar xzvf fuse-2.8.1.tar.gz
4. Lalu masuk ke folder fuse-2.8.1
cd fuse-2.8.1
5. Lalu ...
sudo ./configure
sudo make
sudo make install
6. Kemudian kembali ke folder di mana file tar sshfs berada, lalu expand file tersebut.
tar xzvf sshfs-fuse-2.2.tar.gz
7. Lalu masuk ke folder sshfs-fuse-2.2
cd sshfs-fuse-2.2
8. Lalu ...
sudo ./configure
Jika muncul error seperti di bawah ini.
checking for SSHFS... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.
atau
checking for SSHFS... configure: error: Package requirements (fuse >= 2.2 glib-2.0 gthread-2.0) were not met:
No package 'glib-2.0' found
No package 'gthread-2.0' found
Maka ikuti perintah berikut ini.
apt-cache search glib2 | grep dev
libglib2.0-dev - Development files for the GLib library
sudo apt-get install libglib2.0-dev
Kemudian ulang ...
sudo ./configure
sudo make
sudo make install
9. Tambahkan user pada server tujuan
sudo adduser $USER fuse
10. Dari client, ketik perintah berikut ini.
sshfs USER@ip_address: /home/USER/Desktop/Share
Dan file di server akan terlihat di dalam folder Share.
Hehe
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment