最近在自己的没有用的台式机上面装了centos, 准备在上面装些软件来做分布集群的测试。装系统倒是挺快的,可装上了发现NTFS文件挂载不了。今天google下, 具体的操作如下:
[b]1. 安装fuse[/b]
[list]
[*]wget http://sourceforge.net/project/showfiles.php?group_id=121684
[*]./configure --prefix=/usr
[*]make
[*]modprobe fuse
[/list]
这个过程中发现的错误有:
[color=red]a. configure: error: newly created file is older than distributed files![/color]
这个是Linux系统时间错误, 我这机器好久没有用了,刚装的系统,时间没调整过来。
[color=red]b.configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.[/color]
这个主要是没有安装gcc插件
[b]2. 安装ntfs-3g[/b]
[list]
[*]wget http://download.chinaunix.net/down.php?id=25516&ResourceID=12561&site=1
[*]./configure
[*]make
[*]make install
[/list]
[b]3. 挂载文件[/b]
[list]
[*]fdisk -l
[*]mkdir /mnt/_hda1
[*]mount -t ntfs-3g /dev/hda1 /mnt/_hda1
[*]mount /dev/hdb7 /mnt/hdb7
[*]ls -l /mnt/_hda1
[/list]
[b]1. 安装fuse[/b]
[list]
[*]wget http://sourceforge.net/project/showfiles.php?group_id=121684
[*]./configure --prefix=/usr
[*]make
[*]modprobe fuse
[/list]
这个过程中发现的错误有:
[color=red]a. configure: error: newly created file is older than distributed files![/color]
这个是Linux系统时间错误, 我这机器好久没有用了,刚装的系统,时间没调整过来。
date --set "2011/03/05 13:30"
[color=red]b.configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.[/color]
这个主要是没有安装gcc插件
yum -y install gcc
yum install gcc-c++
[b]2. 安装ntfs-3g[/b]
[list]
[*]wget http://download.chinaunix.net/down.php?id=25516&ResourceID=12561&site=1
[*]./configure
[*]make
[*]make install
[/list]
[b]3. 挂载文件[/b]
[list]
[*]fdisk -l
[*]mkdir /mnt/_hda1
[*]mount -t ntfs-3g /dev/hda1 /mnt/_hda1
[*]mount /dev/hdb7 /mnt/hdb7
[*]ls -l /mnt/_hda1
[/list]