分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 代码编程

centos挂载ntfs文件系统

发布时间:2023-09-06 01:50责任编辑:彭小芳关键词:暂无标签

centos系统默认不能识别ntfs文件系统,比如插入u盘,或者windows/linux双系统,都读不出来。经过搜索阅读centos wiki得知,可以安装ntfs-3g来使centos支持挂载ntfs文件系统。

<!> While older ntfs drivers were prone to eat your data in r/w-mode, ntfs-3g seems to be r/w safe. See the ntfs-3g page for more information.The EPEL repository carries ntfs-3g packages for CentOS-7 and CentOS-6. To install, after enabling the EPEL repo per the Repositories page:

1, 官网下载:ntfs-3g

英文网站,粗略一观本人没有找到下载链接,遂放弃,改为yum安装。

2,yum安装ntfs-3g

要使用yum安装ntfs-3g需要先添加第三方存储库: EPEL,根据文档介绍运行如下命令:

[root@localhost Downloads]# yum --enablerepo = extras install epel-releaseLoaded plugins: fastestmirror, langpacksError getting repository data for =, repository not found[root@localhost Downloads]# yum --enablerepo = extras install epel-release.noarch Loaded plugins: fastestmirror, langpacksError getting repository data for =, repository not found

但是无论是执行文档所说的命令还是我电脑系统自动补全的命令,都不成功,于是继续阅读EPEL官方文档

You may retrieve signed binary configuration files from one the above two links (varying by the major release number of the installation target machine). They may be automatically installed by root thus:

  • RHEL/CentOS 6:
 ??# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
  • RHEL/CentOS 7:
 ??# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

按照以上快速开始部分的说明执行命令,成功安装。或者你也可以直接运行: yum install epel-release

NOTE for CentOS users
You can install EPEL by running yum install epel-release. The package is included in the CentOS Extras repository, enabled by default.
 
接下来正式安装ntfs-3g: yum install ntfs-3g fuse
[root@localhost Downloads]# yum install ntfs-3g fuse Loaded plugins: fastestmirror, langpacksepel/x86_64/metalink ????????????????????????????????????| 7.5 kB ????00:00......Installed: ?ntfs-3g.x86_64 2:2017.3.23-1.el7 ?????????????????????????????????????????????Updated: ?fuse.x86_64 0:2.9.2-8.el7 Complete!

安装完成之后,再插入u盘,成功识别。

centos挂载ntfs文件系统

原文地址:https://www.cnblogs.com/xytotem/p/8893687.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved