config/aspire/SETUP

67 lines
1.6 KiB
Plaintext
Raw Normal View History

2020-07-04 12:27:14 +00:00
dracviewer() {
sudo apt-get install icedtea-netx
# Edit /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security
# Remove RC4 from:
# jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \
# EC keySize < 224, 3DES_EDE_CBC, anon, NULL
}
2020-06-14 22:49:38 +00:00
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
}