You can check a Linux server for threats with two tools: ClamAV looks for malicious files by signature, while rkhunter hunts rootkits, replaced system binaries and suspicious settings. Below is how to install both, run a scan and read the...
Kristaps Bērziņš
Nginx Reverse Proxy for ...
systemd unit generator Fill in the fields and get a ready .service file that starts the service automatically. Description Start command (ExecStart) Working directory User Variables (separated by ;) Restarton-failurealwaysno File myapp.service — save it into /etc/systemd/system/: Install with a...
Let's Encrypt SSL with C...
Let’s Encrypt is a non-profit certificate authority that issues TLS certificates at no charge: the certificate itself costs nothing, and the certbot utility issues and renews it automatically. Here is how to enable HTTPS for an Nginx site in a...
Automatic Security Updat...
Automatic security updates in Ubuntu are handled by the unattended-upgrades package: it checks for and installs security patches every day without your involvement. That closes vulnerabilities before anyone gets to use them. Here is the setup step by step.
How to Set Up SSH Keys a...
chmod permission calculator Tick the permissions or enter an octal number — you get the symbolic notation and the chmod command. Read (r)Write (w)Execute (x) Owner Group Others Octal Symbolicrw-r--r-- chmod 644 file
Create an RDP User on Wi...
To give a colleague RDP access to a server, create a local account and add it to the Remote Desktop Users group — the user can then connect without gaining administrator rights. You can do this through the lusrmgr.msc console...
Extend Windows Server Tr...
The Evaluation edition of Windows Server runs for 180 days. You can extend the evaluation period with slmgr /rearm — it resets the counter, and Microsoft itself permits this for testing. To see how many days and how many resets...
How to Check Open Ports:...
Open ports are checked from two sides: locally, to see which services are listening (ss -tulpn, netstat -tulpn), and externally, to see which ports are actually reachable through the firewall (nmap, telnet). The difference matters — a port can be...
How to Find Your IP Addr...
To find your local IP address, run ipconfig on Windows or ip addr on Linux. To find your external (public) IP, run curl ifconfig.me or open a service such as ipinfo.io in a browser. Below are all the methods with...