Linuxfuck

Login

https://login.ionos.de/?

Login & PW auf Stick

Image Installieren ohne Plesk (braucht keiner)

passwd # Root Passwort ändern und in Excel speichern

Sudo

adduser <USER:john|paul|george|ringo> # ein identisches Passwort für jeden Userm in Excel speichern
usermod -aG sudo <USER>

Firefox

sudo apt-get install firefox-esr -y # fehlt sonst im Desktop

Webserver

https://www.howtoforge.com/how-to-install-lighttpd-with-php-and-mariadb-on-debian-10/

https://www.osradar.com/install-lighttpd-debian-10/

sudo apt install lighttpd -y
sudo systemctl start lighttpd # starten
sudo systemctl enable lighttpd # autostart
sudo systemctl status lighttpd # check
sudo apt install php7.3 php7.3-fpm php7.3-mysql php7.3-cli php7.3-curl php7.3-xml -y # PHP
sudo nano /etc/php/7.3/fpm/php.ini
cgi.fix_pathinfo=1
sudo nano /etc/php/7.3/fpm/pool.d/www.conf

Mindestanforderung:

  • AMD Athlon 1.6 (1.4 GHz)
  • RAM: 512 MB
  • DISK: 7200 rpm
  • SPACE: 20 GB

Images

https://wiki.debian.org/LXDE#LXDE_in_Debian

Direct Download Image: https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/

Setup

su - # WICHTIG mit Minuszeichen
usermod -a -G sudo <USER:john|paul|george|ringo>

Maschine neu starten, damit USER in sudo-Gruppe landet

Spotify

https://www.spotify.com/de/download/linux/

sudo apt-get install curl
curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client -y

Speicherverbrauch testen

df -h # Festplatte
free --mega # Speicher
top # Speicher

Xdotool

https://wiki.ubuntuusers.de/xdotool/

http://manpages.ubuntu.com/manpages/trusty/man1/xdotool.1.html

https://www.xmodulo.com/simulate-key-press-mouse-movement-linux.html

sudo apt-get install xdotool