Category: 0002

  • Install Docker on Linux Mint


    • Introduction
    • Install commands
    • Check status

    While Linux Mint is one of the leanest, most efficient, highest performing distributions we’ve worked with, it does feature an awkward quirk in that while Linux Mint is Ubuntu based, and each version features a different “Code Name” Linux Mint features a different “Code Name” than the current Ubuntu Linux. As such, when we attempt to install some software, where the “Code Name” is queried, it will not pull correct software. Thus, we need to go through a few extra steps when we install software packages, such as Docker, we need to go through some additional steps.


    Update apt with

    sudo apt-get update

    Install certificates

    sudo apt-get install ca-certificates curl gnupg

    Add Docker’s official GPG key

    sudo install -m 0755 -d /etc/apt/keyrings
    sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
    sudo chmod a+r /etc/apt/keyrings/docker.asc

    Add the Docker repository with the correct Ubuntu code name

    echo \
      "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
      $(. /etc/os-release && echo "$UBUNTU_CODENAME") stable" | \
      sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

    Update the package index

    sudo apt-get update

    Install Docker

    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

    Check to make certain that docker is running

    sudo docker ps

  • Setup Linux Mint for SSH and Microsoft Remote Desktop Connection


    Update apt with

    sudo apt update

    You will be prompted to enter the user with sudo privileges the first time sudo is invoked

    The following set of commands will install, verify that the openssh server is running, and ensure access through the ( UFW ) firewall

    sudo apt install openssh-server
    sudo systemctl status ssh
    sudo ufw allow ssh

    The following set of commands will install xrdp and xrdp for the X Windows server, enable, start, and allow access through the ( UFW ) firewall

    sudo apt install xrdp xorgxrdp -y
    sudo systemctl enable xrdp
    sudo systemctl start xrdp
    sudo ufw allow 3389/tcp

  • Installing Linux Mint

    Ai and a Host


    • System Description and specifications
    • Prepare the installation Media
    • Installation

    We are recycling a system that was built for Bitcoin mining, named Moria, that was built with an ASUS B250 Mining Motherboard with a 7th Generation Celeron Processor, and 16GB of RAM

    It was later recycled as a file server system running FreeBSD


    Preparing the installation Media

    We downloaded a fresh copy of Linux Mint from. In this case, we are using 22.2, Cinnamon Edition.

    We used Rufus, to create a bootable install USB drive. We have used it reliably for years, and it has always worked well


    Installation

    Boot the system off the bootable USB drive. This may require editing the system BIOS, or by selecting a boot menu an then selecting the drive. In our case, we told the system to boot off of the USB drive. We will, later, configure the system to boot, only, off the system drive

    The user will be prompted with a boot screen, choose the “Start Linux Mint 22 Cinnamon 64-bit” option and let the system boot

    Eventually, the system will fully load into a “live” version of Linux Mint. This can be used to evaluate the system, but we are going to install it. Before we install it, we are going to configure the network settings. We find we get better results by configuring the network before the installation. We start by clicking on the network icon in the system tray in the lower right hand corner of the screen

    Here we get a quick set of options for working with all the network connections, similar to Windows. Here we are going to select “Network Settings” to alter the configuration

    This will bring up the Network Menu. We find it best to turn the network off by the swith ( 1 ), and then we can configure it with the gear icon( 2 )

    On this screen we enter network configuration information appropriate to our network. We don’t use IPv6, so we turn it off, but we fully configure IPv4 here.

    Once the network is configured, applied, and turned on, we can proceed with the installation, by selecting the “Install Linux Mint” icon in the upper right hand corner, looking like a CD ROM

    Here we are presented in a short series of screens configuring the language settings for the new Linux system

    We are presented, here, with the option to install Multimedia extensions. If this were a Virtual Machine, used for development, we would not select it. In this case, for this project, we went ahead and installed them.

    Here we are presented with partition installation options. In our case, we chose to go with LVM option to meet our future Logical Volume Management needs. If this is not needed, it can be installed as is.

    Here we are presented with an option to choose an appropriate time zone option for our computer.

    In this, final, configuration screen for installation, we are presented with options for creating a username. Please remember that this user is automatically added to the sudo group and afforded additional privileges by default.

    Now that we have configured everything, the installation will proceed.