将CentOS任意目录作为卷挂载到windows

发布时间: 更新时间: 总字数:406 阅读时间:1m 作者:IP:上海 网址

在开发 OpenStack 过程中,如果能将 CentOS 的卷挂载到 windows 在开发源码,可谓是事半功倍。直到有一天,我发现了 sshfs。

下载

安装包下载地址:http://pan.baidu.com/s/1pJsyNFH

注释:sshfs 的 github 仓库:https://github.com/dokan-dev/dokan-sshfs

安装

  1. 首先安装 vcredist_x64.exe。

  2. 安装 DokanInstall_0.6.0.exe。

注释:Dokan 下载地址:https://github.com/dokan-dev/dokany/releases

  1. 安装 win-sshfs-0.0.1.5-setup.exe。

运行时,杀毒软件可能误报,加入白名单即可。

操作

  1. 点击左下角的 add,在右侧填写所需的登录信息。

  2. 让后点击 save 保存,然后点击 mount,即可将 centos 的制定目录作为卷挂载到本地。

注: 本教程 windows7 专业版测试通过。

官方地址:http://dokan-dev.github.io/