Compare commits
2 Commits
2025.0514.
...
2025.0514.
Author | SHA1 | Date | |
---|---|---|---|
a828100878 | |||
fcc517a115 |
@ -4,6 +4,14 @@ A system management tool for server operations, written in C++.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installation of Agent
|
||||||
|
|
||||||
|
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/install.sh | bash
|
||||||
```
|
```
|
@ -5,7 +5,7 @@ set -e
|
|||||||
|
|
||||||
# Check if running as root
|
# Check if running as root
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
print_error "Please run this script as root (use sudo)"
|
echo "Please run this script as root (use sudo)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -40,6 +40,9 @@ fi
|
|||||||
chmod +x "$TMPDIR/dropshell"
|
chmod +x "$TMPDIR/dropshell"
|
||||||
|
|
||||||
cp "$TMPDIR/dropshell" /usr/local/bin/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
|
ln -s /usr/local/bin/dropshell /usr/local/bin/ds
|
||||||
rm -rf "$TMPDIR"
|
rm -rf "$TMPDIR"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user