Showing items from Linux

Troubleshooting Port in Use Errors On Linux With Containers

Troubleshooting Port in Use Errors On Linux With Containers

When you encounter a “port in use” error on Linux, it typically means that another process is already using the port you are trying to bind to. Here’s how to troubleshoot and resolve this issue. NOTE: You may need superuser privileges to run some of these commands. If you run the commands without sudo, you may not see all processes.

Continue Reading

Creating an Ubuntu VM using Hyper-V

Creating an Ubuntu VM using Hyper-V using the Quick Create feature is a quick and easy way to get a VM up and running. It also configures the VM with Integration Services so you can do cool things like resize the VM window and share your clipboard between the host and the VM. Unfortunately, it does not support the most recent versions of Ubuntu and it creates a really small disk. This post will tackle the second issue by creating a VM with a small disk and then expanding it. This is useful for any other linux VMs you create that need more space. We will walk through the process from the beginning, but if you already have a VM created, you can skip to the section on expanding the disk.

Continue Reading

Set up SANE (Scanner Access Now Easy) on a Raspberry Pi

Introducing SANE (Scanner Access Now Easy)

The SANE project lets you easily use a scanner from a Linux host. It supports many different brands and models of scanners and while it is mostly a library and server that provides access to a scanner, several clients are available that you can use to scan documents.

Continue Reading

Building a Hugo Site and Deploying to Linux using Azure DevOps

Summary (tl;dr)

Building a Hugo site using Azure DevOps and deploying to a Linux server is done by:

  1. Set up an SSH service connection in Azure DevOps
  2. Create a pipeline in Azure DevOps. The pipeline will need several steps:
    1. Install Hugo
    2. Build the site
    3. Deploy the built site

Setting up an SSH Service Connection in Azure DevOps

An SSH service connection is what will allow your hosted Azure DevOps agent to connect to your Linux based server using SSH. Service connections can be found under the Project Settings, on the bottom left side of the UI:

Continue Reading