Linuxmag is onderdeel van Reshift Digital BV
Copyright © 2022
Linuxmag.nl is partner van The Linux Foundation
Hier vind je de listings uit Linux Magazine nummer 3 van 2024. We bieden ze aan als zipbestand, zodat je alle afzonderlijke listings kunt uitpakken naar de gewenste locatie en...
Read morePagina 12 - Squashfs: sudo apt install squashfs-tools mksquashfs /home/linuxmag /tmp/homedirlinuxmag.squashfs mksquashfs /home/linuxmag /tmp/homedirlinuxmag-root.squashfsn -force-uid root -force-gid root mksquashfs /home/linuxmag/ /tmp/homedirlinuxmag-betsandenuitgesloten. squashfs -e bin -e wachtwoorden.nl sudo mkdir /mnt/squashfs sudo...
Read moreListing 1: sudo apt install samba sudo mkdir /srv/clonezilla_samba sudo chown -R nobody:nogroup /srv/clonezilla_samba/ sudo chmod -R ugo+rwx /srv/ clonezilla_samba/ sudo smbpasswd -a gebruikersnaam sudo nano /etc/samba/smb.conf sudo systemctl restart...
Read moreListing: Koppel mappen in chroot sudo mount /dev/sda2 /mnt/rescue/boot sudo mount /dev/sda1 /mnt/rescue/boot/efi Listing: resolv.conf van de host kopiëren sudo mount -t proc proc /mnt/rescue/proc sudo mount -t sysfs sys...
Read moreListing 1 ssh gebruikersnaam@ip-adres-(thuis)server scp naambackup.ova virtualbox@ip-adres-(thuis)server: rdesktop-vrdp -a 16 -N ip-adres-(thuis)server:3389 Listing 2 wget -op rechter muisknop klikken en dan voor plakken kiezen- sudo apt install ./naam_van_gedownloade_virtual_box_bestand.deb wget -op...
Read moreCreëer een container listing # podman run -d --name pihole --label io.containers.autoupdate=pihole/pihole:latest -e TZ=Europe/Amsterdam -e VIRTUAL_HOST=pi.hole -e PROXY_LOCATION=pi_hole -e ServerIP=127.0.0.1 -e WEBPASSWORD=test --cap-add=NET_ADMIN -p 8080:80 -p 53:53/udp -p 53:53/tcp -p...
Read moreAlpine listing alpine:~$ apk search gnumeric gnumeric-1.12.53-r0 gnumeric-dev-1.12.53-r0 liborcus-0.17.2-r2 gnumeric-doc-1.12.53-r0 gnumeric-lang-1.12.53-r0 gnumeric-dbg-1.12.53-r0 alpine:~$ sudo apk add gnumeric (1/5) Installing libgsf (1.14.50-r0) (2/5) Installing librsvg (2.55.1-r0) (3/5) Installing libxslt (1.1.37-r0) (4/5)...
Read moreListing 1 ServerName reverseproxydemo.linuxmag.nl ServerAdmin webmaster@linuxmag.nl ProxyPass / http://192.168.1.50/ nocanon ProxyPassReverse / http://192.168.1.50/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Listing 2 ServerName reverseproxydemo.linuxmag.nl ServerAdmin webmaster@linuxmag.nl SSLProxyEngine On ProxyPass / http://192.168.1.50/ nocanon...
Read moreListing 1: sudo cp /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo nano /etc/lightdm/lightdm.conf.d/50-disable-guest.conf sudo ln -s /home/guestusersettings/ /etc/guest-session/skel echo touch "\$HOME/.skip-guest-warning-dialog" | sudo tee --append /etc/guest-session/prefs.sh sudo cp /usr/share/lightdm/lightdm.conf.d/60-zorin-os-lite.conf /etc/lightdm/lightdm.conf.d/60-zorin-os-lite.conf echo "autologin-guest=true" | sudo...
Read moreToegang tot de LED en knop geven from flask import Flask, render_template from gpiozero import Button, LED led = LED(22) button = Button(26) button_count = 0 def increment_counter(): global button_count...
Read more