diff --git a/aspire/SETUP b/aspire/SETUP new file mode 100644 index 0000000..a4f2cbc --- /dev/null +++ b/aspire/SETUP @@ -0,0 +1,59 @@ + +printer() { + Error code: SSL_ERROR_BAD_MAC_ALERT + https://superuser.com/questions/1280239/firefox-secure-connection-failed-ssl-error-bad-mac-alert + sudo dpkg -i xerox-phaser-6140_1.1-2_all.deb + http://localhost:631/admin + color+colordup +} + +partition() { + Installed with ubuntu-live-server-20.04 + + /dev/ssd-p2 /boot ext4 + /dev/ssd-p3 / LUKS+ext4 + + /dev/4tb-p4 /local LUKS+zfs + /dev/nmve ? (AFS/swap/tmp/vartmp) +} + +timezone() { + sudo dpkg-reconfigure tzdata +} + +autofs() { + cd / + sudo ln -s nfs/hpdisk/data . +} + +vlc() { + wastebasket from tangetools + splitvideo from tangetools + hotkeys() { + faster (fine) + + slower (fine) - + } +} + +firefox() { + Firefox Multi-Account Containers + Bitwarden + startpage + Privacy Badger +} + +toner_reset() { + sudo apt install mono-runtime + keeprog +} + +make_local() { + sudo cryptsetup -y -v luksFormat --sector-size 4096 \ + --pbkdf-parallel 8 --pbkdf-memory 4000000 --pbkdf argon2id \ + --iter-time 1000 /dev/sdc4 + sudo cryptsetup config --priority prefer --key-slot 0 /dev/sdc4 + sudo zpool create -o ashift=12 -O acltype=posixacl -O canmount=off \ + -O compression=lz4 -O dnodesize=auto -O normalization=formD \ + -O relatime=on -O xattr=sa localpool /dev/mapper/local + sudo zfs create -o mountpoint=/local localpool/local +} diff --git a/aspire/xerox-phaser-6140_1.1-2_all.deb b/aspire/xerox-phaser-6140_1.1-2_all.deb new file mode 100644 index 0000000..c0231b3 Binary files /dev/null and b/aspire/xerox-phaser-6140_1.1-2_all.deb differ diff --git a/ubuntu-20.04/etc/auto.master b/ubuntu-20.04/etc/auto.master new file mode 100644 index 0000000..51ea240 --- /dev/null +++ b/ubuntu-20.04/etc/auto.master @@ -0,0 +1,38 @@ +# +# Sample auto.master file +# This is a 'master' automounter map and it has the following format: +# mount-point [map-type[,format]:]map [options] +# For details of the format look at auto.master(5). +# +#/misc /etc/auto.misc +# +# NOTE: mounts done from a hosts map will be mounted with the +# "nosuid" and "nodev" options unless the "suid" and "dev" +# options are explicitly given. +# +/nfs -hosts +# +# Include /etc/auto.master.d/*.autofs +# To add an extra map using this mechanism you will need to add +# two configuration items - one /etc/auto.master.d/extra.autofs file +# (using the same line format as the auto.master file) +# and a separate mount map (e.g. /etc/auto.extra or an auto.extra NIS map) +# that is referred to by the extra.autofs file. +# ++dir:/etc/auto.master.d +# +# If you have fedfs set up and the related binaries, either +# built as part of autofs or installed from another package, +# uncomment this line to use the fedfs program map to access +# your fedfs mounts. +#/nfs4 /usr/sbin/fedfs-map-nfs4 nobind +# +# Include central master map if it can be found using +# nsswitch sources. +# +# Note that if there are entries for /net or /misc (as +# above) in the included master map any keys that are the +# same will not be seen as the first read key seen takes +# precedence. +# ++auto.master diff --git a/ubuntu-20.04/gui-packages b/ubuntu-20.04/gui-packages new file mode 100644 index 0000000..e86ff19 --- /dev/null +++ b/ubuntu-20.04/gui-packages @@ -0,0 +1,31 @@ +# Run as normal user + +sudo apt-get update +sudo apt-get install -y ttf-mscorefonts-installer +# start med pakker, der er kræver interaktivitet +cat <<_EOF |grep -v '#'| sudo xargs -r -n 1 apt-get install -y +gnome-font-viewer +kubuntu-desktop +xemacs21 +xemacs +libreoffice +firefox +torbrowser-launcher +vlc +iridium +xkbset +sox +#xfce4 +#clusterssh +##wine +##wine-stable +chromium-browser +#xserver-xorg-input-synaptics +uswsusp +_EOF +sudo apt-file update & + +# Install font for konsole +wget http://ole.tange.dk/linux/DroidSansMonoWide.ttf +gnome-font-viewer DroidSansMonoWide.ttf +sudo systemctl enable debug-shell.service diff --git a/ubuntu-20.04/install-zfs-luks.sh b/ubuntu-20.04/install-zfs-luks.sh index d7c9693..2b63fe9 100644 --- a/ubuntu-20.04/install-zfs-luks.sh +++ b/ubuntu-20.04/install-zfs-luks.sh @@ -67,7 +67,7 @@ setup_zpool_for_root() { --pbkdf-parallel 1 \ --pbkdf-memory 4000000 --pbkdf argon2id --iter-time 1000 \ ${DISK}-part4 - cryptsetup config --priority prefer --key-slot 0 + cryptsetup config --priority prefer --key-slot 0 ${DISK}-part4 echo "$password" | cryptsetup luksOpen ${DISK}-part4 luks1 (echo "$password"; echo "$secretpassword") | cryptsetup -y -v luksAddKey \ diff --git a/ubuntu-20.04/packages b/ubuntu-20.04/packages index a94d26f..f9134b2 100644 --- a/ubuntu-20.04/packages +++ b/ubuntu-20.04/packages @@ -7,13 +7,11 @@ sudo perl -i.bak -pe 's/^%sudo.*/%sudo ALL=NOPASSWD: ALL/' /etc/sudoers sudo perl -i.bak -pe 's/(\s+localhost)( lo)?\b/$1 lo/' /etc/hosts sudo apt-get update -sudo apt-get install -y ttf-mscorefonts-installer # start med pakker, der er kræver interaktivitet cat <<_EOF |grep -v '#'| sudo xargs -r -n 1 apt-get install -y postfix encfs cpuburn -gnome-font-viewer #mdadm tmux aptitude @@ -22,8 +20,6 @@ openssh-server ssh-server emacs emacs25-nox -xemacs21 -xemacs git git-core parallel @@ -63,29 +59,26 @@ psmisc #owncloud-client htop net-tools -#uswsusp #cifs-utils #r-base-core -# Gui -libreoffice -vlc -iridium -xkbset sox #xfce4 #clusterssh ##wine ##wine-stable pwgen -chromium-browser # broadcom netcard firmware-bnx2 firmware-b43-installer -net-tools lvm2 #xserver-xorg-input-synaptics uswsusp +gddrescue +zfsutils-linux +zstd +pixz +youtube-dl _EOF sudo apt-file update & locale-gen en_US.UTF-8 @@ -99,12 +92,6 @@ cd tangetools make sudo make install -# Install font for konsole -wget http://ole.tange.dk/linux/DroidSansMonoWide.ttf -gnome-font-viewer DroidSansMonoWide.ttf -sudo systemctl enable debug-shell.service - - # parted # resizepart # pvs