chkip/INSTALL.md
Pascal Bouquet 7058e26be3 Add one-liner installation command for easier setup
Added a compact one-liner installation command that installs all dependencies,
clones the Git repository, sets up a symbolic link to ~/.local/bin,
makes the script executable, and adds a Bash alias.

This makes it easy for users to set up the tool with a single copy-paste command,
especially useful for quick testing or sharing in forums and chats.

USE WITH CARE
2025-04-19 15:34:09 +02:00

40 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🔧 Installation von `chkip`
`chkip` ist ein kleines, praktisches DNS- und Mailserver-Check-Tool für die Kommandozeile.
Es benötigt Python 3 und zwei zusätzliche Bibliotheken und funktioniert komplett ohne Root-Rechte.
---
## 🧰 Voraussetzungen
Du brauchst:
- ein Linux-System mit Python 3
- Git (zum Klonen des Repos)
- Die Python-Module `dnspython` und `requests`
---
## 📦 Abhängigkeiten installieren
### Debian / Ubuntu / Linux Mint:
```bash
sudo apt update
sudo apt install python3 python3-pip git python3-dnspython python3-requests
cd
git clone https://git.bouquet24.de/paase/chkip.git
cd chkip
mkdir -p ~/.local/bin
ln -s "$PWD/chkip.py" ~/.local/bin/chkip
chmod +x ~/.local/bin/chkip
echo -e "alias chkip='python3 ~/.local/bin/chkip'" >> $HOME/.bashrc
source ~/.bashrc
```
### für Kopierfaule ein Onliner (use with care!!!)
```bash
sudo apt update && sudo apt install -y python3 python3-pip git python3-dnspython python3-requests && cd && git clone https://git.bouquet24.de/paase/chkip.git && cd chkip && mkdir -p ~/.local/bin && ln -s "$PWD/chkip.py" ~/.local/bin/chkip && chmod +x ~/.local/bin/chkip && echo "alias chkip='python3 ~/.local/bin/chkip'" >> ~/.bashrc && source ~/.bashrc