Linux Allerlei
Screen
- screen -S name
- STRG+a -> d (in den Hintergrund schicken)
- screen -r name (holt den Screen name in den Vordergrund)
nano -w /etc/minidlna.conf
user=minidlna
media_dir=V,/mnt/data/Video
media_dir=A,/mnt/data/Mp3
media_dir=P,/mnt/data/Bilder
media_dir=AV,/mnt/data/Austrians
# Path to the directory that should hold the database and album art cache.
db_dir=/mnt/data/.minidlna/cache
# Path to the directory that should hold the log file.
log_dir=/mnt/data/.minidlna/logs
Zusätzliche A/V-Codecs für mpg/avi Support
>apt-get install libavcodec-extra
Debian Update
- sudo apt update
- sudo apt list --upgradable
- sudo apt upgrade
- sudo apt autoremove
- sudo apt clean
- cat /etc/os-release
- sudo nmtui
- sudo apt install nfs-kernel-server rpcbind
- mkdir /srv/nfs/data
- nano -w /etc/fstab
- /mnt/hdd_ext_1 /srv/nfs/data/hdd_ext_1 none bind 0 0
- nano -w /etc/exports
- /srv/nfs/data 192.168.0.2(rw,fsid=root)
- /srv/nfs/data/hdd_ext_1 192.168.0.2(rw,sync)
- sudo systemctl enable rpcbind
- sudo systemctl enable nfs-kernel-server
- (sudo systemctl enable nfs-server)
- sudo nano -w /etc/fstab
- 192.168.0.20:/hdd_ext_1 /mnt/backup_1/ nfs rw,_netdev,users 0 0
Export:
Import:
- sudo apt install ntp
- sudo systemctl status ntp
- sudo timedatectl list-timezones
- sudo timedatectl set-timezone (e.g.) America/New_York