CENTOS安装curlftpfs
来源:互联网 发布:继承 多态 java 编辑:程序博客网 时间:2024/06/08 01:58
首先说明:curlftpfs效率还是挺慢的,用于局域网内文件传输会出现不稳定的情况。
1.Fedora可以直接yuminstall curlftpfs,CentOS不行,得用DAGrepository,所以得先安装DAGrepository。
在rpm官网(百度也可)去搜索rpmforge-release并下载长传至Linux上;
2. 执行如下命令进行安装:rpm -Uhvrpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
3. 安装curlftpfs:yum install curlftpfs
4. 挂载FTP服务器
curlftpfs -o codepage=utf8ftp://username:password@192.168.192.168 /ftp
curlftpfs -o rw,allow_otherftp://centos:cloud4c@192.168.17.195 /home/centos/ftp
curlftpfs -o rw,allow_other ftp://192.168.17.195/home/centos/ftp
5. 开机自动挂载
echo "curlftpfs#username:password@192.168.1.111 /ftp fuseallow_other,uid=0,gid=0 0 0" >> /etc/fstab
6. 卸载挂载
fusermount -u /ftp
2、映射:curlftpfs ftp://用户密:密码@10.192.1.18 /home/ts/window
2、取消映射:fusermount -u/home/ts/window
用encfs创建加密文件夹时碰到提示错误fuse: failed to exec fusermount: Permission deniedfuse failed. Common problems: - fuse kernel module not installed (modprobe fuse) - invalid options -- see usage message解决方法:首先确定已经加载fuse模块,并且fuse模块属于fuse组ls -l /dev/fuse可以看到用户是 root fuse 如果是root rootsudo chgrp fuse /dev/fuse然后用groups命令查看当前用户所属的组,如果没有fuse,将当前用户加入sudo usermod -a -G fuse 你的用户名完成后重新登录用户
- CENTOS安装curlftpfs
- CentOS安装curlftpfs,映射远程ftp到本地目录
- 交叉编译curlftpfs
- Linux curlftpfs--挂载FTP服务器
- centos安装
- CentOs安装
- Centos 安装
- CentOS 安装
- Centos 安装
- CentOS安装
- 安装CentOS
- centos安装
- centOS安装
- CentOS安装
- 安装CentOS
- CentOS安装
- Centos安装
- 安装CentOS
- 安卓开发中用Intent传递对象
- 编写类String的构造函数、析构函数和赋值函数
- Unity 自动寻路Navmesh之跳跃,攀爬,斜坡
- jquery选择器
- 正则表达式中的\\1
- CENTOS安装curlftpfs
- Kafka消息队列原理总结
- C++ Language Standards Supported by GCC ( GCC 支持的C++语言标准 )
- ElasticSearch系列08:python操作Elasticsearch
- oj2413:C语言习题 折半查找
- 排序算法(4)--插入排序
- MySql查询优化,高并发控制
- mysql导入大型sql文件时注意事项
- 嵌入式编程感想:会用C语言的是真男人!