This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:miscadmin [2019/09/07 23:56] – oemb1905 | computing:miscadmin [2022/02/25 07:26] – oemb1905 | ||
---|---|---|---|
Line 26: | Line 26: | ||
gsettings set org.gnome.desktop.background show-desktop-icons false | gsettings set org.gnome.desktop.background show-desktop-icons false | ||
gsettings set org.nemo.desktop show-desktop-icons true | gsettings set org.nemo.desktop show-desktop-icons true | ||
- | |||
-motd- | -motd- | ||
Line 47: | Line 46: | ||
| | ||
cat /etc/motd | cat /etc/motd | ||
- | |||
-Firefox- | -Firefox- | ||
To install the latest firefox on Debian and make it default, do the following. | To install the latest firefox on Debian and make it default, do the following. | ||
- | |||
sudo mkdir -p / | sudo mkdir -p / | ||
Line 66: | Line 63: | ||
mv / | mv / | ||
| | ||
+ | -youtube-dl- | ||
- | -optical ripping- | + | sudo curl -L https:// |
+ | sudo chmod 750 / | ||
+ | |||
+ | -optical ripping | ||
cdrecord -pad -dao -data blag-140k-i686.iso | cdrecord -pad -dao -data blag-140k-i686.iso | ||
- | + | -pam hardening location- | |
- | + | ||
- | -pam garbage- | + | |
sudo nano / | sudo nano / | ||
Line 188: | Line 187: | ||
set static on wndr wan | set static on wndr wan | ||
- | -exim delete all messages- | + | -exim delete all messages |
| | ||
exim -bp <print message ids> | exim -bp <print message ids> | ||
exim -Mrm <message id> | exim -Mrm <message id> | ||
exim -bp | awk '/^ *[0-9]+[mhd]/ | exim -bp | awk '/^ *[0-9]+[mhd]/ | ||
+ | | ||
+ | use this for local interfaces for ipv6 | ||
+ | :::: | ||
+ | | ||
+ | view | ||
+ | exim -Mvh | ||
| | ||
-verifying TLS with swaks on exim4 relay setup | -verifying TLS with swaks on exim4 relay setup | ||
Line 220: | Line 225: | ||
for i in `deborphan`; | for i in `deborphan`; | ||
+ | -checking ssh logs | ||
+ | |||
+ | cat / | ||
+ | cat / | ||
+ | | ||
+ | -checking disk space- | ||
+ | |||
+ | du -ch -d 1 | sort -hr | ||
+ | |||
+ | -check disk space with ncurses tool- | ||
+ | |||
+ | sudo apt install ncdu | ||
+ | ncdu | ||
+ | | ||
+ | -stop/start sleep of any form on servers- | ||
+ | |||
+ | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
+ | sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
+ | | ||
+ | -xorg with ssh | ||
+ | |||
+ | touch / | ||
+ | touch / | ||
+ | | ||
+ | -batch convert with ffmpeg to mp4 from mkv | ||
+ | |||
+ | for i in *.mkv; do | ||
+ | ffmpeg -i " | ||
+ | done | ||
+ | |||
+ | -fix badly configured zpool that used short names to by-id names. This command can be entered as-is, and does not need to be adjusted at all for what your specific ids are or for multiple drives. It literally exports the short names and by-ids, unmounts the volumes/ | ||
+ | zpool export tank | ||
+ | zpool import -d / | ||
- | --- //[[oemb1905@jonathanhaack.com|oemb1905]] | + | --- //[[jonathan@haacksnetworking.org|oemb1905]] |