Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configuration of FastDFS Cluster and Tracker Cluster in Linux

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Deploy the same content of the Linux machine to build again, you need to modify several configuration files.

Configuration of 1.Storage cluster

Modify the storage.conf and mod_fastdfs.conf on this machine to point to the same 192.168.244.8 tracker 22122

Just start the native storage service and restart nginx:

Systemctl start fdfs_storaged

/ usr/local/nginx/sbin/nginx-s reload

Configuration of 2.Tracker cluster

Modify the storage.conf and mod_fastdfs.conf on all machines to configure their tracker to two machines: 192.168.244.8 and 192.168.244.9

Restart storage and nginx services on all machines

Systemctl start fdfs_storaged

Systemctl stop fdfs_storaged

/ usr/local/nginx/sbin/nginx-s reload

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report