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
1.2 KiB
1.2 KiB
🔧 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
undrequests
📦 Abhängigkeiten installieren
Debian / Ubuntu / Linux Mint:
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!!!)
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