User Tools

Site Tools


sysadminery:linux_boilerplate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sysadminery:linux_boilerplate [2024/05/20 15:51] adamsysadminery:linux_boilerplate [2024/12/04 03:23] (current) adam
Line 9: Line 9:
   - setup pubkey login   - setup pubkey login
   - <code>sudo apt-get install vim</code>   - <code>sudo apt-get install vim</code>
 +  - dotnet consideration: on debian12 there's ''/etc/profile''. On some systems there may only be ''~/.bash_profile''. debian 12 for example says that if it finds that it'll override ''/etc/profile'' and ''~/.profile'' If you're using dotnet, you want to turn off MS spyware (as best you're able). Add this line: ''export DOTNET_CLI_TELEMETRY_OPTOUT=1''
 +
 +====== create a user ======
 +
 +''sudo useradd -m -s /bin/bash [username]; passwd [username]''
 +
 +  * -m is for "**M**ake a home directory, obviously, dafuq is wrong with you"
 +  * -s is for "**S**hell should be the following", there's a default you can set in some file somewhere
 +
 +if you fucked up and missed the -s: ''chsh -s /bin/bash''. fuck knows what ''chsh'' without ''-s'' is for.
 +
  
 ====== cooperate with nas ====== ====== cooperate with nas ======
Line 19: Line 30:
   - now you can edit ''/etc/fstab'': <code>gusion.lan:/mnt/pool1/exchange /srv/gusion nfs defaults 0 0</code>   - now you can edit ''/etc/fstab'': <code>gusion.lan:/mnt/pool1/exchange /srv/gusion nfs defaults 0 0</code>
   - <code>sudo mount -a</code>   - <code>sudo mount -a</code>
- 
-====== kodi ====== 
- 
-it's in ''apt'' \\ 
-once you've mounted gusion, just go to videos and add a source. 
- 
-remote: 
  
 ====== join the wireguarden ====== ====== join the wireguarden ======
  
 [[https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04|digital ocean tutorial]] [[https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04|digital ocean tutorial]]
 +
 +====== kodi ======
 +
 +  - install it. it's in ''apt''.
 +  - once you've mounted gusion, just go to videos and add a source.
 +  - enable remote: settings -> services -> control (you can be in "standard")
 +    - set your username, and password, port if you like
 +    - turn it on. it loves to turn itself back off :')
 +    - android remotes don't have to be explicit peers. 
 +  - enable deletion: be "Advanced"; settings -> media -> general -> Allow file renaming and deletion
  
 ====== raspberry pi ====== ====== raspberry pi ======
sysadminery/linux_boilerplate.1716220274.txt.gz · Last modified: 2024/05/20 15:51 by adam