Skip to content

Instantly share code, notes, and snippets.

@bp2008
bp2008 / HyperVServer2019_GUI_Installation.md
Last active August 7, 2024 15:01
How to install a graphical desktop environment on Hyper-V Server 2019

Hyper-V Server 2019 GUI Installation Guide

Introduction

Hyper-V Server does not include much in the way of graphical tools, but third-party alternatives can be installed.

I found a disturbing lack of basic instructions for using Hyper-V Server 2019, so it is my hope that this guide is useful to somebody.

Before starting this guide, enable Remote Desktop support in Hyper-V Server using the built-in configuration menu. If you connect to the Hyper-V Server with Remote Desktop, it will make it easy to copy and paste text (and later, files) from a normal Windows desktop machine.

@flungo
flungo / lsiommu
Created March 10, 2017 23:59
List the devices and their IOMMU groups.
#!/bin/bash
for d in $(find /sys/kernel/iommu_groups/ -type l | sort -n -k5 -t/); do
n=${d#*/iommu_groups/*}; n=${n%%/*}
printf 'IOMMU Group %s ' "$n"
lspci -nns "${d##*/}"
done;
@lukego
lukego / 14_12_1220_syndrome_list.log
Created August 15, 2016 08:51
Mellanox error syndrome lists
BAD_RES_STATE | 0x25B161 | destroy_ctx - context doesn't exist or doesn't match type
BAD_RES_STATE | 0x4A6FC9 | destroy_ctx - context in use
BAD_RES_STATE | 0x60DA55 | destroy_dct - dct not in drained state
BAD_PARAM | 0x67A6F2 | slrg doesnt support write;
BAD_PARAM | 0x0F0E35 | ppamp doesnt support write;
BAD_PKT | 0x4A22F | access reg MAD with specified register id not supported
BAD_PKT | 0x16C592 | mad_ifc: process_smp_lid mkey check failed - silently discarded
INTERNAL_ERR | 0x079233 | set_get_port_info: silently discarded.
BAD_PKT | 0x468496 | mad_ifc: ATTRV_SM_INFO handled by SW
BAD_PKT | 0x071808 | mad_ifc: smp trap repress silently discarded after processing.
@yuuichi-fujioka
yuuichi-fujioka / install_start_stop_daemon.sh
Created June 7, 2014 15:11
install start-stop-daemon to centos, fedora, redhat.
#!/bin/bash
cd /usr/local/src
wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2
gcc start-stop-daemon.c -o start-stop-daemon
cp start-stop-daemon /usr/sbin/