This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:miscadmin [2022/02/25 07:26] – oemb1905 | computing:miscadmin [2024/04/21 22:01] (current) – oemb1905 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
------------------------------------------- | ------------------------------------------- | ||
* **miscadmin** | * **miscadmin** | ||
Line 259: | Line 258: | ||
zpool export tank | zpool export tank | ||
zpool import -d / | zpool import -d / | ||
+ | | ||
+ | monitor ram usage every 3 seconds in human readable way | ||
- | --- // | + | free -h -w -s 3 |
+ | |||
+ | postfix to relay, satellite option, enter the relay like this: to prevent lookups | ||
+ | |||
+ | [smtp.smtpserver.com]: | ||
+ | |||
+ | Re-attach to screen session that's attached. | ||
+ | |||
+ | screen -d -r < | ||
+ | |||
+ | mysqldump to local from remote | ||
+ | |||
+ | ssh root@hub.haacksnetworking.org / | ||
+ | |||
+ | Turn off sleep. | ||
+ | |||
+ | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
+ | |||
+ | Amd gPU errors fix | ||
+ | |||
+ | mkdir ~/ | ||
+ | cd / | ||
+ | sudo cp / | ||
+ | |||
+ | Unattended Upgrades | ||
+ | |||
+ | sudo apt install unattended-upgrades | ||
+ | sudo apt install apt-config-auto-update | ||
+ | sudo unattended-upgrades --dry-run --debug | ||
+ | sudo systemctl status unattended-upgrades | ||
+ | |||
+ | Next ... ssh failed attempts | ||
+ | |||
+ | grep " | ||
+ | journalctl _SYSTEMD_UNIT=ssh.service | egrep " | ||
+ | faillock --user < | ||
+ | grep " | ||
+ | |||
+ | Display Managers (Lightdm, etc.) | ||
+ | |||
+ | sudo nano / | ||
+ | [SeatDefaults] | ||
+ | allow-guest=false | ||
+ | greeter-hide-users=true | ||
+ | nano ~/ | ||
+ | [Settings] | ||
+ | gtk-application-prefer-dark-theme=1 | ||
+ | sudo nano / | ||
+ | cd / | ||
+ | |||
+ | Setting ufw to allow connections to only certain subnets. | ||
+ | |||
+ | ufw allow from 192.168.1.0/ | ||
+ | |||
+ | Establish NIC name using mac:ID | ||
+ | |||
+ | nano / | ||
+ | SUBSYSTEM==" | ||
+ | |||
+ | |||
+ | --- // |