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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Troy Hunt's Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Attack and Defense Labs
Attack and Defense Labs
S
Secure Thoughts
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
O
OpenAI News
Cloudbric
Cloudbric
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Help Net Security
Help Net Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tenable Blog
S
Security @ Cisco Blogs
N
News and Events Feed by Topic
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
V
Visual Studio Blog
P
Proofpoint News Feed
Webroot Blog
Webroot Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
L
LangChain Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

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个机房按小时计费,支持支付宝,【点击查看】。