Blog

Servers

Running your own server: VPS, VDS and dedicated machines, AlmaLinux administration, firewalls, and the commands that keep a server secure.

How To Disable Firewalld On AlmaLinux A Step-By-Step Guide

Firewalld is the default firewall management tool on AlmaLinux, providing a dynamic way to manage firewall settings with support for network zones. While it's a crucial component for system security, there are scenarios where you might need to disable it temporarily or permanently. This guide will walk you through the steps to disable Firewalld, along with important considerations to keep your system secure.

1 minute read

Mastering Linux Server Commands Similarities and Differences Across Distributions

Linux is one of the most powerful and versatile operating systems, widely used for both personal computing and server management. Although different Linux distributions (or "distros") may seem distinct, many of their basic operations remain consistent across platforms. However, there are also key differences, especially when it comes to package management and system administration. In this article, we’ll explore both the commonalities and distinctions between Linux distributions, helping users

1 minute read

How To Disable The Firewall On AlmaLinux 9 Step-By-Step Guide

Firewalls play a crucial role in protecting systems by monitoring and controlling incoming and outgoing network traffic. However, there are scenarios where disabling the firewall may be necessary, such as when troubleshooting or during specific system configurations. In this article, we will walk you through the steps to disable a firewall. This is a general guide that can be applied to various systems, offering a clear, professional explanation suitable for a wide audience.

1 minute read

How To Check Your Almalinux Version 5 Easy Methods For Servers

Knowing the exact version of your Linux system can be crucial for troubleshooting, managing software, or simply staying informed about your system's capabilities. There are several methods you can use to check the version and distribution of Linux you're running. This article will walk you through the most common ways to gather this information efficiently.

1 minute read

How to Enable Short Open Tags in PHP 8.1 and Locate Your php.ini File

PHP developers often need to optimize their code to ensure compatibility with different server environments. One common feature in earlier versions of PHP is the use of short open tags (<? ), which are a shorthand for the standard PHP open tags (<?php ). However, with the release of PHP 8.0, the use of short open tags has been deprecated. Despite this, in certain scenarios, developers may want to enable them manually for legacy code or personal preference. This article outlines a step-by-step

1 minute read

Install and Manage Firewalls in AlmaLinux 9

A firewall is a security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. Firewalls act as a barrier between a trusted internal network and untrusted external networks, such as the internet. They are critical for preventing unauthorized access while allowing legitimate traffic to pass through. In this tutorial, we will walk you through the process of understanding, installing, configuring, and troubleshooting firewalls on AlmaLinux 9.

1 minute read

Installing and Managing NetworkManager in AlmaLinux 9

NetworkManager is an essential tool for managing network connections on AlmaLinux 9. It simplifies the process of configuring, maintaining, and troubleshooting network connections. In this guide, we will walk you through how to install NetworkManager, manage it (start, restart, and stop), troubleshoot common issues, and provide essential commands to ensure that your network is running smoothly.

1 minute read

aaPanel vs Webmin/Virtualmin Comprehensive Feature Comparison

As a hosting provider, selecting the right control panel is crucial for ensuring smooth server management and optimal performance. In this detailed comparison, we will explore the features, strengths, and weaknesses of two popular control panels: aaPanel and Webmin/Virtualmin. This guide will help you make an informed decision about which panel is best suited for your hosting environment.

1 minute read

Understanding and Securing Portmapper (rpcbind) Services on Your Server and How to Disabe

In the world of server administration, maintaining security is a paramount responsibility. Ensuring that your server is safeguarded against potential vulnerabilities can prevent a wide range of malicious activities, such as Distributed Denial of Service (DDoS) attacks, unauthorized access, and data breaches. One of the potential vulnerabilities that system administrators might encounter is the Portmapper service, also known as rpcbind. This article will delve into what the Portmapper service

1 minute read

What Are Dedicated Servers

Dedicated servers are among the most important technologies in the field of website hosting and business applications. These servers provide high performance and superior security compared to other options such as shared or virtual servers. In this article, we will cover all the information related to dedicated servers, including the definition, benefits, how they work, and their uses, with a comparison to other available options in the market.

1 minute read

What is Virtual Private Servers (VPS)

Virtual Private Servers (VPS) are an excellent solution for companies and individuals who need dedicated server resources without the significant investment in a standalone physical server. In this detailed article, we will cover everything you need to know about VPS, from definition and features to uses and frequently asked questions.

1 minute read

What Are Virtual Dedicated Servers (VDS)

Virtual Dedicated Servers (VDS) are modern technologies that allow users to benefit from the features of dedicated servers but at a lower cost and higher flexibility. In this article, we will cover everything related to virtual dedicated servers in terms of definition, benefits, how they work, and comparison with other technologies.

1 minute read

Questions about this topic

Quick, clear answers to what readers ask most about this topic.

What is a server in web hosting?

A server in web hosting is a computer that stays connected to the internet and delivers websites, apps, email or data to visitors on request. It runs an operating system, usually Linux, plus a web server such as Nginx or Apache. Hosting companies run servers in data centers with steady power and fast connections.

What is a VPS server?

A VPS, or virtual private server, is a private virtual machine running on a powerful physical server shared with other VPS users. Each VPS has its own operating system, its own resources and full administrator access. A VPS gives much more control than shared hosting.

What is the difference between a VPS and a VDS?

A VPS shares the physical server's processor cores among several users, while a VDS, or virtual dedicated server, reserves specific cores and memory for one customer only. A VDS therefore gives steadier performance under load. Both run as virtual machines with full administrator access.

What is a dedicated server?

