Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
(31 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! General tasks | ||
|- | |- | ||
| | | | ||
Line 27: | Line 14: | ||
|} | |} | ||
[[ | [[Maintenance of my music collection]] | ||
[[ | [[Restarting everything]] | ||
[[Add a new VM to melange]] - [[Clone a melange VM]] - [[Linux barebones quickstart]] | |||
[[Scripts]] - [[Add a user]] - [[Linux permissions]] - [[DNS]] | |||
[[Tune linux performance]] | |||
[[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] | [[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] | ||
Line 67: | Line 60: | ||
upgrade_ubuntu | upgrade_ubuntu | ||
I'm currently migrating everything to 16.04 Xenial Xerus. | I'm currently migrating everything to 16.04 Xenial Xerus. | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 90: | Line 72: | ||
smartctl -t long /dev/sdf | smartctl -t long /dev/sdf | ||
watch -n 3 smartctl -l selftest /dev/sdf # takes about 5 minutes | watch -n 3 smartctl -l selftest /dev/sdf # takes about 5 minutes | ||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Increase max open file handles | |||
|- | |||
| I do it here: | |||
~/development/config/common/etc/sysctl.d/20_MDM_sysctl.conf | |||
That basically sets the user max when I do my stow thing. Alternatively, you can set it directly in | |||
/etc/sysctl.conf | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 157: | Line 147: | ||
|} | |} | ||
|} | |} | ||
<!-- | |||
=========================================================================================================================================================================================================================================================================================== | |||
--> | |||
=== Boxes === | |||
[[Bitpost]] - [[Melange]] - [[Cast]] - [[Bluto]] - [[Cobra]] - [[Case]] - [[Viper]] - [[Wimpy]] | |||
=== Melange VMs === | |||
[[AbtDev1]] - [[Positronic]] - [[Morosoph]] - [[Glam]] - [[Hive]] - [[Bandit]] - [[Matryoshka]] - [[Hoard]] - [[Tornados]] - [[Matcha]] - [[Windozer]] | |||
=== Devices and Hardware === | |||
[[My server rack]] | |||
Cable Modem - [https://www.sony.com/electronics/support/televisions-projectors-lcd-tvs/xbr-65x800b/specifications Sony 65" TV] - [https://www.tcl.com/us/en/products/home-theater/p-series/tcl-55-class-p-series-4k-uhd-hdr-roku-smart-tv-55p605 TCL 55' TV] - [https://www.asus.com/us/Networking/RT-ACRH13/ProductPrint/ ASUS router] | |||
IOTs: [[lime]] - [[carambola]] - [[Arduino]] | |||
[[Flash Drives]] - [[Stadia controller]] - [[Logitech F710 Controller]] | |||
[[Aeron chair]] - [[Jetson Electric Bike]] | |||
=== Third Party Services === | |||
[[Cloudflare]] | [[LetsEncrypt]] | [[Sendgrid]] | |||
<!-- | <!-- | ||
Line 165: | Line 183: | ||
--> | --> | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Hardware notes | ||
|- | |- | ||
| | | | ||
Line 176: | Line 194: | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Copy from linux nautilus to android "Operation unsupported" | ||
|- | |- | ||
| | | Weird assed linux prevents "SMB to USB" copies, FUCKOFF. Workaround is to copy to local drive, then copy to phone. Wow that is sickening. | ||
|} | |||
|} | |||
<!-- | |||
=========================================================================================================================================================================================================================================================================================== | |||
--> | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Old notes and dead boxes | ||
|- | |- | ||
| | | | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Oontz turn on dual pairing | ||
|- | |- | ||
| | | Turn them both on. One should be paired with your phone, the other should be flashing blue, trying to connect. | ||
On the Play Control Speaker (speaker with solid Blue Light) press and hold down the Play/Pause button for 5 seconds until the flashing White Light appears and the speaker says “Dual Pairing”. - The Play Control Speaker will then connect to the second speaker. | |||
There is NO WAY you can guess this. You'll be back here to re-learn... | |||
- | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Ubuntu and shitty Seiki | ! Ubuntu and shitty Seiki | ||
Line 247: | Line 253: | ||
scite /var/log/Xorg.2.log & | scite /var/log/Xorg.2.log & | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Fix things after IP changes | |||
|- | |||
| Time Warner seems to keep giving the same IP back to my main linux router/server, as long as the NIC card doesn't change. It also happened when they upgraded my service (and started labeling my IP as dynamic to SpamHaus, fuckers...). | |||
If it changes, fix these things: | |||
* Update the IP at 1and1.com for ALL domains, bleh... | |||
* mod evasive has a whitelist, it needs the actual IP, bleh... | |||
-rw-r--r-- 1 m m 1.1K Mar 28 22:13 /home/m/config/etc/apache2/modules.d/10_mod_evasive.conf | |||
* reset cable modem (see specific steps) | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Reset 1020 cable modem so it grants a real IP address (not private) | ||
|- | |- | ||
| | | Resetting things sometimes has to be done in this precise order: | ||
* cable modem -> blue cable -> **ONBOARD** bitpost NIC | |||
* LAN switch -> yellow cable -> **ADDON CARD** bitpost NIC | |||
* power off bitpost and cable modem | |||
* power up cable modem | |||
* wait 5 minutes | |||
* power up bitpost | |||
* verify that you can ping google.com, LAN works, etc. | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! BOX: bitpost | ! BOX: bitpost |
Latest revision as of 14:59, 31 August 2024
General tasks | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Maintenance of my music collection Add a new VM to melange - Clone a melange VM - Linux barebones quickstart Scripts - Add a user - Linux permissions - DNS Turn off ubuntu gnome screenlock - Set ubuntu default browser Add a drive - Back up drive - Check disk - Check disk speed Bash basics - OS X basics - DOS basics - Update gentoo kernel SSL certificate instructions - Networking systemd - udev: Assign unique names to your devices Automatically mount and unmount your devices udev: Autorun programs when connecting your devices
|
Boxes
Bitpost - Melange - Cast - Bluto - Cobra - Case - Viper - Wimpy
Melange VMs
AbtDev1 - Positronic - Morosoph - Glam - Hive - Bandit - Matryoshka - Hoard - Tornados - Matcha - Windozer
Devices and Hardware
Cable Modem - Sony 65" TV - TCL 55' TV - ASUS router
IOTs: lime - carambola - Arduino
Flash Drives - Stadia controller - Logitech F710 Controller
Aeron chair - Jetson Electric Bike
Third Party Services
Cloudflare | LetsEncrypt | Sendgrid
Hardware notes | ||||
---|---|---|---|---|
|
Old notes and dead boxes | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|