CentOS下要对Windows的文件系统进行读写需要添加Linux下的NTFS驱动程序“NTFS-3G”。
NTFS-3G是一个开源项目,目的是为Linux提供NTFS的驱动程序。能够安全快速的对Windows XP, Windows Server 2003, Windows 2000 and Windows Vista的文件系统进行读写。
步骤:
1、备份镱像源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2、添加aliyun的epel源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 注:epel-7.repo 可用于centOS7-8。 如果是centOS6 则改为 epel-6.repo
3、yum 安装ntfs-3g
yum install ntfs-3g
4、判断 yum 安装ntfs-3g是否成功
yum list installed | grep ntfs-3g
5、重启电脑即可