A dedicated server is a whole physical machine rented to one customer, with all of its processor, memory and disks reserved for that customer. It suits large websites, heavy databases and workloads that need maximum performance or strict isolation. A dedicated server also needs the most administration skill.

When should I move from shared hosting to a VPS?

Moving from shared hosting to a VPS makes sense when a website slows down under traffic, hits resource limits or needs software that shared hosting does not allow. A VPS also suits sites that need custom server settings. Growing online shops and web apps often reach this point first.

Which is better for a growing business, a VPS or a dedicated server?

A VPS is better for most growing businesses because it is flexible and easy to upgrade, while a dedicated server is better for heavy, steady workloads that need a whole machine. Many companies start on a VPS and move to dedicated hardware later. The choice depends on traffic, data size and performance needs.

What is AlmaLinux?

AlmaLinux is a free, community-run Linux distribution that is binary compatible with Red Hat Enterprise Linux. It is widely used on servers as a stable replacement for CentOS after CentOS Linux ended. AlmaLinux receives long-term security updates for each major version.

Why is AlmaLinux a popular choice for servers?

AlmaLinux is a popular choice for servers because it is stable, free to use, compatible with Red Hat Enterprise Linux and supported with security updates for many years. Many hosting control panels support AlmaLinux. Administrators familiar with CentOS find AlmaLinux almost identical to manage.

How do I connect to a Linux server with SSH?

A Linux server is reached with SSH by running a command such as ssh user@server-address from a terminal, then entering a password or using a key. SSH encrypts the whole session. Windows includes an SSH client in its terminal as well.

Why should I use SSH keys instead of passwords?

SSH keys should be used instead of passwords because they are practically impossible to guess and stop brute-force login attempts. The private key stays on the user's computer, and only the public key goes on the server. Once keys work, password logins can be turned off entirely.

How do I secure a new Linux server?

A new Linux server is secured by applying all updates, creating a normal user with sudo rights, using SSH keys, disabling root and password logins and turning on a firewall that allows only needed ports. Tools such as Fail2ban block repeated failed logins. Regular updates and backups keep the server safe over time.

What is a firewall on a Linux server?

A firewall on a Linux server is a set of rules that allows or blocks network traffic by port, protocol and address. It keeps every service closed except the ones meant to be public, such as web and SSH. On AlmaLinux the usual firewall tool is firewalld.

How do I open a port with firewalld on AlmaLinux?

A port is opened with firewalld on AlmaLinux by running firewall-cmd --permanent --add-port=8080/tcp and then firewall-cmd --reload to apply it. Common services can be opened by name, such as --add-service=https. Running firewall-cmd --list-all shows the current rules.

How do I update packages on AlmaLinux?

Packages on AlmaLinux are updated with the command sudo dnf update, which downloads and installs the latest versions from the configured repositories. A reboot is needed after kernel updates. Automatic security updates can be set with the dnf-automatic package.

Which Linux commands should every server administrator know?

Every server administrator should know commands such as ls, cd, cp, mv, rm, nano or vim, systemctl, journalctl, df, free, top, ss, chmod and chown. They cover files, services, logs, disk space, memory, processes, network ports and permissions. Knowing these handles most daily server work.

How do I check disk space and memory on a Linux server?

Disk space on a Linux server is checked with df -h, and memory with free -h, both showing sizes in readable units. The du -sh command shows how much space a folder uses. Running top or htop shows which processes are using memory and processor time.

How do I restart a service on a Linux server?

A service on a Linux server is restarted with sudo systemctl restart followed by the service name, such as nginx. The command systemctl status shows whether the service is running and its recent log lines. Using reload instead of restart applies new settings without dropping connections, when the service supports it.

Where are log files on a Linux server?

Log files on a Linux server are mostly kept in the /var/log folder, while systemd services log to the journal, read with journalctl. Web servers such as Nginx write their own access and error logs under /var/log. Checking logs is the first step when something stops working.

What is Fail2ban and why install Fail2ban on a server?

Fail2ban is a tool that watches server logs and temporarily blocks IP addresses that fail to log in too many times. It stops automated password-guessing attacks on SSH and other services. Fail2ban works alongside the firewall and needs little maintenance once set up.

How should I back up a server?

A server should be backed up automatically on a schedule, with copies kept in a different location from the server itself. Backups should cover files, databases and configuration. Restoring a backup in a regular test proves it actually works.

What is a root user and should I log in as root?

The root user is the Linux administrator account with unlimited rights over the whole server. Logging in as root directly is discouraged, because one mistake or one stolen password affects everything. A normal user with sudo rights is safer for daily work.

How do I monitor a server's uptime and performance?

A server's uptime and performance are monitored with tools that track processor, memory, disk and network use and send alerts when something goes wrong. External uptime checks confirm the website is reachable from outside. Watching trends over time shows when the server needs more resources.

What does server uptime of 99.9 percent mean?

Server uptime of 99.9 percent means the server is expected to be available all but about 43 minutes in a 30-day month. Uptime guarantees measure reliability in a hosting agreement. Planned maintenance windows may or may not count toward the figure.

Should I choose a managed or an unmanaged server?

A managed server is the better choice when there is no in-house administrator, because the provider handles updates, security and monitoring. An unmanaged server suits teams with Linux skills who want full control. The choice depends on the time and expertise available.

Does Hostrena offer VPS, VDS and dedicated servers?

Hostrena, Linkysoft's hosting brand, offers VPS servers, VDS servers with reserved cores and memory, dedicated servers and AI GPU servers. Customers choose a data center in North America, Europe or Asia-Pacific, with a 99.9% uptime guarantee and engineers answering support tickets 24/7. Hostrena's engineers also move an existing website or whole server free of charge.