惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Know Your Adversary
Know Your Adversary
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
罗磊的独立博客
宝玉的分享
宝玉的分享
Vercel News
Vercel News
Martin Fowler
Martin Fowler
N
Netflix TechBlog - Medium
P
Proofpoint News Feed
T
Threatpost
Security Latest
Security Latest
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
I
Intezer
P
Privacy International News Feed
D
Docker
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
M
MIT News - Artificial intelligence
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
Lohrmann on Cybersecurity
Google DeepMind News
Google DeepMind News
The Last Watchdog
The Last Watchdog
A
Arctic Wolf
IT之家
IT之家
S
SegmentFault 最新的问题
S
Securelist
博客园 - 叶小钗
N
News and Events Feed by Topic
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
Hacker News: Ask HN
Hacker News: Ask HN
博客园 - Franky
GbyAI
GbyAI
AI
AI
Y
Y Combinator Blog
WordPress大学
WordPress大学
Latest news
Latest news
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
N
News | PayPal Newsroom
The Cloudflare Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
I
InfoQ

Rat's Blog - ftp

Filestash:一个多功能的Web端文件管理器,支持SFTP/GDrive/Dropbox/S3等 - Rat's Blog Xshell 6官方永久免费版,可解决评估期已过的提示问题 - Rat's Blog 一个在浏览器上运行的FTP客户端:SPRUT.io安装教程 - Rat's Blog 推荐3款流行的Linux VPS主机FTP文件管理软件 - Rat's Blog Ubuntu 安装Fail2ban服务来防止暴力破解FTP/SSH - Rat's Blog VPS FTP快速安装教程 - Rat's Blog
Linux VPS通过安装CurlFtpFS来挂载FTP,可用来备份文件 - Rat's Blog
博主: Rat's · 2017-11-27 · via Rat's Blog - ftp
  •  发布时间:
  •  19127 次浏览
  •   5 条评论
  •  1178 字数
  • 分类: 主机教程
  1.  首页
  2. 正文  
  3. 分享到:

说明:关于VPS挂载网盘的方法,之前说了很多了,现在再说个挂载FTP的方法,就是通过安装CurlFtpFS来挂载FTP,不仅可以增加VPS空间,还可以进行文件备份,关键可以挂载虚拟主机的FTP空间,这是很不错的,毕竟虚拟主机便宜,而且出现数据丢失的情况也是很小的。

安装

系统要求:DebianUbuntuCentOS

1、安装CurlFtpFS

#CentOS系统
yum -y install epel-release
yum -y install curlftpfs

#Debian/Ubuntu系统
apt-get install curlftpfs -y

2、挂载FTP

#创建目录,路径及名称自己定
mkdir /home/ftp
#挂载FTP
curlftpfs ftp.yourserver.com /home/ftp -o user=username:password

参数说明:

ftp.yourserver.com  #FTP地址
/home/ftp  #本地目录
username  #FTP用户名
password  #FTP密码

3、检查
输入df -h命令查看下是否挂载成功。
请输入图片描述
最后可以将文件上传至本地文件夹/home/ftp进行备份了。

如果在挂载的时候出现如下错误:

fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option

最简单的解决方法就是让挂载的本地目录变成空文件夹即可。

相关教程

文章参考:Linux安装CurlFtpFS挂载FTP


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/424/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。