1.备份
[plain] view plain copy print?
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup
mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup
2.下载新的repo到/etc/yum.repos.d/
[plain] view plain copy print?
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
3.运行yum makecache生成缓存
[plain] view plain copy print?
yum clean all
yum makecache
4.安装ntfs-3g
[plain] view plain copy print?
yum install ntfs-3g
5.挂载NTFS分区(这里假设sda3为NTFS分区)
[plain] view plain copy print?
mkdir /mnt/sda3
mount -ro ntfs-3g /dev/sda3 /mnt/sda3
cd /mnt/sda3
ls -l
6.卸载NTFS分区(这里仍然以sda3为例)
[plain] view plain copy print?
umount /dev/sda3