Software updates on the Ubuntu system will fail because Cockpit on Ubuntu doesn’t detect a networkconnection. To fix this, you must use NetworkManager instead of the default networkd. You need to be root or sudo root for all these commands. Edit your netplan file in /etc/netplanand add the following two lines under network:. Remember that…
Category: Linux
Expand Logical volume in Linux LVM
LVM makes it easy to resize volumes in Linux. This can be done without unmounting drives orrequiring a restart. First determine the free space of the group volume. Determine the path to the volume group and extend it using vgextend ubuntu-vg /dev/sda3where ubuntu-vg is the group name and /dev/sda3 is a partition created using fdisk….
Install syslinux on Windows Server 2019 WDS
Once Windows Deployment Services is installed and running, locate the folder where WDS is installed.My install is in D:\RemoteInstall. Rename pxeboot.n12 in D:\RemoteInstall\Boot\x64 to pxeboot.0. Rename abortpxe.com in D:\RemoteInstall\Boot\x86 to abortpxe.0. Download syslinux. I used version 5.04. Your mileage may vary with other versions. From the syslinux archive, extract core\pxelinux.0, com32\menu\vesamenu.c32, com32\modules\chain.c32, memdisk\memdisk to D:\RemoteInstall\Boot\x86…
PXE Config examples
I’ve set up a local http web server. You can use another web server mirror if you want.
Set up unattended-upgrades on Ubuntu 20.04
Package upgrades can be set up to install updates on Ubuntu without user intervention. Install unattended-upgrades Install mailx & Postfix If this does not install Postfix, install it now. This will install also install Postfix. mailx is what unattended upgrades uses to send external mail. Configure unattended-upgrades. Edit /etc/apt/apt.conf.d/50unattended-upgrades. This file is mostly self explanatory….
Install GNS3 on UNRAID on your local
network
GNS3 allows network engineers to model networks. Unlike network simulators, GNS3 uses real deviceimages. The devices run on a hypervisor. Unraid is an easy to use NAS operating system based onSlackware that supports docker images and virtual machines. Create a VM in Unraid We will be using Ubuntu 20.04 as the base of GNS3. Install…
Quick reverse proxy config for nginx
nginx is my preferred lightweight HTTP/HTTPS server and fairly easy to do reverse proxy for. In thisexample, I use a reverse proxy to expose an internal service running on port 82 to the Internet.Here is an example config … example.vernon.wenberg.net is a sub-domain that exists on the public Internet whileinternal-service.vernon.wenberg is an internal system. This…
Install Apache, FreeRadius, daloRADIUS, and MariaDB on Ubuntu 20.04
This quick guide assumes you are root or using sudo on a fresh install of Ubuntu Server 20.04. Install apache2, MariaDB, and PHP Install Apache Install PHP Install MariaDB Install FreeRADIUS w/ MariaDB Install FreeRADIUS Use MariaDB with FreeRADIUS Login to MariaDB with the password you just created. Remember to replace password withyour own password….
Mount Windows Share On Boot in Ubuntu 20.04
These steps assume you are root or using sudo. Install cifs-utils. Create /root/.smbcredentials with the following contents … Change username and password to your username and password. Edit /etc/fstab and add the following line to the end. 192.168.1.111 should be changed to your host and software should be changed to your share./mnt/clyde is the location…
Useful Commands for Windows Subsystem for Linux
wsl -l -v – check current WSL version in use wsl -–set-default-version 1 – set default WSL version. Currently 1 or 2. wsl -–set-version Ubuntu-20.04 2 – convert WSL version to version 2 where Ubuntu-20.04 is the name of the distribution.