2.6 KiB
2.6 KiB
edemilov/scripts
Personal homelab scripts hosted on Gitea at git.edemilov.ru.
Quick usage
# Fresh machine setup — install apps first
curl -s https://git.edemilov.ru/edemilov/scripts/raw/branch/main/apps.sh | sudo bash
# Then mount samba drives + setup 2nd drive symlinks
bash <(curl -s https://git.edemilov.ru/edemilov/scripts/raw/branch/main/netdrivelink.sh)
# Windows (PowerShell as Admin)
irm https://git.edemilov.ru/edemilov/scripts/raw/branch/main/apps.ps1 | iex
# Bootstrap SSH access on a new machine (installs+enables sshd, deploys admin key)
curl -s https://git.edemilov.ru/edemilov/scripts/raw/branch/master/sshinstall.sh | sudo bash
# Windows (PowerShell as Admin)
irm https://git.edemilov.ru/edemilov/scripts/raw/branch/master/sshinstall.ps1 | iex
Short aliases for sshinstall, served by nginx on the edemilov.com web container (CT122), which
passes the request straight to this repo's raw file. No redirect, so plain curl -s works:
curl -s https://edemilov.com/sshlinux | sudo bash # Linux
irm https://edemilov.com/sshwin | iex # Windows, admin PowerShell
Older aliases https://edemilov.com/ssh and /ssh.ps1 are Cloudflare Redirect Rules on the
edemilov.com zone (302). irm follows the redirect; curl needs -L (curl -sL ... | sudo bash).
Scripts
| Script | Description | Distros |
|---|---|---|
apps.sh |
Install common dev/security/daily tools | Arch, Parrot, Kali, Debian, Ubuntu |
netdrivelink.sh |
Mount vanga Samba shares + 2nd drive symlinks | Same |
apps.ps1 |
Windows equivalent via winget + map network drives | Windows 10/11 |
sshinstall.sh |
Install/enable SSH server + deploy admin key | Arch, Debian, Ubuntu, RHEL, Fedora |
sshinstall.ps1 |
Windows equivalent | Windows 10, 11 |
gitea-ct-setup.sh |
Create CT116 with Gitea on Proxmox host | Proxmox 8+ |
Samba shares (vanga — 10.0.99.100)
| Share | Path on vanga | Mounted at |
|---|---|---|
Edemilov |
/srv/users/edemilov |
/mnt/users/edemilov |
Depo |
/srv/depo |
/mnt/depo |
Family-Documents |
/srv/shared/documents |
/mnt/shared/documents |
Family-Downloads |
/srv/shared/downloads |
/mnt/shared/downloads |
Movies/TVShows/Music/... |
/srv/media/* |
/mnt/media/* |
2nd drive (nvme-data)
Mounted at /nvme-data — symlinked to home:
~/Documents → /nvme-data/Documents
~/Downloads → /nvme-data/Downloads
~/Pictures → /nvme-data/Pictures
~/Videos → /nvme-data/Videos
~/Projects → /nvme-data/Projects
~/Scripts → /nvme-data/Scripts