Compare commits
2 Commits
2025.0514.
...
2025.0514.
Author | SHA1 | Date | |
---|---|---|---|
2397c665a5 | |||
a828100878 |
@ -5,7 +5,7 @@ A system management tool for server operations, written in C++.
|
||||
## Installation
|
||||
|
||||
```
|
||||
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | bash
|
||||
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | sudo bash
|
||||
```
|
||||
|
||||
## Installation of Agent
|
||||
@ -13,5 +13,5 @@ curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/instal
|
||||
Install the Agent on each server you wish to manage. Supports amd64 (x86_64) and arm64 (aarch64) architectures.
|
||||
|
||||
```
|
||||
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | bash
|
||||
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/server_autosetup.sh | sudo bash
|
||||
```
|
@ -40,6 +40,9 @@ fi
|
||||
chmod +x "$TMPDIR/dropshell"
|
||||
|
||||
cp "$TMPDIR/dropshell" /usr/local/bin/dropshell
|
||||
if [ -f /usr/local/bin/ds ]; then
|
||||
rm -f /usr/local/bin/ds
|
||||
fi
|
||||
ln -s /usr/local/bin/dropshell /usr/local/bin/ds
|
||||
rm -rf "$TMPDIR"
|
||||
|
||||
|
@ -97,18 +97,6 @@ chsh -s /bin/bash dropshell
|
||||
|
||||
#--------------------------------
|
||||
|
||||
# download dropshell
|
||||
|
||||
# determine if x86_64 or arm64
|
||||
ARCH=$(uname -m)
|
||||
|
||||
# check is aarch64 or x86_64 and error if neither
|
||||
if [ "$ARCH" != "aarch64" ] && [ "$ARCH" != "x86_64" ]; then
|
||||
echo "Unsupported architecture: $ARCH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
echo "Installation complete."
|
||||
|
||||
#--------------------------------
|
||||
|
Reference in New Issue
Block a user