Configure server

This page explains what to configure after installing the server OS.

Requirements - Arch Based

Install network package:

sudo pacman -Sy net-tools

Configure SSH

Install and Enable package (Arch Based):

sudo pacman -Sy openssh && sudo systemctl enable sshd.service --now

Static IP Address

Important to define a fixed IP on the server to access it in the future.

Programs Network monitoring

  • nload

  • vnstat

  • netdata

Configure Network

View your IP address:

Save ipv4 and ipv6 to set fix IP, example:

Arch Based

Access the configuration directory:

Edit the configuration file (you can make a backup at this step):

Define the address searched in the previous step, example config:

Debian Based

DNS file configuration:

Access the IP configuration:

Example:

  • NETWORK – your network connection type: eth0 (Ethernet) or wlan0 (wireless).

  • METRIC - Initialization interface, biggest most priority.

  • STATIC_IP – the static IP address you want to set for the Raspberry Pi.

  • ROUTER_IP – the gateway IP address for your router on the local network.

  • DNS_IP – the DNS IP address (typically the same as your router’s gateway address).

Last updated