Commit b652666c authored by vicotor's avatar vicotor

update install

parent dbfd2862
Pipeline #891 canceled with stages
...@@ -6,7 +6,7 @@ set -e ...@@ -6,7 +6,7 @@ set -e
INSTALL_DIR="/opt/nodemonitor" INSTALL_DIR="/opt/nodemonitor"
BINARY_DIR="." BINARY_DIR="."
SERVER_PORT="8080" SERVER_PORT="8080"
AGENT_SERVER="http://localhost:8080" AGENT_SERVER="https://movanm.bitheart.org"
AGENT_NAME_TAG="" AGENT_NAME_TAG=""
AGENT_DISKS="/" AGENT_DISKS="/"
AGENT_RPC="" AGENT_RPC=""
...@@ -67,7 +67,7 @@ case $SERVICE_TYPE in ...@@ -67,7 +67,7 @@ case $SERVICE_TYPE in
# 复制二进制文件 # 复制二进制文件
if [ ! -f "$BINARY_DIR/nmserver" ]; then if [ ! -f "$BINARY_DIR/nmserver" ]; then
echo "Error: nmserver binary not found in $BINARY_DIR" echo "Error: nmserver binary not found in $BINARY_DIR"
echo "You can download it with \n wget https://cmp20.bitheart.org/downloads/nmserver \n or build from source." echo "You can download it with \`wget https://nmdl.bitheart.org/nmserver\` or build from source."
exit 1 exit 1
fi fi
sudo cp $BINARY_DIR/nmserver $INSTALL_DIR/ sudo cp $BINARY_DIR/nmserver $INSTALL_DIR/
...@@ -117,7 +117,7 @@ EOF ...@@ -117,7 +117,7 @@ EOF
# 复制二进制文件 # 复制二进制文件
if [ ! -f "$BINARY_DIR/nmagent" ]; then if [ ! -f "$BINARY_DIR/nmagent" ]; then
echo "Error: nmagent binary not found in $BINARY_DIR" echo "Error: nmagent binary not found in $BINARY_DIR"
echo "You can download it with \n wget https://cmp20.bitheart.org/downloads/nmagent \n or build from source." echo "You can download it with \`wget https://nmdl.bitheart.org/nmagent\` or build from source."
exit 1 exit 1
fi fi
sudo cp $BINARY_DIR/nmagent $INSTALL_DIR/ sudo cp $BINARY_DIR/nmagent $INSTALL_DIR/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment