Knowledge base — Page 14

05.06.2025
709
Knowledge base / Terminal / Programming
What Does git reset Do — And Why You Might Need It

When working with code, things don’t always go according to plan. Maybe you committed the wrong file, made changes in the wrong branch, or just want to undo your last few steps. In cases like these, Git gives you a powerful tool — git reset. This command helps you roll back changes, clean up unwanted commits, or prepare your code for a new commit. It works with precision and flexibility: you can remove only the last commit and keep all your files as they are — or wipe the slate completely clean.

05.06.2025
1 085
Knowledge base / Android
Android Apps That Help You Take Control and Get Organized

If you're looking to rely less on your phone and become more productive, these apps can offer a solid foundation. They don’t demand constant attention or bombard you with notifications — instead, they help you live a little more mindfully.

30.05.2025
1 113
Knowledge base / Server
How to Set Up Automatic Package Updates on an Ubuntu Server

Your server is up, your website loads, everything works. But after a couple of months—problems start creeping in: vulnerabilities pop up, errors appear, some things stop working. Why? The answer is simple: you forgot to install updates.

Ubuntu servers, especially those with SSH access, are constantly being scanned and attacked by bots looking for vulnerabilities. If you skip updates, you’re risking data leaks, downtime, or even hidden crypto miners silently hijacking your resources.

Regular updates patch security flaws, fix bugs, and improve system stability. This is especially important on VPS plans with limited resources, where a small issue can quickly escalate into a major outage.

To avoid unnecessary risk, it's best to enable automatic updates right after setting up your server. Doing everything manually is slow and unreliable—especially if you're away or simply forget. That’s where unattended-upgrades comes in.

30.05.2025
1 321
Knowledge base / Instructions - THE.Hosting
How to Transfer a Disk from One Virtual Machine to Another Using Redo Rescue

In this guide, we’ll walk you through the process of fully migrating your OS and data from one VPS to another using Redo Rescue. Don’t worry — it’s not complicated. If you follow the instructions step by step, you’ll get it done easily.

29.05.2025
645
Knowledge base / Terminal / Server
How to Speed Up Your Website with Caching in Nginx

Is your site slowing down as traffic grows? That’s a common issue. One good marketing campaign or a mention on a news aggregator — and suddenly your server is struggling. Pages start loading slowly, 502 errors appear, and you're left wondering how to fix it. One of the simplest and most effective solutions is enabling caching in Nginx. It helps take the load off your server and makes your site feel noticeably faster.

When your project is small, Nginx handles things just fine — serving pages, images, scripts. But as traffic increases, each extra request puts more pressure on the system. That’s where caching steps in. It saves processed content and serves it again without redoing the work — saving time and resources.

28.05.2025
1 256
Knowledge base / Commands / Server
How to Set a Static IP Address in Ubuntu 22.04

Sometimes, a device on your network needs a permanent IP address — like when you’re setting up a server, a VPN, or a storage system. In this guide, we’ll walk you through how to assign a static IP in Ubuntu 22.04 using Netplan.

28.05.2025
694
Knowledge base / Commands
How to Find a Process Name by Its PID in Linux

Sometimes you need to quickly figure out which process is running under a specific PID. In this guide, we’ll show you how to do that — but first, let’s briefly go over how processes work in Linux. Whenever you or the system launches a program, the Linux kernel creates a separate process for it. This process holds all the information about the program’s execution: variables, input/output, state, and more.

Since Linux is a multitasking system, it runs many processes at once. To keep things organized, each process is assigned a unique number — the PID (Process ID). Without it, managing tasks would be a mess.

Information about processes is stored in the /proc directory. Each running process has its own folder named after its PID.

In this article, we’ll break down how the shutdown, poweroff, halt, and reboot commands differ in Linux. We’ll look at what each command actually does and what options they offer. If you’re just getting started with Linux server administration, it’s important to get familiar with these commands — they’re essential for managing your system safely and reliably.

26.05.2025
1 165
Knowledge base / Programs / System
LogKeys: How to Monitor Keystrokes in Linux

Disclaimer: Everything described below is for educational purposes only. Using keyloggers to spy on others is illegal and unethical.