「腾达签名」 - 解决苹果app/ipa/tf/ios企业超级签名下载掉签难题「腾达签名」

专注IOS苹果签名内测
解决APP签名下载难题

centos下搭建分布式存储系统(MFS)

centos下搭建分布式存储系统(MFS)-「腾达签名」

实在懒得翻译了,大家讲究这看吧,也就那几个命令,如果有什么问题何以随时联系站长 QQ:53273291

Moosefs-1.6.10 INSTALL

Use software:

1 fuse-2.7.4.tar.gz
2 mfs-1.6.10.tar.gz

Master install and running steps:

#add mfs user:

useradd mfs –s /sbin/nologin

#install mfs:

tar zxvf mfs-1.6.10.tar.gz
cd mfs-1.6.10
./configure –prefix=/usr/local/mfs –with-default-user=mfs –with-default-group=mfs
make
make install

#produce and modify configuration file:

cd /usr/local/mfs/etc
cp mfsmaster.cfg.dist mfsmaster.cfg
cp mfsmetalogger.cfg.dist mfsmetalogger.cfg
vi mfsmetalogger.cfg –> MASTER_HOST = 192.168.0.19
mkdir /var/run/mfs
chown –R mfs:mfs /var/run/mfs
#running mfsmaster:

cd /usr/local/mfs
sbin/mfsmaster start
sbin/mfsmetalogger start
#check process: 
ps aux | grep mfsmaster 
#check system log:
tail –f /var/log/messages 
#check network status:
netstat –an | grep tcp
tcp4       0     52  192.168.0.19.22        192.168.1.252.49020    ESTABLISHEDtcp4       0      0  192.168.0.19.9420      192.168.0.75.16178     ESTABLISHED
tcp4       0      0  192.168.0.19.9420      192.168.0.72.42870     ESTABLISHED
tcp4       0      0  192.168.0.19.9420      192.168.0.71.2740      ESTABLISHED
tcp4       0      0  192.168.0.19.9420      192.168.0.73.38114     ESTABLISHED
tcp4       0      0  192.168.0.19.9419      192.168.0.19.25712     ESTABLISHED
tcp4       0      0  *.9421                 *.*                    LISTEN
tcp4       0      0  *.9420                 *.*                    LISTEN
tcp4       0      0  *.9419                 *.*                    LISTEN

Everything seems to be fine!!!!!

Chunkserver install and running steps:

#add mfs user :

useradd mfs –s /sbin/nologin

#install mfs

tar zxvf mfs-1.6.10.tar.gz
cd mfs-1.6.10
./configure –prefix=/usr/local/mfs –with-default-user=mfs –with-default-group=mfs
make
make install
#produce and modify configuration file:
cd /usr/local/mfs/etc
cp mfschunkserver.cfg.dist mfschunkser.cfg
cp mfshdd.cfg.dist  mfshdd.cfg
vi mfschunkserver.cfg –> MASTER_HOST = 192.168.0.19
vi mfshdd.cfg –> /data (It is a separate partition)
mkdir /var/run/mfs
chown –R mfs:mfs /var/run/mfs
chown –R mfs:mfs /data

#running mfsmaster:

cd /usr/local/mfs
sbin/mfschunkserver start

#check process:

ps aux | grep mfsmaster

#check system log:

tail –f /var/log/messages

#check network status:

netstat –an | grep tcp

#check directory /data , Observed the existence of a file or directory:

ls –al /data
[root@mfs-1 etc]# ls -al /data/total 1036

drwxr-xr-x 258 mfs  mfs  4096 Dec 23 11:59 .
drwxr-xr-x  24 root root 4096 Dec 22 10:17 ..
drwxr-x—   2 mfs  mfs  4096 Dec 23 11:59 00
drwxr-x—   2 mfs  mfs  4096 Dec 23 11:59 01
drwxr-x—   2 mfs  mfs  4096 Dec 23 11:59 02
drwxr-x—   2 mfs  mfs  4096 Dec 23 11:59 03

Everything seems to be fine!!!!!

Mfs client install and mount operation steps:

#add mfs user :

useradd mfs –s /sbin/nologin

#install mfs: 

tar zxvf mfs-1.6.10.tar.gz
cd mfs-1.6.10
./configure –prefix=/usr/local/mfs –with-default-user=mfs –with-default-group=mfs –enable-mfsmount
make
make install

mount mfs:

#when os is freebsd:

mkdir /mnt/mfs
/usr/local/mfs/bin/mfsmount -h 192.168.0.19
df –h Output is as follows
shoucang5# df -h Filesystem                        Size    Used   Avail Capacity  Mounted on

           /dev/ad4s1a                          19G    1.8G     16G    10%    /
           devfs                               1.0K    1.0K      0B   100%    /dev
           /dev/fuse0                          7.1T      0B    7.1T     0%    /mnt/mfs

#when os is centos:

mkdir /mnt/mfs
/usr/local/mfs/bin/mfsmount -H 192.168.0.19 /mnt Output is as follows
[root@dl-src mfs]# bin/mfsmount -H 192.168.0.19 /mntmfsmaster register error: Permission denied

It is not fine!!!!!!!

Note:If found not fuse , you can perform command in unix shell .

#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

But when I use mfs-1.5.12 as mfsclient installing to mount master(version1.6.10),It is ok!

苹果签名www.nanti.net

企业签名www.nanti.net

超级签名www.nanti.net

TF签名www.nanti.net

centos下搭建分布式存储系统(MFS)-「腾达签名」
本原创文章未经允许不得转载 | 当前页面:「腾达签名」 » centos下搭建分布式存储系统(MFS)

评论