Linuxmag is onderdeel van Reshift Digital BV
Copyright © 2022
Linuxmag.nl is partner van The Linux Foundation
Listing 1: # Installeer MariaDB: apt-get install mariadb-server mariadb-client mysql_secure_installation # Gebruiker en database aanmaken: mysql -u root -p mysql CREATE USER 'pydio'@'localhost' IDENTIFIED BY 'wachtwoord'; CREATE DATABASE cells DEFAULT...
Read moreKernmodule van usbip automatisch laden: server $ echo 'usbip-host' | sudo tee /etc/modules-load.d/usbip.conf Via de client opvragen welke apparaten de server deelt client $ usbip list --remote=192.168.0.237 Exportable USB devices...
Read moreWerkende gastconfiguratie listing: agent: 1 bios: ovmf boot: order=scsi2 cores: 1 cpu: host memory: 512 meta: creation-qemu=6.0.0,ctime=1640393584 name: alpine net0: virtio=8A:FE:B5:A9:B6:84,bridge=vmbr0 numa: 0 onboot: 1 ostype: l26 scsi1: local:100/vm-100-disk-1.qcow2,size=8G...
Read moreHeader file: /* ArduinoTestIO Auteur : Henk Siewert Datum : 31 oktober 2022 Versie : 001 MCU : ATMega328 Language : Arduino C++ Compiler : Arduino 1.8.19 */ #include...
Read moreListing: /* Analoog meten Auteur : Henk Siewert Datum : 30 oktober 2022 Sensor : Potentiometer Versie : 001 MCU : ATMega328 Taal : Arduino C++ Compiler : Arduino 1.8.19...
Read moreListing 1: port=0 # DNS uitzetten dhcp-range=192.168.122.0,proxy # proxy op dit netwerk dhcp-boot=pxelinux.0 pxe-service=x86PC,"Network Boot",pxelinux enable-tftp tftp-root=/srv/tftp Listing 2: # Listing 2: directory-boom voor tftp sudo mkdir -p /srv/tftp/{pxelinux.cfg,debian,devuan,kali}...
Read moreWebserver inperken listing: [Service] PrivateDevices=true ProtectControlGroups=true ProtectHome=true ProtectKernelLogs=true ProtectKernelModules=true ProtectKernelTunables=true ProtectSystem=strict ReadWritePaths=/var/lib/caddy /var/log/caddy RestrictSUIDSGID=true CapabilityBoundingSet=CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_BIND_SERVICE NoNewPrivileges=true
Read moreWondering how to leapfrog your competition in cloud-native development and operating models? Looking for scale and leveraging the latest good practices like GitOps and Team Topologies? Want to know how...
Read moreCreëren van boxplots: def predict_egg_weight(chicken): y = eieren_tijd[chicken].dropna() x = (y.index - y.index[0]).days.values.reshape(-1, 1) y = y.values linear_regressor = LinearRegression() linear_regressor.fit(x, y) y_pred = linear_regressor.predict(x) return (x, y, y_pred)...
Read moreListing 1: $wsl_ip = (wsl hostname -I).trim() netsh interface portproxy add v4tov4 listenport=2222 connectport=2222 connectaddress=$wsl_ip netsh interface portproxy add v4tov4 listenport=80 connectport=80 connectaddress=$wsl_ip netsh interface portproxy add v4tov4 listenport=443...
Read more