想說來試試看
1.連到http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html將需要的檔案下載
2.安裝python2.3-dev
- 代碼: 選擇全部
#apt-get install python2.3-dev
3.安裝fuse網頁上說需要fuse
- 代碼: 選擇全部
#apt-cache search fuse
autossh - Automatically restart SSH sessions and tunnels
dcgui-qt - graphical client for Direct Connect
fuse-source - Filesystem in USErspace (source for kernel module)
fuse-utils - Filesystem in USErspace (utilities)
libconfuse-dev - Development files for libConfuse
libconfuse0 - Library for parsing configuration files
libdc0 - Runtime libraries for dcgui-qt
libdc0-dev - Development libraries for dcgui-qt
libfuse-dev - Filesystem in USErspace (development files)
makeself - utility to generate self-extractable archives
pmccabe - McCabe-style function complexity and line counting for C and C++
pop-before-smtp - watch log for pop/imap auth, notify Postfix to allow relay
psmisc - Utilities that use the proc filesystem
quixote - A highly Pythonic Web application framework
rioutil - Talk to USB based Diamond MM products
smtp-refuser - Simple spam-block with refusal message
wmbubble - A system-load meter for Window Maker that features a duck
xfree86-common - X Window System (XFree86) infrastructure
xlockmore - Lock X11 display until password is entered.
xlockmore-gl - Lock X11 display until password is entered -- GL version
不知道要安裝那些
所以我就安裝了
- 代碼: 選擇全部
#apt-get install fuse-source fuse-utils libconfuse-dev libconfuse0 libfuse-dev smtp-refuser
4.解開fuse-python.tar.gz
- 代碼: 選擇全部
$tar zxvf fuse-python.tar.gz
$cd fuse-python
$python setup.py build
$su -
#python setup.py install
5.解開libgmail-0.0.8.tgz
- 代碼: 選擇全部
$tar zxvf libgmail-0.0.8.tgz
$su -
#cp libgmail.py /usr/local/lib/python2.3/site-packages/
#cp constants.py /usr/local/lib/python2.3/site-packages/
6.解開gmailfs.tar.gz
- 代碼: 選擇全部
$tar zxvf gmailfs.tar.gz
$su -
#cp gmailfs.py /usr/local/bin/gmailfs.py
#cp mount.gmailfs /sbin/mount.gmailfs
7.編輯/etc/fstab
- 代碼: 選擇全部
#vi /etc/fstab
加入/usr/local/bin/gmailfs.py /mnt/gmail gmailfs noauto,username=gmailuser, password=gmailpass, fsname=zOlRRa
8.建立/mnt/gmail
- 代碼: 選擇全部
#mkdir /mnt/gmail
9.mount gmail
- 代碼: 選擇全部
#mount /mnt/gmail
這時出現錯誤的訊息
- 代碼: 選擇全部
rostin:~# modprobe: Can't locate module fuse
fusermount: unable to open fuse device /proc/fs/fuse/dev: No such file or directory