Adding a New Disk Drive to a Linux Machine

In this article, we will look at how to attach an additional hard disk to an existing Linux machine: create a partition table, format, and mount the partition with fstab. An Ubuntu virtual machine running on a VMware ESXi host is used in this example.

Continue reading “Adding a New Disk Drive to a Linux Machine”

How to Use Netcat (nc) Command with Examples?

Netcat (or nc) is a classic Unix networking tool that allows you to make TCP and UDP connections, receive and send data, check open ports on a remote computer, test firewall rules, etc. In this article, we will look at some typical examples of using the netcat CLI tool.

Continue reading “How to Use Netcat (nc) Command with Examples?”

Manage OpenVPN Server with Web GUI

By default, the command line console is used to configure and manage the OpenVPN server. For OpenVPN, there are several web interface administration panels (frontends) that allow you to perform routine operations (create users, create/revoke certificates, manage configuration files, etc.).

Continue reading “Manage OpenVPN Server with Web GUI”

Make Command Not Found on Linux

The make tool in Linux is used to build and compile programs from source files. The utility takes instructions for compilation from the makefile. In some Linux distributions, the make command is not installed by default (for example, in Linux CentOS 8), so when you run the build command, you will see an error:

Continue reading “Make Command Not Found on Linux”

USB Devices Passthrough over IP Network on Windows with Usbipd-win

The inability to pass through a connected USB device from a Hyper-V host to a virtual machine is one of the major shortcomings of the Microsoft hypervisor. You can use the open-source project usbipd-win to solve this problem (https://github.com/dorssel/usbipd-win). The usbipd-win utility allows you to pass through (redirect USB device or key including HASP) over the network from a Windows host to any Hyper-V virtual machine, remote computer running Linux, Windows, or WSL2.

Continue reading “USB Devices Passthrough over IP Network on Windows with Usbipd-win”

Set Proxy for APT on Ubuntu/Debian

Proxy servers (such as the Squid proxy) are often used in corporate networks to provide access to the Internet for internal devices. In order for your internal Ubuntu/Debian hosts to be able to install and update deb packages from external repositories, you need to configure the proxy settings for the APT (Advanced Packaging Tool) package manager. This article describes how to configure proxy connection settings for APT.

Continue reading “Set Proxy for APT on Ubuntu/Debian”