Advanced Search
Search Results
20 total results found
Step 0: Prerequisites
For this guide, I will use Navidrome (since it is what I use currently). I will guide you through how to set it up as a server rather than an app, as this is also how I use it, but also because, installing it as an app, especially on Windows, shouldn't be hard...
Step 1: Running Navidrome
As mentionned before, I am going to explain how to run Navidrome using Docker Compose. If you have trouble following some steps, I will link to short videos showing how to do them. Start by creating a folder named navidrome (or naything you like!) and cd into ...
Step 2: Remote access
If you don't care about remote access, you can skip that part.
Step 3: Adding music
We need to place our music in the directory we specified in the docker-compose.yml file, in our case ../music, which is most likely ~/music. If you have the music you want to upload on the device you are accessing your server with, you can log out of SSH, and ...
Step 4: Choosing a client
Now to listen to music, you can either directly listen to it through the website, or better, through clients. There are many, many, clients available and chosing one is dependent on personal preferences. The clients I use are: Symfonium for Android (paid, ~5$...
Step 1: Installing OpenSSH
This step won't be guiding you on how to actually install OpenSSH since I don't know which distribution you are running. But I can still link some documentation: Debian Alpine NixOS
Step 4: Securing OpenSSH
⚠️ Before continuing: This will make login via password impossible. If you lose your SSH key, you will lose access to your server and it will require a reinstallation. The OpenSSH server configuration should be located at /etc/ssh/sshd_config but we aren't goi...
Step 2: Generating a SSH key
SSH keys are used to safely connect to remote machines, without a password, among other things. If you already have a SSH key, you can skip to the next step. We are going to generate a SSH key. (no clue how that works on windows!) Linux On Linux, simply type s...
Step 3: Copy SSH key to server
Now that we have a key, we can transfer it to our server. This can be done with ssh-copy-id. Run: ssh-copy-id <user>@<hostname> and it should just work(TM). If this didn't work, you can manually add the key yourself. Print the key in your terminal and copy it:...
End word
The setup is now complete! You can somewhat safely make your server publicly accessible now, if it wasn't already. Note that this does not make your server perfectly safe. SSH can now be considered safe, as login is only possible via SSH key. But every app is ...
Step 5: Setting up fail2ban
We are now going to setup fail2ban, basically something than bans IPs from accessing your server if they fail to authenticate multiple times. Installing Installation varies from distro to distro, here you can check how. Configuration We are going to setup fail...
Step 1: Create a user
If you logged in as root (which you probably did), you're gonna need to create a user. Logging in as root is very dangerous, even more when login via password is enabled. Hackers could get access to your machine and do literally anything with it, since they wo...
Step 2: Read guides!
At this point you are ready to configure your VPS as you like. I do have some guides I recommend reading to make your VPS a bit more secure. Read at least these guides: SSH Firewall
Step 1: Install UFW
A firewall essentially allows or denies incoming and/or outgoing connections to your machine. We are going to use ufw, because it is very easy to use, hence the name: Uncomplicated Firewall. To install it on Debian/Ubuntu, run: sudo apt update && sudo apt inst...
Recommendations
The only browser I can safely recommend is Librewolf. Other forks of Firefox are slow with security updates, and Firefox itself is becoming an AI browser. The problem with Librewolf is that it is very heavily focused on privacy, and unusable for laymen by defa...
Extensions
I recommend running a few extensions to make your life better on the internet: uBlock Origin Best adblock extension on the market. Use this one, not any other. You can consider Ad Nauseam instead, but I recommend this one. Link: https://addons.mozilla.org/en-U...
Discord Fucking Sucks
Discord Fucking Sucks! There are many alternatives that range from somewhat good to actually good: Matrix (somewhat good) Zulip (if organizing a team) XMPP with OMEMO (actually good!)
Alternatives to voice chatting
Mumble Teamspeak if selfhosting I guess..?
Alternatives to text
XMPP with OMEMO (very good!) Matrix (somewhat good) Zulip (if organizing a team)
Preliminary
We are going to use nginx as a reverse proxy.