+ linux; ^ network; ^ index
This commit is contained in:
@@ -20,15 +20,20 @@ Prounciation:
|
|||||||
|
|
||||||
Nothing.
|
Nothing.
|
||||||
Just like QUIC and the G in GNU.
|
Just like QUIC and the G in GNU.
|
||||||
As with anyone who has been "coding" since 2008, I struggle with naming variables and cache invalidation.
|
I too struggle with naming variables and cache invalidation.
|
||||||
After trying to pay homage to Nihei's TOHA Heavy Industries, but inevitably settling on the first reasonable sounding 5-letter .com there was.
|
After trying to find a name that pays homage to Nihei's [TOHA Heavy Industries](https://blame.fandom.com/wiki/Toha_Heavy_Industries),
|
||||||
I decided to use a blend of a nickname (ruskonator) I was given and Input/Output (IO) and get to work.
|
I inevitably setted on the first reasonable sounding 5-letter dot com.
|
||||||
The same goes for "Rskntroot", it's a mix of that same nickname and the classic "root" term.
|
It made sense if I blended "Ruskonator" (an old nickname) with Input/Output (IO).
|
||||||
|
The same goes for "rskntroot", it's a mix of that same nickname and "root".
|
||||||
|
|
||||||
## Projects
|
## Coding
|
||||||
|
|
||||||
Currently, this is an unorganized list of things I have spent many of what corporate America refers to as "cycles" on.
|
Currently, this is an unorganized list of things I have spent many of what corporate America refers to as "cycles" on.
|
||||||
|
|
||||||
|
## Projects
|
||||||
|
|
||||||
|
Currently, the same as "coding".
|
||||||
|
|
||||||
## Storage
|
## Storage
|
||||||
|
|
||||||
Also projects, but those dedicated to storage technology.
|
Offerings for storage solutions I am willing to build and sell.
|
||||||
|
|||||||
104
mkdocs/docs/projects/linux.md
Normal file
104
mkdocs/docs/projects/linux.md
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
# Linux Setup
|
||||||
|
|
||||||
|
## Brief
|
||||||
|
|
||||||
|
some setup guides
|
||||||
|
|
||||||
|
- by `rskntroot` on `2025-02-20`
|
||||||
|
|
||||||
|
## Debian
|
||||||
|
|
||||||
|
### SSH
|
||||||
|
|
||||||
|
- see [K4YT3X's Hardened OpenSSH Server Configuration](https://github.com/k4yt3x/sshd_config)
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
sudo -i
|
||||||
|
cd /etc/ssh/
|
||||||
|
mv sshd_config sshd_config.backup
|
||||||
|
curl https://raw.githubusercontent.com/k4yt3x/sshd_config/master/sshd_config -o ./sshd_config
|
||||||
|
sed -i 's/^#DebianB/DebianB/' sshd_config
|
||||||
|
chmod 644 /etc/ssh/sshd_config
|
||||||
|
systemctl restart ssh
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "New Key"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
ssh-keygen -t ecdsa
|
||||||
|
cat id_ecdsa.pub >> ~/.ssh/authorized_keys
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "Existing Key"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
key="ecdsa-sha2-nistp256 ASASDASDFsomekey user@whatever"
|
||||||
|
```
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
mkdir ~/.ssh && echo ${key} >> ~/.ssh/authorized_keys
|
||||||
|
```
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
sudo -i
|
||||||
|
cat <<%% >> /etc/ssh/sshd_config
|
||||||
|
###RSKIO
|
||||||
|
PubkeyAuthentication yes
|
||||||
|
AuthorizedKeysFile .ssh/authorized_keys
|
||||||
|
%%
|
||||||
|
systemctl restart ssh
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
|
||||||
|
### Setup Docker
|
||||||
|
|
||||||
|
- see https://docs.docker.com/engine/install/ubuntu/
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||||
|
sudo sh ./get-docker.sh
|
||||||
|
sudo systemctl enable --now docker
|
||||||
|
rm -f ./get-docker.sh
|
||||||
|
sudo usermod -a -G docker $(whoami)
|
||||||
|
docker ps
|
||||||
|
```
|
||||||
|
|
||||||
|
- see https://docs.docker.com/config/completion/
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
sudo apt install bash-completion -y
|
||||||
|
cat <<%% >> ~/.bashrc
|
||||||
|
if [ -f /etc/bash_completion ]; then
|
||||||
|
. /etc/bash_completion
|
||||||
|
fi
|
||||||
|
%%
|
||||||
|
mkdir -p ~/.local/share/bash-completion/completions
|
||||||
|
docker completion bash > ~/.local/share/bash-completion/completions/docker
|
||||||
|
source ~/.bashrc
|
||||||
|
```
|
||||||
|
|
||||||
|
### Tools
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
sudo apt install -y \
|
||||||
|
curl \
|
||||||
|
htop \
|
||||||
|
iputils-ping \
|
||||||
|
jq \
|
||||||
|
tcpdump \
|
||||||
|
traceroute \
|
||||||
|
vim
|
||||||
|
```
|
||||||
|
|
||||||
|
### Shortcuts
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
cat <<%% >> ~/.bashrc
|
||||||
|
# RSKIO
|
||||||
|
alias q="exit"
|
||||||
|
%%
|
||||||
|
source ~/.bashrc
|
||||||
|
```
|
||||||
@@ -1,30 +1,36 @@
|
|||||||
# HomeLab Network
|
# HomeLab Network
|
||||||
|
|
||||||
## Firewall
|
## Classy
|
||||||
|
|
||||||
https://firewalla.com/products/firewalla-gold-plus
|
### Router
|
||||||
|
|
||||||
## Routing
|
Unifi [Dream Machine Special Edition](https://techspecs.ui.com/unifi/unifi-cloud-gateways/udm-se)
|
||||||
|
|
||||||
https://store.ui.com/us/en/pro/category/all-unifi-cloud-gateways/products/udm-pro-max
|
### Switching
|
||||||
|
|
||||||
## Switching
|
Unifi [Pro Max 24](https://techspecs.ui.com/unifi/switching/usw-pro-max-24)
|
||||||
|
|
||||||
=== "Switch to Wifi and NAS"
|
|
||||||
|
|
||||||
Unmanaged PoE Switch with 4 x 2.5GbE PoE+@120W + 2x 10G SFP Uplink
|
Unmanaged PoE Switch with 4 x 2.5GbE PoE+@120W + 2x 10G SFP Uplink
|
||||||
|
|
||||||
https://www.amazon.com/NICGIGA-Port-2-5G-PoE-10G/dp/B0CDH12CVK?ref_=ast_sto_dp&th=1
|
### Wifi
|
||||||
|
|
||||||
=== "Switch to PoE Cameras"
|
Unifi [U7 Pro](https://techspecs.ui.com/unifi/wifi/u7-pro) x6
|
||||||
|
|
||||||
|
|
||||||
|
### Cameras
|
||||||
|
|
||||||
## Wifi
|
Unifi [G5 Bullet](https://techspecs.ui.com/unifi/cameras-nvrs/uvc-g5-bullet) x6
|
||||||
|
|
||||||
https://store.ui.com/us/en/pro/category/all-wifi/products/u7-pro
|
### Network Attached Storage
|
||||||
|
|
||||||
## Cameras
|
=== "6-Bay"
|
||||||
|
|
||||||
https://store.ui.com/us/en/pro/category/all-cameras-nvrs/products/uvc-g5-bullet
|
UGREEN [DXP6800 PRO](https://www.ugreen.com/collections/nas-storage/products/ugreen-nasync-dxp6800-pro-nas-storage)
|
||||||
|
|
||||||
|
see [Personal NAS](../storage/personal_nas.md)
|
||||||
|
|
||||||
|
=== "8-Bay"
|
||||||
|
|
||||||
|
UGREEN [DXP9800 PRO](https://www.ugreen.com/collections/nas-storage/products/ugreen-nasync-dxp8800-plus-nas-storage)
|
||||||
|
|
||||||
|
see [Enterprise NAS](../storage/enterprise_nas.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user