Linux安装命令通过curl访问接口地址
This commit is contained in:
parent
bee605bb33
commit
6796272960
|
@ -7,4 +7,13 @@ if [ ! -d "/usr/share/dotnet/" ]; then
|
|||
curl https://x.newlifex.com/dotnet/net8.sh | sudo bash
|
||||
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!"
|
|
@ -5,7 +5,11 @@ clover40.exe net8-host -silent
|
|||
|
||||
start agent\StarAgent.exe -run -server http://127.0.0.1:6600
|
||||
|
||||
echo "starting ..."
|
||||
|
||||
ping 127.0.0.1 -n 5 > nul
|
||||
start http://localhost:6600/api
|
||||
ping 127.0.0.1 -n 5 > nul
|
||||
start http://localhost:6680
|
||||
|
||||
echo "Install finished!"
|
|
@ -5,7 +5,11 @@ clover40.exe net8-host -silent
|
|||
|
||||
agent\StarAgent.exe -install -server http://127.0.0.1:6600
|
||||
|
||||
echo "starting ..."
|
||||
|
||||
ping 127.0.0.1 -n 5 > nul
|
||||
start http://localhost:6600/api
|
||||
ping 127.0.0.1 -n 5 > nul
|
||||
start http://localhost:6680
|
||||
|
||||
echo "Install finished!"
|
BIN
Tools/clover.exe
BIN
Tools/clover.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue