MFS源码编译安装配置

https://pan.baidu.com/s/1-qeGCqjg40fz5NywL32pxA //安装包链接
首先准备四台虚拟机
分别是
192.168.80.110 搭建master server
192.168.80.111 :元数据日志服务器
192.168.80.112 数据服务器(chunkservers)
192.168.80.115 客户端

步骤:
一、搭建master server

1、安装相关编译器、工具包(所有服务器都得安装)

yum  install gcc gcc-c++ make   zlib-devel  fuse-devel -y
yum install lrz* -y
yum install unzip -y

2、创建进程用户

useradd   -s   /sbin/nologin   mfs

3、安装mfs软件包(链接在最顶部)

unzip   moosefs-master.zip    -d /opt    
cd  /opt/moosefs-master


./configure    --prefix=/usr/local/mfs  \
--with-default-user=mfs  \
--with-default-group=mfs  
 
 make && make install    #编译及编译安装

4、修改相关文件信息

cd /usr/local/mfs/etc/mfs/

cp   mfsexports.cfg.sample  mfsexports.cfg     #输出目录配置文件,定义挂载以及权限设定文件

cp mfsmaster.cfg.sample mfsmaster.cfg #主配置文件
 
cp mfstopology.cfg.sample  mfstopology.cfg #元数据日志文件
 
cd /usr/local/mfs/var/mfs/
 
cp metadata.mfs.empty metadata.mfs #master元数据文件

在这里插入图片描述
5、详解主配置文件

(可忽略)

cd /usr/local/mfs/etc/mfs/
 
vi   mfsmaster.cfg  #此文件中,有注释符号的就是默认配置
 
# WORKING_USER = mfs             #运行master服务的用户
# WORKING_GROUP = mfs            #运行master服务的组
# SYSLOG_IDENT = mfsmaster       #在syslog中表示是mfsmaster产生的日志,在syslog的标识,说明由master服务产生的
# LOCK_MEMORY = 0                #是否执行mlockall(),避免master进程溢出(默认为0)
# NICE_LEVEL = -19               #运行的优先级(如果可以&#x
mfs-1.6.27-1.tar.gz 压缩文件, 解包大小为 3,673,037 字节 2013.3.24 发布版 --------------------------------------------------------- MooseFS is an Open Source, easy to deploy and maintain, distributed, fault tolerant file system for POSIX compliant OSes. MooseFS uses FUSE (http://fuse.sourceforge.net/). MooseFS v1.5 - 1.6 ============ Date of first public release: 2008-05-30 Project web site: http://www.moosefs.com/ Installation and using MooseFS: http://www.moosefs.org/reference-guide.html Sourceforge project site with source repository: http://sourceforge.net/projects/moosefs/ Reporting bugs: bugs@moosefs.com General contact address: contact@moosefs.com Copyright ========= Copyright 2005-2011 Gemius SA. MooseFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. MooseFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with MooseFS. If not, see <http://www.gnu.org/licenses/>. Compatibility matrix ==================== (tested Operating Systems only): Client Master Chunkserver Linux 2.6.x (i386): YES YES YES FreeBSD 5.x (i386+amd64): NO YES YES FreeBSD 6.x (i386+amd64): YES YES YES FreeBSD 7.x (i386+amd64): YES YES YES FreeBSD 8.x (i386+amd64): YES YES YES MacOS X 10.3 (Panther, ppc): NO YES YES MacOS X 10.4 (Tiger, ppc+i386): YES YES YES MacOS X 10.5 (Leopard, ppc+i386): YES YES YES MacOS X 10.6 (Snow Leopard): YES YES YES Solaris 10 (sparc): NO YES YES OpenSolaris (i386): YES YES YES
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值