找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 592|回复: 7

ContextOS 研发平台 集群化方案

[复制链接]
  • 打卡等级:偶尔看看
  • 打卡总天数:9
  • 打卡月天数:0
  • 打卡总奖励:919
  • 最近打卡:2025-02-28 09:42:01

7

主题

16

回帖

1013

积分

金牌会员

积分
1013
发表于 2025-2-18 10:59:45 | 显示全部楼层 |阅读模式
本帖最后由 shylinux 于 2025-2-18 23:22 编辑

2025年02月18日,21:00 方案分享会


平台源码 https://git.shylinux.com/dev/dev
平台官网 https://dev.shylinux.com/

1. 安装 ContextOS

        https://shylinux.com

2. 安装 集群项目
       https://2025-dev.shylinux.com/x/20250215-cluster
       https://2025-dev.shylinux.com/x/20250213-machine
       https://2025-dev.shylinux.com/x/20250211-service


3. 部署集群
        export ctx_dev=http://192.168.3.105:9090 ctx_pod=20250215-cluster ctx_name=2025-cluster0; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp binary dev http://192.168.3.105:9090 nodename 2025-cluster0 port 40000
        export ctx_dev=http://192.168.3.105:9090 ctx_pod=20250215-cluster ctx_name=2025-cluster1; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp binary dev http://192.168.3.105:9090 nodename 2025-cluster1 port 40001
        export ctx_dev=http://192.168.3.105:9090 ctx_pod=20250215-cluster ctx_name=2025-cluster2; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp binary dev http://192.168.3.105:9090 nodename 2025-cluster2 port 40002

4. 部署机器
       export ctx_dev=http://192.168.3.105:9090 ctx_pod=20250213-machine; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp app dev dev nodename 20250213-machine

5. 部署服务
       export ctx_dev=http://192.168.3.105:9090 ctx_pod=20250211-service; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp app dev dev nodename 20250211-service












本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

  • 打卡等级:无名新人
  • 打卡总天数:1
  • 打卡月天数:0
  • 打卡总奖励:95
  • 最近打卡:2025-02-08 22:57:20

0

主题

7

回帖

112

积分

注册会员

积分
112
发表于 2025-2-18 11:02:56 | 显示全部楼层
感谢楼主!!
回复

使用道具 举报

0

主题

2

回帖

5

积分

新手上路

积分
5
发表于 2025-2-18 11:11:29 | 显示全部楼层
666
回复

使用道具 举报

  • 打卡等级:无名新人
  • 打卡总天数:1
  • 打卡月天数:0
  • 打卡总奖励:90
  • 最近打卡:2025-02-11 12:45:30

2

主题

8

回帖

112

积分

注册会员

积分
112
发表于 2025-2-18 12:04:04 | 显示全部楼层
支持一下!
回复

使用道具 举报

  • 打卡等级:初来乍到
  • 打卡总天数:3
  • 打卡月天数:0
  • 打卡总奖励:275
  • 最近打卡:2025-02-19 14:27:50

0

主题

8

回帖

308

积分

中级会员

积分
308
发表于 2025-2-18 12:51:55 | 显示全部楼层
感谢楼主分享!!
回复

使用道具 举报

  • 打卡等级:偶尔看看
  • 打卡总天数:11
  • 打卡月天数:1
  • 打卡总奖励:2192
  • 最近打卡:2025-03-21 15:07:05

1

主题

18

回帖

2293

积分

金牌会员

积分
2293
发表于 2025-2-18 22:05:26 来自手机 | 显示全部楼层
感谢楼主分享
回复

使用道具 举报

  • 打卡等级:无名新人
  • 打卡总天数:1
  • 打卡月天数:0
  • 打卡总奖励:90
  • 最近打卡:2025-02-11 12:45:30

2

主题

8

回帖

112

积分

注册会员

积分
112
发表于 2025-3-2 21:59:12 | 显示全部楼层
不错不错,很好哦
回复

使用道具 举报

  • 打卡等级:无名新人
  • 打卡总天数:1
  • 打卡月天数:1
  • 打卡总奖励:622
  • 最近打卡:2025-03-08 14:08:03

0

主题

3

回帖

628

积分

高级会员

积分
628
发表于 2025-3-10 16:32:52 | 显示全部楼层
不错,支持下楼主
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|ContextOS社区

GMT+8, 2025-5-4 01:21 , Processed in 0.084820 second(s), 29 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表