Linux安装命令通过curl访问接口地址

This commit is contained in:
大石头 2025-06-30 00:24:20 +08:00
parent bee605bb33
commit 6796272960
6 changed files with 18 additions and 1 deletions

View File

@ -7,4 +7,13 @@ if [ ! -d "/usr/share/dotnet/" ]; then
curl https://x.newlifex.com/dotnet/net8.sh | sudo bash curl https://x.newlifex.com/dotnet/net8.sh | sudo bash
fi fi
sudo dotnet agent\StarAgent.dll -install -server http://127.0.0.1:6600 sudo dotnet agent/StarAgent.dll -install -server http://127.0.0.1:6600
echo "starting ..."
sleep 5
curl -w "\n" http://localhost:6600/api
sleep 5
curl -w "\n" http://localhost:6680/cube/info
echo "Install finished!"

View File

@ -5,7 +5,11 @@ clover40.exe net8-host -silent
start agent\StarAgent.exe -run -server http://127.0.0.1:6600 start agent\StarAgent.exe -run -server http://127.0.0.1:6600
echo "starting ..."
ping 127.0.0.1 -n 5 > nul ping 127.0.0.1 -n 5 > nul
start http://localhost:6600/api start http://localhost:6600/api
ping 127.0.0.1 -n 5 > nul ping 127.0.0.1 -n 5 > nul
start http://localhost:6680 start http://localhost:6680
echo "Install finished!"

View File

@ -5,7 +5,11 @@ clover40.exe net8-host -silent
agent\StarAgent.exe -install -server http://127.0.0.1:6600 agent\StarAgent.exe -install -server http://127.0.0.1:6600
echo "starting ..."
ping 127.0.0.1 -n 5 > nul ping 127.0.0.1 -n 5 > nul
start http://localhost:6600/api start http://localhost:6600/api
ping 127.0.0.1 -n 5 > nul ping 127.0.0.1 -n 5 > nul
start http://localhost:6680 start http://localhost:6680
echo "Install finished!"

Binary file not shown.

Binary file not shown.

Binary file not shown.