当前位置:网站首页>MFS details (VII) -- MFS client and web monitoring installation configuration
MFS details (VII) -- MFS client and web monitoring installation configuration
2022-06-13 06:23:00 【Always a teenager】
Today I will continue to introduce Linux Operation and maintenance related knowledge , The main content of this paper is MFS Client configuration .
One 、MFS Client installation
In the previous series , We finished MFS Server side 、 Metadata log and Chunk Server Installation and configuration . today , Let's configure MFS The client of .
And MFS The installation process of the server is similar , We first need to download MFS The dependency package of , Carry out orders :
yum install -y rpm-build zlib-devel fuse-devel
after , We need to create a run first MFS Users of , Carry out orders :
useradd -s /sbin/nologin mfs
After completion , We upload MFS Source code installation package , And unpack it . Enter the extracted directory , We carry out orders :
./configure --prefix=/usr/local/mfs --with-default-user=mfs --with-default-group=mfs --enable-mfsmount
Be careful , During the above precompiling process , We used –enable-mfsmount Parameters , Open for indication mfsmount service .
after , We can compile and install , Carry out orders :
make &&make install
such , our MFS The service is installed .
Two 、MFS Client link
stay MFS After the service is installed , We can then use MFS The client is linked to the server .
First , We need to enable fuse modular , Carry out orders :
mdprobe fuse
To enable the module . after , We can use lsmod Command to view the enabled modules , And use grep Grab , You can determine whether the module is turned on , As shown below :
after , We can use MFS To mount and use the server disk , Carry out orders :
/usr/local/mfs/bin/mfsmount /mfs -H 192.168.136.11 -p
You can mount . In the above order ,/mfs For a local directory , Indicates the directory we are going to mount ,-H The parameter indicates the to be mounted MFS The server ,-p The parameter indicates that the password is used for authentication . We can link the command file to by soft linking /usr/bin Under the table of contents , So you don't have to type the absolute path every time .
After the order is executed , We need to type MFS Service management equipment root User's password , After successfully entering the password , You can mount successfully , The execution result of this command is as follows :
stay MFS After the client is successfully mounted , We try to /mfs Write something to the directory . after , We go back to MFS Chunk Server End , Carry out orders :
tree /mfs
You can see the trace we wrote on the client , As shown below :
3、 ... and 、MFS web Monitoring configuration
Last , Let's configure it MFS Of web monitor .
stay MFS On the management server , Carry out orders :
/usr/loca/mfs/sbin/mfscgiserv
Can be opened MFS Of web monitor , The execution result of this command is as follows :
After the order is executed , Will listen on the local device 9425 port , As shown below :
Next , Let's find a browser and try to access the port , The results are shown below :
In the input box above , We type in MFS Manage the of the server IP Address , You can see the basic information of the server , The results are shown below :
Originality is not easy. , Reprint please explain the source :https://blog.csdn.net/weixin_40228200
边栏推荐
- 1+1>2,Share Creators可以帮助您实现
- [var const let differences]
- Echart柱状图:堆叠柱状图显示value
- Dart class inherits and implements mixed operators
- 超有范的 logo 在线设计制作工具
- Echart line chart: when multiple lines have the same name, the legend is still displayed
- JVM Foundation
- Download and installation of universal player potplayer, live stream m3u8 import
- Custom view - extensible collapsexpendview
- Regular verification of mobile phone number, landline email ID card
猜你喜欢

AI realizes "Resurrection" of relatives | old photo repair | old photo coloring, recommended by free app

华为开发者认证与DevEco Studio编译器下载

Learning records countless questions (JS)

Echart histogram: stacked histogram displays value

Free screen recording software captura download and installation

Uniapp secondary encapsulates uview components, and the parent component controls display and hiding

SSM框架整合--->简单后台管理

Complete USB debugging assistant

pthon 执行 pip 指令报错 You should consider upgrading via ...

【ONE·Data || 带头双向循环链表简单实现】
随机推荐
超有范的 logo 在线设计制作工具
Dynamic link library nesting example
电镀挂具RFID工序管理解决方案
1+1>2,Share Creators可以帮助您实现
USB debugging assistant
Echart柱状图:echart实现堆叠柱状图
Time complexity and space complexity
The jadx decompiler can decompile jars and apks
Recyclerview has data flicker problem using databinding
JS to realize bidirectional data binding
Wechat applet jumps to H5 page with parameters
Commit specification
El form form verification
Dart class inherits and implements mixed operators
Printf function
js将文本转成语言播放
Learning records countless questions (JS)
Echart line chart: multiple line charts show only one line at a time
Using the shutter floor database framework
pthon 执行 pip 指令报错 You should consider upgrading via ...