---
title: "Linux administration: 78 guides | StreetHosting"
description: "Ubuntu, Debian, systemd, cron, swap and the day-to-day tasks of running a VPS. Browse the 78 StreetHosting guides on this subject."
url: "https://streethosting.com.br/en/guides/topics/linux"
type: "page"
language: "en-US"
---

# Linux administration

Ubuntu, Debian, systemd, cron, swap and the day-to-day tasks of running a VPS.

78 guides across 4 categories

Search guides

/

All78 Minecraft1 VPS66 Discord Bots2 Infrastructure9

Filters and sorting

78 guides

[Infrastructure Advanced ECC memory: what it is and why database and storage servers use it ECC memory stores extra bits to correct a one bit error and detect a two bit error. It prevents silent data corruption on machines that stay on for months, such as database and storage servers. 9 min Read guide](https://streethosting.com.br/en/guides/infrastructure/ecc-memory-servers) [VPS Intermediate PostgreSQL backup with pg\_dump and cron: script, rotation and restore A backup is only worth something if you can restore it. See how to create PostgreSQL dumps with pg\_dump, keep roles and globals with pg\_dumpall, automate it with cron, rotate old copies, move them off the VPS and test the restore. 9 min Read guide](https://streethosting.com.br/en/guides/vps/postgresql-backup-pg-dump-cron) [VPS Beginner Basic Linux commands to use on your VPS A VPS has no windows and no mouse, just a terminal. These are the commands that handle 90% of daily work: moving around folders, handling files, reading logs, seeing what eats resources and controlling services. 6 min Read guide](https://streethosting.com.br/en/guides/vps/basic-linux-commands-vps) [VPS Intermediate How to create a systemd service on Linux to run any app A systemd service starts your app with the server, restarts it when it crashes and keeps its logs. See the full .service file, the daily commands and the errors that trip up most first timers. 9 min Read guide](https://streethosting.com.br/en/guides/vps/create-systemd-service-linux) [VPS Intermediate Host Django on a VPS with Gunicorn, Nginx and PostgreSQL runserver is not meant for production. Here is the full path on a VPS: virtual environment, production settings, Gunicorn under systemd, Nginx serving /static/ and HTTPS with certbot. 8 min Read guide](https://streethosting.com.br/en/guides/vps/host-django-vps-gunicorn-nginx) [VPS Beginner Linux permissions: chmod, chown and the Permission denied error Every file on Linux has an owner, a group and three kinds of permission. Understanding that fixes most access denied errors on sites, bots and SSH keys, without resorting to chmod 777. 7 min Read guide](https://streethosting.com.br/en/guides/vps/linux-permissions-chmod-chown) [VPS Intermediate Run Ollama on a VPS: a language model on CPU only You can run 1B to 8B parameter models on an ordinary VPS, with no GPU. See how to install Ollama, how much RAM each model needs, what to expect from the speed and how to expose the API without leaving the port open to the internet. 9 min Read guide](https://streethosting.com.br/en/guides/vps/run-ollama-llm-vps-cpu) [VPS Beginner SSH config file: reach several servers with a short name Stop memorizing IPs, ports and key paths. With one block per server in the SSH config file you connect with ssh prod, and the same alias works in scp, rsync and VS Code. 8 min Read guide](https://streethosting.com.br/en/guides/vps/ssh-config-multiple-servers) [VPS Beginner tmux on a VPS: how to keep a process running after you close SSH Closing the terminal kills whatever was running in it. tmux keeps the session alive on the server, and you come back to it whenever you want. See the steps, the alternatives and the point where a service is the right answer. 7 min Read guide](https://streethosting.com.br/en/guides/vps/tmux-keep-process-running-ssh) [VPS Beginner VS Code Remote SSH: edit and run code directly on your VPS With the Remote SSH extension, VS Code opens the folder that lives on your VPS as if it were local, with the terminal, extensions and debugger running there. See the setup, the memory use and what to do when it hangs. 9 min Read guide](https://streethosting.com.br/en/guides/vps/vs-code-remote-ssh-vps) [VPS Beginner WinSCP and FileZilla with SFTP: send files from Windows to your VPS SFTP uses the same port and the same login as SSH, so there is nothing to install on the VPS. Here is how to set up WinSCP and FileZilla with a password or a key, and how to clear the permission error on /var/www. 8 min Read guide](https://streethosting.com.br/en/guides/vps/winscp-filezilla-sftp-vps-windows) [Infrastructure Intermediate How to detect a DDoS attack on your server: Linux diagnosis General lag, players dropping and a sluggish SSH session can be a DDoS or just an overloaded server. Here are the symptoms, the commands that confirm the attack and what to send to support without wasting time. 9 min Read guide](https://streethosting.com.br/en/guides/infrastructure/detect-ddos-attack-on-server) [Infrastructure Intermediate What is a WAF and when to use one on sites and APIs A WAF inspects the content of every request and blocks injections, XSS and exploitation of known vulnerabilities. See the deployment models, how to install ModSecurity with the OWASP CRS on Nginx, and how to tune it without breaking your site. 11 min Read guide](https://streethosting.com.br/en/guides/infrastructure/what-is-a-waf) [Infrastructure Intermediate How to use traceroute to find routing problems Traceroute lists every router between you and the server and how long each one takes to answer. Read the right way, it shows whether the delay starts at your home, at your ISP, between networks or at the destination. 8 min Read guide](https://streethosting.com.br/en/guides/infrastructure/how-to-use-traceroute) [Infrastructure Intermediate How to use MTR to diagnose network problems MTR combines traceroute and ping and shows, hop by hop, where latency climbs and where packets get lost. The trick is knowing which loss is real and which is just a router rationing its replies. 8 min Read guide](https://streethosting.com.br/en/guides/infrastructure/how-to-use-mtr) [Minecraft Intermediate How to migrate a Minecraft server to a VPS Moving a Minecraft server to a VPS gives you full control, but it means handling Java, permissions, the firewall and automatic restarts yourself. This guide walks the whole path, from the inventory to the SRV record, without losing the world or your staff permissions. 9 min Read guide](https://streethosting.com.br/en/guides/minecraft/migrate-minecraft-server-to-vps) [VPS Intermediate How to analyze Linux VPS logs with journalctl and grep Almost every server problem leaves a trace in some log. See where each record lives on Ubuntu, how to slice by service, time and severity, and how to keep logs from filling the disk. 9 min Read guide](https://streethosting.com.br/en/guides/vps/analyze-linux-vps-logs) [VPS Intermediate Automatic security updates on Ubuntu Server Ubuntu already knows how to install security fixes without anyone typing apt upgrade. This guide shows how to turn it on, limit what gets in, schedule the reboot and check that the routine is actually running. 10 min Read guide](https://streethosting.com.br/en/guides/vps/ubuntu-automatic-security-updates) [VPS Intermediate Cloudflare Tunnel on a VPS: publish apps without opening ports With Cloudflare Tunnel, the VPS opens an outbound connection to Cloudflare and visitors come in through it, with no port 80 or 443 open and no IP in DNS. Here is the install, the two ways to create the tunnel, and what it does not solve. 8 min Read guide](https://streethosting.com.br/en/guides/vps/cloudflare-tunnel-vps) [VPS Beginner Set up an SSH key on Windows to access your VPS Windows already ships the OpenSSH client, so you can generate and use keys without installing anything. Here is the step by step in PowerShell, the most common permission errors and the path for anyone who prefers PuTTY. 9 min Read guide](https://streethosting.com.br/en/guides/vps/set-up-ssh-key-windows) [VPS Intermediate GitHub Actions deploy to VPS: step-by-step pipeline Every push to the main branch can build, upload and restart your application on the VPS without anyone opening a terminal. Here is how to set up that flow with a non-root deploy user, well-guarded secrets and protection against simultaneous deploys. 10 min Read guide](https://streethosting.com.br/en/guides/vps/github-actions-deploy-to-vps) [VPS Beginner What is taking up disk space on your VPS: how to find and free it A full disk takes down databases, stalls updates and makes applications fail without a clear error message. Here is how to find the culprit in a few commands and what you can delete without breaking anything. 9 min Read guide](https://streethosting.com.br/en/guides/vps/find-what-uses-disk-space-on-vps) [VPS Intermediate How to expand a Linux VPS disk after an upgrade The upgrade grows the virtual disk, but the partition and filesystem can stay at the old size. Learn how to check whether the image already expanded on its own and how to grow ext4, XFS and LVM with the VPS running. 9 min Read guide](https://streethosting.com.br/en/guides/vps/expand-linux-vps-disk) [VPS Intermediate How to deploy FastAPI on a VPS with Gunicorn and Nginx A production-ready FastAPI API on an Ubuntu 24.04 VPS: Python in a virtual environment, Gunicorn managing Uvicorn workers through the current package, a systemd service with zero-downtime reload, Nginx with HTTPS, and how to size the workers. 9 min Read guide](https://streethosting.com.br/en/guides/vps/host-fastapi-on-vps)

Show 24 more of 54

## Other topics

[See all 25 topics](https://streethosting.com.br/en/guides/topics)

[Hardware and datacenter68](https://streethosting.com.br/en/guides/topics/hardware) [Network, DNS and domains54](https://streethosting.com.br/en/guides/topics/networking) [Costs, plans and billing45](https://streethosting.com.br/en/guides/topics/costs) [Deploying and running apps41](https://streethosting.com.br/en/guides/topics/deploy) [Security and hardening39](https://streethosting.com.br/en/guides/topics/security) [Minecraft plugins38](https://streethosting.com.br/en/guides/topics/plugins) [Community and game modes37](https://streethosting.com.br/en/guides/topics/community) [Getting started32](https://streethosting.com.br/en/guides/topics/getting-started) [Automation and webhooks31](https://streethosting.com.br/en/guides/topics/automation) [Latency and ping31](https://streethosting.com.br/en/guides/topics/latency) [Monitoring and alerts28](https://streethosting.com.br/en/guides/topics/monitoring) [Other games26](https://streethosting.com.br/en/guides/topics/other-games) [Performance and optimization22](https://streethosting.com.br/en/guides/topics/performance) [Errors and diagnostics21](https://streethosting.com.br/en/guides/topics/troubleshooting)

[← All topics](https://streethosting.com.br/en/guides/topics)
