The default CentOS yum is not mogilefs, but you do not have to install through the source code, you can install through the Epel.
Epel does not seem to be part of the CentOS, it belongs to Fedora. You can install with the following command:
After installing the Epel, you can install the mogilefs by Yum. You can use Yum search mogilefs to find out what packages are available to install.
However, in some cases, you may encounter such a problem:
[Errno-1] Metadata file does not match checksum trying other Mirro
I do not know the cause of the problem, I searched in turn to try the following methods:
Yum Clean metadata
Yum Clean All
has no effect, but the problem remains the same.
But I changed a machine. It is also centos5.3 to install successfully. The specific reason I am not yet known. But please do not try to say yum-y remove yum-fastestmirror on the Internet. Practice proved that he would unload the Yum itself, causing me to reload the yum.
Later, after testing, found that the problem of the machine is due to Mogstored-backend-apache can not be installed before the phenomenon. If you don't pretend to be mogstored-backend-apache, everything is fine. Later found that if you want to run mogstored, you must also need Mogstored-backend-apache package. Helpless had to try again, unexpectedly success. The reason is unknown, the individual analysis may have to be installed separately, the previous installation of the package modified some of the system configuration caused Mogstored-backend-apache successfully installed. So if you're in the same situation, don't stick with a few packages like I did, but one installation, and it might work.
If you can solve this problem, please give me a message Coofucoo at gmail.com