Learn how to install Vim, the most popular text editor for server-based environments, on Alpine Linux using the command "apk add vim" command and Docker or LXD (Linux container) image.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install vim in Alpine Linux appeared first on nixCraft.
You can use the reboot or shutdown -r now to reboot the Linux system. However, this doesn't scale well if you have many Alpine Linux servers (or clusters based upon Alpine Linux) and need to reboot the server only if a new Linux kernel is installed. Let us see how to use the Ansible IT automation tool to reboot the Alpine Linux VM or server only when a new Linux kernel is installed.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to reboot Alpine Linux using Ansible when kernel is updated appeared first on nixCraft.
You need to restart the network service in Alpine Linux using "/etc/init.d/networking restart" command to activate the network configuration defined in the /etc/network/interfaces config file. Do not run this command over an ssh-based session.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to restart network service in Alpine Linux appeared first on nixCraft.
When I try to compile a program on Alpine Linux, it fails with the following error:
app.c:1:10: fatal error: ncurses.h: No such file or directory
1 | #include <ncurses.h>
| ^~~~~~~~~~~
compilation terminated.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post Alpine Linux fatal error: ncurses.h: No such file or directory fix appeared first on nixCraft.
Git is a distributed version control system. To install git, type apk add git command on Alpine Linux.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install git command on Alpine Linux appeared first on nixCraft.
This quick tutorial explains how to install and set up OpenSSH (SSHD) server and client on the Alpine Linux system. Further, you will learn how to build a Docker Linux container running sshd server based upon Alpine Linux image too.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install OpenSSH server on Alpine Linux (including Docker) appeared first on nixCraft.
On Debian or Ubuntu Linux, one can run 'apt list --upgradable' command to see and list available package updates. On RHEL, we can use 'dnf check-update' to list available updates on screen. However, the apk command does not have an option to show and list available security software updates. But fear not. Some other tricks can list, and you can see what packages updates are available on Alpine Linux using the apk command.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to see what packages updates available on Alpine Linux appeared first on nixCraft.
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.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to configure static IP address on Alpine Linux appeared first on nixCraft.
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.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How To View CPU Temperature On Alpine Linux appeared first on nixCraft.
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.
The post How to install vnstat on Alpine Linux appeared first on nixCraft.
Curl is URL retrieval (download/upload) command-line utility and library. It is free software for Alpine Linux. This page explains how to search and install curl on Alpine Linux using the apk command.
The post How to install curl on Alpine Linux appeared first on nixCraft.
Linode is an original cloud platform and founded before AWS. Back then, we used to call them VPS (Virtual Private Server). Recently they added a new firewall feature to control network access to my Linode server from the Cloud. Let us test drive Linode cloud firewall.
The post Linode cloud firewall: Do you need it to protect the Linux server? appeared first on nixCraft.
How do I install VirtualBox application on Ubuntu 20.04 Linux LTS system?
The post How to install VirtualBox on Ubuntu 20.04 Linux LTS appeared first on nixCraft.
How do I install and set up WireGuard VPN server on an Alpine Linux cloud server? How can I configure Alpine Linux as the WireGuard VPN server? How can I configure snat to route all VPN traffic on my Alpine Linux?
The post Alpine Linux set up WireGuard VPN server appeared first on nixCraft.
Alpine Wall (Awall) is an easy to use interface to iptables for Alpine Linux users. While iptables and ip6tables is an excellent command, it can be challenging for new Alpine Linux users. The awall tool has easy to follow high-level concepts such as zones, limits, policies, and a single source for both IPv4 and IPv6. This tutorial will show you how to set up a firewall with Awall on Alpine Linux.
The post How To Set Up a Firewall with Awall on Alpine Linux appeared first on nixCraft.
I am a new Alpine Linux user. By default, my server name is set to 'localhost' during installation. Now, I would like to change the computer name. How do I change the Alpine Linux computer name? Can you tell me more about Alpine Linux change hostname command?
The post Alpine Linux Change Hostname (computer name) appeared first on nixCraft.
I am using Debian / Ubuntu Linux server. How do I save iptables rules permanently on Linux using the CLI added using the iptables command? How can I store iptables IPv4 and IPv6 rules permanently on the Debian Linux cloud server?
The post How to save iptables firewall rules permanently on Linux appeared first on nixCraft.
Kernel-based Virtual Machine (KVM) is a virtualization module for the Linux kernel that turns it into a hypervisor. How can I install KVM with bridged networking, set up a guest operating system as the back-end virtualization technology for non-graphic Ubuntu Linux 20.04 LTS server over ssh based session?
The post How to install KVM on Ubuntu 20.04 LTS Headless Server appeared first on nixCraft.
How do I list installed Nginx modules? How can I find which flags the Nginx server compiled with on Linux and Unix-like operating systems?
The post How to list installed Nginx modules and compiled flags appeared first on nixCraft.
I am getting the following error and my app stops working:
2020/07/12 14:32:03 [error] 45625#45625: *10918 upstream sent too big header while reading response header from upstream, client: 139.xxx.yyy.zzz, server: www.nixcraft.com, request: "POST /app/mg/posts HTTP/2.0", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "www.nixcraft.com", referrer: "https://www.nixcraft.com/mg/admin/index.app"
How do I fix this error for Nginx web server running on Linux or Unix-like systems?
The post Nginx upstream sent too big header while reading response header from upstream appeared first on nixCraft.
By default, the Nginx version displayed when you query HTTP headers or error generated by the Nginx server. This quick guide explains how to hide or remove the Nginx version on Linux or Unix server without restarting the system.
The post How to hide Nginx version on Linux and Unix appeared first on nixCraft.
How can I install KVM (Kernel-based Virtual Machine) on a CentOS 8 (CentOS Enterprise Linux) headeless server? How do I set up KVM on a CentOS 8 and use cloud images/cloud-init for installing guest VM?
The post How to install KVM on CentOS 8 Headless Server appeared first on nixCraft.
How do I add and delete users on Alpine Linux?
The post How to add and delete users on Alpine Linux appeared first on nixCraft.
How do I enable firewalld logging for denied packets on Linux operating systems so that I can view all dropped packets information? How can I view a log of the traffic blocked by FirewallD under a CentOS/RHEL (Red Hat Enterprise Linux)/Suse/OpenSUSE Linux?
The post How to enable firewalld logging for denied packets on Linux appeared first on nixCraft.
LXD is a next generation system container manager. It offers a user experience similar to virtual machines but using Linux containers instead. It's image based with pre-made images available for a wide number of Linux distributions. How do I set up and install LXD on a CentOS 8.x or RHEL 8.x server?
The post How to Set Up and Use LXD on CentOS 8.x / RHEL 8.x appeared first on nixCraft.
How do I allow Linux processes to bind to IP address that doesn't exist yet on my Linux systems or server?
The post Linux bind IP that doesn’t exist with net.ipv4.ip_nonlocal_bind appeared first on nixCraft.
I have two LXD containers running. One is for Nginx, and another is for processing data. I need to share data between two containers. How do I add or mount a shared directory between two?
The post How to add or mount directory in LXD (Linux container) appeared first on nixCraft.
I am a new OpenSUSE Linux 15.x sysadmin. How do I set up a firewall using FirwallD on OpenSUSE Linux 15.1?
The post How to set up a firewall using FirewallD on OpenSUSE Linux appeared first on nixCraft.
How do I Install Nginx on CentOS 8 Linux server? How can configure the latest version of Nginx web server on a CentOS Enterprise Linux 8 server using the CLI and host a static site?
The post How to install and use Nginx on CentOS 8 appeared first on nixCraft.
I noticed that my default shell set to zsh on Macos Catalina. How do I change my default shell to bash on Macos Catalina using the command line or GUI options?
The post Change default shell to bash on Macos Catalina appeared first on nixCraft.
I am a new CentOS Enterprise Linux 8 sysadmin. How do I set up a firewall using FirwallD on CentOS 8?
The post How to set up a firewall using FirewallD on CentOS 8 appeared first on nixCraft.
I noticed that /var/cache/apt/archives/ taking lots of disk space on my AWS EC2 cloud server powered by Debian Linux. Can I delete /var/cache/apt/archives/ folder? Is it safe to remove all files? Do we absolutely necessary to keep all these files?
The post Can I delete /var/cache/apt/archives for Ubuntu/Debian Linux? appeared first on nixCraft.
I am a new sysadmin for the Ubuntu operating system. How do I check running process in Ubuntu using the command line option?
The post How to check running process in Ubuntu using command line appeared first on nixCraft.
I am a new Linux system administrator. I have a hardware-based firewall, so I don't need a firewall on each server. How do I disable the firewall on Linux?
The post Linux disable firewall command appeared first on nixCraft.
I am a new user of Alpine Linux. How do I install htop on Alpine Linux using the apk command?
The post How to install htop on Alpine Linux using apk appeared first on nixCraft.
I am trying to install package and doing some other work. But, getting the error that read as "perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:" How do I fix this problem on my Debian Linux server?
The post Perl: warning: Setting locale failed in Debian and Ubuntu appeared first on nixCraft.
I am a new Fedora Linux user. How can I download and install Oracle VirtualBox 6 on my Fedora Linux 29 workstations?
The post How to install VirtualBox 6 on Fedora Linux 29 appeared first on nixCraft.
I need to save the state of my existing app running on LXD before I push new Python-based app. How do I create snapshots with lxc command for LXD based Linux container?
The post How to create snapshots with lxc command for LXD appeared first on nixCraft.
The year 2018 turn out to be big newsmaker for Linux and open source world. The most important acquisition in the open source world, Deepfakes, important security flows in CPUs, and the Facebook scandal all happened in 2018. Vivek Gite picks top 10 most significant and biggest news stories from Linux and open source world that rock IT world.
The post 2018: Top 10 biggest news stories from Linux and open source world appeared first on nixCraft.
I am a new Red Hat Enterprise Linux sysadmin. How do I set up a firewall using FirwallD on RHEL 8?
The post How to set up a firewall using FirewallD on RHEL 8 appeared first on nixCraft.