主要有:
MySQL集群

Redis集群

FastDFS集群

K8S集群

Nginx集群

MongoDB集群

Zookeeper集群


Linux服务器开发中如何使用redis
安装redis集群第一步:安装相关依赖包1):安装redis-cluster依赖:redis-cluster的依赖库在使用时有兼容问题,在reshard时会遇到各种错误,请按指定版本安装.
(1)确保系统安装zlib,否则geminstall会报(nosuchfiletoload--zlib)/path//gem/usr/local/bin或者yuminstallrubygems
(3)安装gem-redis:version(3.0.0)
地址:第二步:安装
cd/home/lvnian/tools//cpredis-server/usr/local/bincpredis-cli/usr/local//usr/local/bin
创建集群需要的目录
[root@gaogd/]mkdir-p/redis/{6000..6005}[root@gaogd/]:396000:546001:396002:396003:516004:396005[root@gaogdredis]netstat-lntp|:60000.0.0.0:*LISTEN11046/:60010.0.0.0:*LISTEN11041/:60020.0.0.0:*LISTEN11049/:60030.0.0.0:*LISTEN11052/:60040.0.0.0:*LISTEN11055/:60050.0.0.0:*LISTEN11058/:160000.0.0.0:*LISTEN11046/:160010.0.0.0:*LISTEN11041/:160020.0.0.0:*LISTEN11049/:160030.0.0.0:*LISTEN11052/:160040.0.0.0:*LISTEN11055/:160050.0.0.0:*LISTEN11058/redis-server[root@gaogdredis]./:6000127.0.0.1:6001127.0.0.1:6002127.0.0.1:6003127.0.0.1:6004127.0.0.1:6005CreatingclusterPerforminghashslotsallocationon6nodesUsing3masters:127.0.0.1:6000127.0.0.1:6001127.0.0.1:6002:6003:6000:6004:6001:6005:6002M::6000slots:0-5460(5461slots)masterM:7:6001slots:5461-10922(5462slots)masterM:75:6002slots:10923-16383(5461slots)masterS:2:6003replicatesd968e771065b571e832b32b793ae235269ae7c6cS::6004replicates7d8a4d617f2ada37f0efbdc1ce23accd9930a853S:6668:6005replicates75a450d2d95eb5849aa33f50b1c6c6fac701aebfCanIsettheaboveconfiguration?(type'yes'toaccept):yesNodesconfigurationupdatedAssignadifferentconfigepochtoeachnode11046:M09May03:39:21.630configEpochsetto2viaCLUSTERSET-CONFIG-EPOCH11049:M09May03:39:21.631configEpochsetto4viaCLUSTERSET-CONFIG-EPOCH11055:M09May03:39:21.631configEpochsetto6viaCLUSTERSET-CONFIG-EPOCHSingCLUSTERMEETmessagestojointhecluster11046:M09May03:39:21.660:M09May03:39:21.736:M09May03:39:21.736:S09May03:39:25.655Clusterstatechanged:ok11058:S09May03:39:25.657:6000