Nil: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 7: | Zeile 7: | ||
bash /tmp/basic_install.sh | bash /tmp/basic_install.sh | ||
restoretool -v3 init linuxserver | restoretool -v3 init linuxserver | ||
BasicInit | |||
perl -pi -e 's/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="noapic"/' /etc/default/grub | perl -pi -e 's/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="noapic"/' /etc/default/grub | ||
#update-grub | #update-grub | ||
Zeile 17: | Zeile 17: | ||
apt install anydesk | apt install anydesk | ||
apt install thunderbird thunderbird-l10n-de hunspell-de-de myspell-de-de | apt install thunderbird thunderbird-l10n-de hunspell-de-de myspell-de-de | ||
apt install geany krita dia vlc | apt install geany krita dia vlc | ||
apt install ttf-mscorefonts-installer ttf-xfree86-nonfree fonts-georgewilliams | |||
vi /etc/sudoers | vi /etc/sudoers | ||
# hm ALL=NOPASSWD: ALL | # hm ALL=NOPASSWD: ALL | ||
cd /opt/down ; dpkg -i libdvdcss-dev_1.2.10-0.3_amd64.deb ; apt install -f | |||
FN=/usr/local/bin/nil/SnapDaily | |||
cat <<EOS >$FN | |||
#! /bin/bash | |||
LOG=/var/log/local/snapshot.log | |||
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin | |||
BtrSnapshot daily /media/fs.cave home $LOG | |||
BtrSnapshot daily /media/fs.cave opt $LOG | |||
EOS | |||
chmod +x $FN | |||
ln -s $FN /etc/cron.daily | |||
FN=/usr/local/bin/nil/SnapWeekly | |||
cat <<EOS >$FN | |||
#! /bin/bash | |||
LOG=/var/log/local/snapshot.log | |||
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin | |||
BtrSnapshot weekly /media/fs.cave home $LOG | |||
BtrSnapshot weekly /media/fs.cave opt $LOG | |||
EOS | |||
chmod +x $FN | |||
ln -s $FN /etc/cron.weekly | |||
FN=/usr/local/bin/nil/BalanceWeekly | |||
cat <<EOS >$FN | |||
#! /bin/bash | |||
LOG=/var/log/local/balanceweekly.log | |||
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin | |||
btrfs balance start -v -dusage=99 /media/fs.cave & | |||
btrfs balance start -v -dusage=99 / & | |||
EOS | |||
chmod +x $FN | |||
ln -s $FN /etc/cron.weekly | |||
</pre> | </pre> | ||
Aktuelle Version vom 11. April 2021, 11:28 Uhr
Blitzinstallation[Bearbeiten]
- Mint-LMDE
sudo -s apt-get update && apt-get -y install wget && wget -O /tmp/basic_install.sh https://public.hamatoma.de/basic_install.sh bash /tmp/basic_install.sh restoretool -v3 init linuxserver BasicInit perl -pi -e 's/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="noapic"/' /etc/default/grub #update-grub apt install linux-image-5.10.0-0.bpo.5-amd64-unsigned apt install samba wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add - echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list apt update apt install anydesk apt install thunderbird thunderbird-l10n-de hunspell-de-de myspell-de-de apt install geany krita dia vlc apt install ttf-mscorefonts-installer ttf-xfree86-nonfree fonts-georgewilliams vi /etc/sudoers # hm ALL=NOPASSWD: ALL cd /opt/down ; dpkg -i libdvdcss-dev_1.2.10-0.3_amd64.deb ; apt install -f FN=/usr/local/bin/nil/SnapDaily cat <<EOS >$FN #! /bin/bash LOG=/var/log/local/snapshot.log PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin BtrSnapshot daily /media/fs.cave home $LOG BtrSnapshot daily /media/fs.cave opt $LOG EOS chmod +x $FN ln -s $FN /etc/cron.daily FN=/usr/local/bin/nil/SnapWeekly cat <<EOS >$FN #! /bin/bash LOG=/var/log/local/snapshot.log PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin BtrSnapshot weekly /media/fs.cave home $LOG BtrSnapshot weekly /media/fs.cave opt $LOG EOS chmod +x $FN ln -s $FN /etc/cron.weekly FN=/usr/local/bin/nil/BalanceWeekly cat <<EOS >$FN #! /bin/bash LOG=/var/log/local/balanceweekly.log PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin btrfs balance start -v -dusage=99 /media/fs.cave & btrfs balance start -v -dusage=99 / & EOS chmod +x $FN ln -s $FN /etc/cron.weekly
Download und Installation[Bearbeiten]
fstab[Bearbeiten]
# UNCONFIGURED FSTAB FOR BASE SYSTEM proc /proc proc defaults 0 0 # /dev/nvme0n1p1 UUID=af7d1268-3fd5-4171-8ef6-971e19b9b292 swap swap sw 0 0 # /dev/nvme0n1p2 UUID=c254cf29-64ec-4742-a93a-790df59b868d / btrfs rw,subvol=/@ 0 0 LABEL=fs.cave /media/fs.cave btrfs rw,noatime,nodiratime,autodefrag,ssd,space_cache,subvolid=5,subvol=/ 0 2 LABEL=fs.cave /home btrfs rw,noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvol=/home 0 2 LABEL=fs.cave /opt btrfs rw,noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvol=/opt 0 2
OS-Info[Bearbeiten]
=== lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 465,8G 0 disk ├─nvme0n1p1 259:1 0 8,2G 0 part [SWAP] ├─nvme0n1p2 259:2 0 31,3G 0 part / ├─nvme0n1p3 259:3 0 31,3G 0 part ├─nvme0n1p4 259:4 0 1K 0 part └─nvme0n1p5 259:5 0 395,1G 0 part /media/fs.cave === mounts: /dev/nvme0n1p2 / btrfs rw,relatime,ssd,space_cache,subvolid=257,subvol=/@ 0 0 /dev/nvme0n1p5 /opt btrfs rw,noatime,nodiratime,ssd,space_cache,autodefrag,subvolid=257,subvol=/opt 0 0 /dev/nvme0n1p5 /media/fs.cave btrfs rw,noatime,nodiratime,ssd,space_cache,autodefrag,subvolid=5,subvol=/ 0 0 /dev/nvme0n1p5 /home btrfs rw,noatime,nodiratime,ssd,space_cache,autodefrag,subvolid=270,subvol=/home 0 0