Operation Systems
The choice of operating system for blockchain nodes makes a considerable difference in terms of security, availability, and compatibility. Node operators mostly use open source-based Linux distributions because they are very stable and perform well and have wide compatibility with Ethereum Virtual Machine toolsets. Ubuntu and Debian lead among them because they have strong package management and support life cycles.
- According to 🍃 Ether Nodes, more than 95% of EVM-based nodes run on Linux, with 🔶 Ubuntu and 🍥 Debian on top.
- Wide-spread consumer software like 🎨 DAppNode also operates 🍥 Debian under the hood.
System Comparison
Ubuntu and Debian are both capable operating systems for running a blockchain node.
Feature | Ubuntu | Debian |
---|---|---|
Overview | Most popular and widespread Linux distribution with regular updates, low maintenance, and great stability. | Rock-solid Linux distribution focused on long-term stability, reliability, security, and minimalism. |
Focus | - User-Friendliness - Frequent Updates - Easy Access to Latest Software - Active Community | - Maximum Stability - Lower Resource Use - Conservative Release Cycles - Ideal for Experts |
Ubuntu and Debian both are distributions of high-performance operating systems with considerable support for various platforms. Both distributions act as effective nodes. The main difference is how users want to balances usability and stability, and how much manual effort one is willing to take in setting up modern defaults.
The Hardware Setup of the 📖 Guide section uses Ubuntu 22.04.2 LTS Server. While Debian users can follow along, some commands or package names may slightly differ. Feel free to look up distribution-specific alternatives when needed.
Server Systems
It is strongly advised to use a server version of an operating system over a desktop version. Server versions are designed to be operated headless and ensure a decrease in background processes that could interfere with system functioning.
Feature | Description |
---|---|
It lacks a graphical user interface and unnecessary packages, thus reducing the overall CPU, memory, and disk usage, which improves the performance of the node. | |
Fewer packages mean fewer points of failure, such as avoiding graphical rendering and display output, unwanted package interactions, or reserved ports. | |
The system is built using command-line tools and services that mainly target the backend, making it very fitting for persistent processes and software daemons. | |
It gets more regular security and software updates than regular consumer repositories, thus allowing all its components to be kept up-to-date to their newest versions. |
Long-Term Support
Both software manufacturers offer special long-term-support versions of their operation systems, serving as checkpoints through their rollouts. LTS versions get more frequent security upgrades, receive support over extended periods, and go through rigorous testing before their releases. These versions are critically designed for business servers expected to run with little interruption.
- Ubuntu: Lifecycle and Release Cadence
- Debian: Long Term Support
Feature | Description |
---|---|
Prioritizes uptime and reliability for all included software packages. | |
Extended patch cycle with regular updates for core system packages. | |
Avoids frequent upgrades or reinstallations over the years. | |
Supported by a wider range of node software and community guides. |
Installation Types
Most installers support different images types, most notably normal and minimized setups.
Type | Regular Installation | Minimized Installation |
---|---|---|
Purpose | User-Operated Devices and Instances | Automated Deployments and Containers |
Description | - normal boot process - regular package support - frequent update cycles | - smaller boot process - fewer pre-installed packages - reduced update cycles |
The regular installation is recommended, as it contains all relevant configuration tools and full logging capabilities.
The minimal installation lacks essential tools for debugging and user configuration and is only advised for professionals. Subsequent installations for any missing software can lead to additional friction during maintenance, customization, or when troubleshooting issues.
The following comparison presents a more detailed look at the different installation types for Ubuntu:
Ubuntu 22.04.2 Server | Regular Installation | Minimized Installation |
---|---|---|
~606 packages | ~420 packages | |
~4,5 GB | ~ 4,1 GB | |
~192 MB | ~176 MB | |
- Multiple Text Editors - Full Firewall Capabilities - Includes MAN Pages | - Without Text Editors - Lacks Firewall Commands - No MAN Pages |
During community testing, the minimized installation lacked debugging commands and generated incomplete service logs. Some configuration files had to be generated manually before configuring monitoring processes.