Linux-Installation

Aus Info-Theke
Zur Navigation springen Zur Suche springen


Blitzinstallation

DEBIAN_NAME=bookworm
vi /etc/sudoers
sed -i 's/deb cdrom:/# deb cdrom:/' /etc/apt/sources.list
apt update
apt install rsync
wget -O /tmp/basic_install.sh https://public.hamatoma.de/basic_install.sh
bash /tmp/basic_install.sh
touch /etc/pyrshell/backup.conf
systemctl disable pymonitor
btrfs filesystem label / fs.system.1t
mkdir -p /media/fs.system.1t /media/fs.cave
echo "deb http://debian.mirror.lrz.de/debian/ $DEBIAN_NAME-backports main non-free contrib
deb-src http://debian.mirror.lrz.de/debian/ $DEBIAN_NAME-backports main non-free contrib" >/etc/apt/sources.list.d/backports.list

apt update && apt install linux-image-5.19.0-0.deb11.2-amd64 thunderbird-l10n-de sane-airscan firmware-linux-nonfree

Konfiguration

  • /etc/fstab
LABEL=fs.bullseye /               btrfs   defaults,noatime,nodiratime,compress=zstd,autodefrag,subvol=@rootfs 0       0
LABEL=fs.bullseye /media/fs.sys   btrfs   defaults,noatime,nodiratime,compress=zstd,autodefrag,subvolid=5 0       0

LABEL=fs.cave /media/fs.cave     btrfs   noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvolid=5 0       0
LABEL=fs.cave /opt     btrfs   noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvol=/opt 0       1
LABEL=fs.cave /home     btrfs   noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvol=/home 0       1
LABEL=fs.cave /media/space     btrfs   noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvol=/space 0       1
/dev/sda5 /media/fs.exchange auto rw,noatime,nodiratime,user_id=1000,group_id=1000,allow_other  0 1
#LABEL=bench /media/bench   ext4   defaults,noatime,nodiratime 0       0
LABEL=fs.heap /media/fs.heap               btrfs   defaults,noatime,nodiratime,compress=zstd,autodefrag,subvolid=5 0       0
#//192.168.2.129/ctnot /media/src       cifs ro,credentials=/etc/samba.data,uid=1000,gid=1000   1 1
#//192.168.2.129/Downloads /media/tmp   cifs ro,credentials=/etc/samba.data,uid=1000,gid=1000   1 1
remote_server:/home  /media/remote/home  nfs  noauto,ro,rsize=8192,wsize=8192,hard,intr  0 1