Grundinstallation eines Linux-Hosts in der Klenzel-Umgebung
|
|
há 1 ano atrás | |
|---|---|---|
| Readme.md | há 1 ano atrás | |
| grundinstallation.sh | há 2 anos atrás |
SSH-Port ändern:
systemctl disable ssh.socket
systemctl stop ssh.socket
sed -i 's@#Port 22@Port 4711@g' /etc/ssh/sshd_config
sed -i 's@#PermitRootLogin prohibit-password@PermitRootLogin yes@g' /etc/ssh/sshd_config
reboot
Installation:
ggf. raspi-config
date -s "2022-01-12 07:43" #Daten anpassen!
apt install git -y
cd ~
git clone http://git.klenzel.net/daniel/grundinstallation
bash grundinstallation/grundinstallation.sh
passwd pi / passwd loginuser
passwd root