free
top -Hp
top -H
ifconfig
ps -ef 
java -version
ll
su - forge
ll
which jq
su - forge
ll
exit
ll
su - forge
pi
su - forge
netstat -lntp
cd /etc/caddy/
ll
cat Caddyfile 
vim Caddyfile 
systemctl restart caddy
ll
cd
su - forge
rm -rf /home/forge/.forge/
ll
rm -rf /home/forge/forge/
su - forge
ll
cd workspace/
ll
cat troubleshooting-guide.md 
ll
su - forge
ll
cd
cd /etc/caddy/
ll
vim Caddyfile 
cd
systemctl resatrt caddy
systemctl restart caddy
ll
lscpu
free -m
ll
df -h
free -m
uname -a
ll
cd workspace/
;;
ll
cd aliyunworkspace/
ll
cd pi-web/
ll
git pull
git status
rm -rf package-lock.json 
ll
git checkout feat/replit-design-tokens 
ll
git pull
git status
ll
git branch
ll
./appctl.sh install
./appctl.sh build
rm -rf .next/
ll
./appctl.sh build
which bun
curl -fsSL https://bun.sh/install | bash
cd
pi
cd workspace/
ll
cd aliyunworkspace/
ll
cd pi-web/
ll
./appctl.sh install
./appctl.sh build
./appctl.sh restart
ll
netstat -lntp
ll
free -m
lscpu
free -m
pwd
cd
cd workspace/aliyunworkspace/
ll
cd pi-web/
ll
pi
ll
cd workspace/
ll
cd aliyunworkspace/
ll
cd forge/
ll
pnpm config set registry https://registry.npmmirror.com
pnpm config get registry
pnpm install
ll
pnpm config set registry https://registry.npmmirror.com
npm config set electron_mirror https://npmmirror.com/mirrors/electron/
pi
apt install fd
which fd
pi
sed -i 's|http://.*archive.ubuntu.com|https://mirrors.aliyun.com|g' /etc/apt/sources.list
sed -i 's|http://.*security.ubuntu.com|https://mirrors.aliyun.com|g' /etc/apt/sources.list
apt install fd
pi
cd
which caddy
which xcaddy
ll
which caddy
cd /etc/caddy/
ll
vim Caddyfile 
cd
cd workspace/aliyunworkspace/
ll
cd forge/
ll
pwd
sytemctl restart caddy
systemctl restart caddy
netstat -lntp
curl -v https://test.xintechai.com
netstat -lntp
ll
cd
pi
ll
cd workspace/aliyunworkspace/
ll
cd forge/
ll
./appctl.sh build
ll
cd ..
ll
cd ..
ll
mkdir forgeworkspace
cd forgeworkspace/
ll
owd
pwd
cd ..
ll
cd aliyunworkspace/forge/
ll
vim .env
cat .env
vim .env
su - forge
pwd
cd
cd workspace/
ll
cd aliyunworkspace/
ll
git clone git@codeup.aliyun.com:66988a43c3f44f74f430c297/agent/pi-web.git
cd pi-web/
ll
npm install
ll
./appctl.sh build
su -forge
su - forge
cd
lark-cli auth login
cd workspace/
ll
cd aliyunworkspace/
ll
cd pi-web/
ll
./appctl.sh build
ll
pi
./appctl.sh install
./appctl.sh build
pi
ll
git status
git  pull
./appctl.sh build
NODE_OPTIONS=--max-old-space-size=2048 ./appctl.sh build
ll
rm -rf node_modules/
ll
rm -rf package-lock.json 
ll
./appctl.sh install
./appctl.sh build
netstat -lntp
free -m
lscpu
./appctl.sh start
netstat -lntp
netstat restart
./appctl.sh restart
ll
netstat -lntp
cd
cd /etc/caddy/
ll
vim Caddyfile 
systemctl caddy restart
systemctl restart caddy
free -m
lscpu
free -m
top
ll
free -m
ll
cd
cd workspace/aliyunworkspace/
ll
cd pi-web/
ll
git pull
./appctl.sh install
./appctl.sh build
git pull
./appctl.sh install
./appctl.sh build
ll
rm -rf .next/
ll
./appctl.sh build
git pull
./appctl.sh build
./appctl.sh install
./appctl.sh build
ll
rm -rf .next/
ll
./appctl.sh build
free -m
lscpu
ll
./appctl.sh restart
ll
cd
free -m
ll
apt-get update
apt-get install postgresql postgresql-client
ll
netstat -lntp
pi
ll
netstat -lntp
df -h
free -m
ll
pi
ping open-connector.guojian0911.workers.dev
pi
ping openconnector.xintechai.com
ll
free -m
ll
ll
df -h
du -sh *
lscpu
free -m
ll
curl -fsSL https://pi.dev/install.sh | sh
ll
apt update
apt install curl vim wget gnupg dpkg apt-transport-https lsb-release ca-certificates
apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
apt install unzip
apt-get install git
apt-get install jq
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86\_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh
source .bashrc
ll
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source .bashrc
which nvm
nvm -h
nvm install 22
node --version
npm config get registry
curl -LsSf https://astral.sh/uv/install.sh | sh
source .bashrc
uv --version
curl -fsSL https://bun.sh/install | bash
source .bashrc
ll
rm -rf Miniconda3-latest-Linux-x86_64.sh 
ll
wget -c https://dl.google.com/go/go1.25.12.linux-amd64.tar.gz -O - | tar -xz -C /usr/local
cd /usr/local/
ll
cd go/
ll
cd bin/
ll
./go --version
cd
vim .bashrc
mkdir go
ll
source .bashrc
which go
go version
apt install gnupg curl apt-transport-https debian-keyring debian-archive-keyring -y
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
apt update
apt install caddy -y
which caddy
systemctl enable --now caddy
netstat -lntp
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
apt install xcaddy
systemctl start caddy
netstat -lntp
ll
which caddy
ll
apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-xcaddy-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-xcaddy.list
apt install xcaddy
which xcaddy
ll
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
ping github.com
which pi
curl -fsSL https://pi.dev/install.sh | sh
time curl -I https://registry.npmjs.org/
time curl -I https://registry.npmmirror.com/
time curl -I https://pypi.org/
time curl -I https://mirrors.aliyun.com/pypi/simple/
# Docker 是否能连 Hub
time curl -I https://registry-1.docker.io/v2/
go env | grep -E 'GOPROXY|GOSUMDB'
time curl -I https://proxy.golang.org
go env -w GO111MODULE=on
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
go env | grep -E 'GOPROXY|GOSUMDB'
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
which xcaddy
ll
ssh-keygen -t ed25519 -C "guojian_aliyun@aliyun.com"
cd .ssh/
ll
cat id_ed25519.pub 
cd
mkdir workspace
cd workspace/
ll
mkdir aliyunworkspace
cd aliyunworkspace/
ll
git clone git@codeup.aliyun.com:66988a43c3f44f74f430c297/agent/forge.git
cd forge/
ll
which pnpm
npm install -g pnpm
cd
xcaddy build --with github.com/caddy-dns/cloudflare
which xcaddy
ll
which xcaddy
ll
caddy -h
ll
xcaddy build --with github.com/caddy-dns/cloudflare
which xcaddy
xcaddy list-modules | grep dns
xcaddy
pi
ll
cd /home/forge/
ll
rm -rf forge/
ll
cd ..
ll
cd
cd workspace/aliyunworkspace/
ll
cd pi-web/
ll
pi
ll
cd ..
ll
cd forge/
ll
./appctl.sh start
cat forge.log 
./appctl.sh stop
ll
cd
ll
pi
ll
pi
cd
ll
cd .pi
ll
cd agent/
ll
cat mcp.json 
vim mcp.json 
cd
pi
npm install -g @getnote/cli
npx skills add iswalle/getnote-cli
ll
cd .agents/
ll
cd skills/
ll
cd ..
ll
cd
ll
getnote auth login --api-key gk_live_76ab719e02a03486.6e079fca4dce582935912dc38f92e721c794c0fb71dd9d43 --client-id cli_a1b2c3d4e5f6789012345678abcdef90
ll
pi
npx @larksuite/cli@latest install
npm install -g @larksuite/cli
which lark-cli
lark-cli -h
lark-cli auth login
lark-cli config init
pi
ll
vim .bashrc 
source .bashrc
ll
cd workspace/
ll
cd aliyunworkspace/
ll
cd forge/
ll
git status
ll
cd ..
ll
du -sh *
ll
rm -rf forge/
ll
df -h
ll
cd
ll
free -m
ll
pi
npx -y skills add cloudflare/skills --skill '*'
pi
cd workspace/aliyunworkspace/
ll
cd pi-web/
ll
git pull
ll
./appctl.sh build
./appctl.sh restart
ll
cd workspace/
ll
cd aliyunworkspace/
ll
git clone git@codeup.aliyun.com:66988a43c3f44f74f430c297/agent/open-connector.git
ll
cd open-connector/
ll
vim .env
ll
git checkout feature/mysql_support_20260719 
ll
./appctl.sh build
ll
cat appctl.sh 
ll
cat .env
./appctl.sh start
cd
cd /etc/caddy/
ll
vim Caddyfile 
systemctl restart caddy
ll
cd
free -m
lscpu
netstat -lntp
cd workspace/aliyunworkspace/
ll
cd open-connector/
ll
pi
cd
cd /etc/caddy/
ll
vim Caddyfile 
systemctl restart caddy
cd wo
cd
cd workspace/aliyunworkspace/
ll
cd open-connector/
ll
./appctl.sh stop
netstat -lntp
npm run dev
ll
cd workspace/aliyunworkspace/
ll
cd open-connector/
ll
netstat -lntp
./appctl.sh start
./appctl.sh stop
ll
cd /etc/caddy/
ll
vim Caddyfile 
systemctl restart
systemctl restart caddy
cd
cd workspace/
ll
cd aliyunworkspace/
ll
cd open-connector/
ll
./appctl.sh start
cat .env
vim .env
./appctl.sh restart
curl -v https://oauth2.googleapis.com/ 
ll
./appctl.sh stop
netstat -lntp
free -m
su - forge 
