From e73c51f5139b8a571b41effe36fe8ae1da60bc6a Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 20 Feb 2026 00:13:31 +0100 Subject: [PATCH 1/2] Add SBC2048 installation and deployment script This script installs necessary packages, sets up folder structure, initializes buffers, creates a default cluster configuration, launches services, and syncs across nodes for SBC2048 deployment. --- Sbc2048_install.sh | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Sbc2048_install.sh diff --git a/Sbc2048_install.sh b/Sbc2048_install.sh new file mode 100644 index 0000000..a0d1d4d --- /dev/null +++ b/Sbc2048_install.sh @@ -0,0 +1,62 @@ +#!/bin/bash +set -e + +# 1️⃣ Update & Install Packages +echo "[DEPLOY] Installing dependencies on local node..." +pkg update -y +pkg install -y python nodejs rust busybox git sqlite clang sshpass tmux + +pip install --upgrade pip +pip install torch scipy numpy sympy networkx flask flask_socketio pyyaml +npm install -g brain.js express + +# 2️⃣ Create Folder Structure +echo "[DEPLOY] Creating folders..." +mkdir -p ~/sbc2048/{devcontainer/{builders,cache,plugins},neural,ports,buffer/{stageA,stageB,stageC},cli,control,db,artifacts,cluster,dashboard} + +# 3️⃣ Initialize Buffers & Caches +for stage in stageA stageB stageC; do + busybox dd if=/dev/zero of=~/sbc2048/buffer/$stage/swap.bin bs=1M count=64 +done +langs="python node rust perl dart r swift pascal d" +for L in $langs; do + mkdir -p ~/sbc2048/devcontainer/cache/L2/$L + busybox dd if=/dev/zero of=~/sbc2048/devcontainer/cache/L2/$L/cache.bin bs=1M count=128 +done + +# 4️⃣ Copy nodes.json to cluster folder +if [ ! -f ~/sbc2048/cluster/nodes.json ]; then + echo "[DEPLOY] Creating default cluster nodes.json..." + cat > ~/sbc2048/cluster/nodes.json < Date: Fri, 20 Feb 2026 05:49:59 +0100 Subject: [PATCH 2/2] Aktualisieren von Sbc2048_install.sh --- Sbc2048_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sbc2048_install.sh b/Sbc2048_install.sh index a0d1d4d..b459f36 100644 --- a/Sbc2048_install.sh +++ b/Sbc2048_install.sh @@ -6,8 +6,8 @@ echo "[DEPLOY] Installing dependencies on local node..." pkg update -y pkg install -y python nodejs rust busybox git sqlite clang sshpass tmux -pip install --upgrade pip -pip install torch scipy numpy sympy networkx flask flask_socketio pyyaml +Pkg install pip3 +pip3 install torch scipy numpy sympy networkx flask flask_socketio pyyaml npm install -g brain.js express # 2️⃣ Create Folder Structure