this post was submitted on 27 Oct 2023
10 points (100.0% liked)
Self-hosting
2782 readers
13 users here now
Hosting your own services. Preferably at home and on low-power or shared hardware.
Also check out:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Turn on SSH (text) and VNC (GUI, like Windows RDP) on L2, place wherever you want. Access it remotely to run whatever. Install and use samba to create a file share for your videos and music. Whenever you want to host a website, install apache or nginx as the host software.
If/when you use it to host a website, make sure to harden the security on it. Block SSH and VNC through your router firewall completely so the server cannot be accessed from outside. Block SSH for the root user. Install something like fail2ban to prevent anyone who manages to reach the server from trying passwords endlessly.
Is only SSH not enough? Does the VNC just add the GUI or anything else?
I did manage to get access to Home folder and even external disk on L2 after much fiddling with sshd_config. Was extra pleased, changed power settings and closed the lid, continued to work fine, was even more pleased. Pulled power plug to set computer up in shelf, plugged again, and it stopped working. Not sure what to try next.
Edit: got back in. Something dodgy happened to L2 and I restarted it
Oh, yes, SSH should be enough. I think I assumed a need for a GUI since you mentioned it had a GPU.
I mentioned the GPU because of Stable Diffusion - ah only now I understand what RDP means. (It shows that I live in the weird wastelands of 'will try to do anything with a computer' and 'out of the loop peasant hippy'). I guess that might be neat to have.