於ubuntu 9.10中欲將遠端web server用SSH的方式掛載需要以下套件
SSHFS
FUSE
打命令
#sudo apt get-install sshfs
完成之後也會將fuse予以安裝。
若用指令掛載,則方式為:
#sshfs user@hostname:dir local_mount
即可將遠端server給mount進來。
若想要開機時不用打這麼多的指令,則需要編輯 /etc/fstab 加入以下的行列
sshfs#my-remote-user@my-remote-host:/home/my-remote-user /my-local-filesystem/remotefs fuse user,noauto 0 0
即可開機後完成掛載的過程。
然後只要有需要用到這個掛載的目錄,系統會跳出輸入框,輸入遠端ssh的密碼即可。
其它資訊連結:
http://www.debuntu.org/2006/04/27/39-mounting-a-fuse-filesystem-form-etcfstab
https://help.ubuntu.com/community/SSHFS

php extension
沒有安裝mbstring所以打下指令安裝: