Linux / Unix Q & A and HowTos For New Users

Easy to follow Linux, macOS, *BSD, and Unix-like tutorial {Q & A} for developers and sysadmins. You can get the latest tutorial using the RSS/XML feed or weekly newsletter.

At home or in a cloud environment, IP addresses are assigned dynamically by the DHCP server. Setting a static IP address on your Alpine Linux server is required for various reasons. For instance, Alpine Linux is configured as a DHCP server or KVM server to host multiple VMs. Static IP address makes it easy to work with port forwarding, firewalling, and HTTPS server too. This quick tutorial will explain how to set up a static IP address on Alpine Linux.
[continue reading…]

Alpine Linux comes with a monitoring sensors package called lm-sensors. It is an easy-to-use and open-source application for monitoring CPU temperatures, voltage, and fans. This page explains how to install, configure, and use lm-sensors on Alpine Linux to view CPU temperature and other data on your Alpine Linux-powered laptop or server.
[continue reading…]

VnStat is a free and open-source app for servers and routers. It is a console-based network traffic monitor. It keeps a log of the 5-minute interval, hourly, daily, monthly, and yearly network traffic for the selected interface(s). Let us see how to install vnStat on the Alpine Linux server to keep a tab on bandwidth usage.
[continue reading…]

Amazon Simple Email Service (SES) is a hosted cloud-based email service to send and receive email using your email addresses and domains. Typically SES is used for sending bulk email or routing emails without hosting MTA. One can use the CLI or server-side programming languages such as PHP or Python to transfer an email via SES. This quick tutorial will show you how to route all outgoing emails with Postfix and Amazon AWS SES on Red Hat Enterprise Linux (RHEL) or CentOS version 8.
[continue reading…]