Skip to content

Instantly share code, notes, and snippets.

@wilkersoncs
wilkersoncs / MythTV34onUbuntu24.txt
Last active August 2, 2024 23:47
Install MythTV 34 on Ubuntu 24
I had the following problems:
- The Backend setup was bit slow
Workaround was to use http://localhost:6544/setupwizard
- It said I had no disk space
Workaround was to update the Storage Directories (especially Default) to /var/lib/mythtv
- My HDHomeRun Network appliance was difficult to set up
Workaround was to follow the steps in this YouTube Video https://www.youtube.com/watch?v=MiW8owcsy9U
I did not have to use a channel subscription service because I got the channel list from the HDHomeRun
If the HDHomeRun is on the same network MythTV backend will find it.
@wilkersoncs
wilkersoncs / python-changes-donkeycar.txt
Created August 4, 2023 16:38
Donkeycar modification 8/2023
I could not complete the donkey pip install without doing the following:
pip uninstall scipy
pip uninstall tensorboard
pip uninstall tensorflow-estimator
pip install tensorflow-estimator==2.2.0
pip install scipy==1.4.1
pip install tensorboard==2.2.0
pip install -e .[pc]
The URL is http://docs.donkeycar.com/guide/host_pc/setup_ubuntu/
@wilkersoncs
wilkersoncs / cent8vnc.sh
Created September 18, 2020 17:36
Install script for VNC on CentOS 8
# From https://www.linuxtechi.com/install-configure-vnc-server-centos8-rhel8/
dnf groupinstall -y "workstation"
systemctl set-default graphical
set -p "Reboot and proceed"
echo "WaylandEnable=false" >> /etc/gdm/custom.conf
setenforce 0
sed -i --follow-symlinks 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux
dnf install tigervnc-server tigervnc-server-module -y
su - user1
echo "Enter n for view-only password"
@wilkersoncs
wilkersoncs / centos-join-ad.sh
Created June 11, 2020 04:58
Script to join CentOS machine to AD domain
#!/bin/bash
# Script to join CentOS machine to AD domain
# tested on CentOS 7.8 and Windows 2016
# Adapted from https://www.linuxtechi.com/integrate-rhel7-centos7-windows-active-directory/
# $1 is domain, $2 is DNS IP, $3 is domain admin name
cd /etc
# resolv.conf is replaced by network manager if you use DHCP. Make sure your DHCP server
# has the correct DNS server
@wilkersoncs
wilkersoncs / ks-centos7-pxe-diskless-server.cfg
Last active June 6, 2018 14:41
Kickstart to create CentOS 7 PXE Server with sample network install kickstart and diskless environment
#version=DEVEL
##Adapted from procedures from https://www.linuxtechi.com/configure-pxe-installation-server-centos-7/
##Diskless section from procedures from https://www.server-world.info/en/note?os=CentOS_7&p=pxe&f=4
##Use by pressing tab on CentOS install screen and adding
## ks=hd:sdb1:/ks-pxe.cfg
##Make sure target system has 2GB of RAM
firewall --disabled
selinux --disabled
# System authorization information
auth --enableshadow --passalgo=sha512
@wilkersoncs
wilkersoncs / ks-centos7-pxe-server.cfg
Created June 2, 2018 06:35
Kickstart to create CentOS 7 PXE Server with sample network install kickstart
#version=DEVEL
##Adapted from procedures from https://www.linuxtechi.com/configure-pxe-installation-server-centos-7/
##Use by pressing tab on CentOS install screen and adding
## ks=hd:sdb1:/ks-pxe.cfg
##Make sure target system has 2GB of RAM
firewall --disabled
selinux --disabled
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
#!/bin/bash
until [ -f /mnt/shareq/test.txt ]; do
sleep 1
mount -t cifs //192.168.0.15/shareq /mnt/shareq -o credentials=/root/.smbcred,vers=3.0
done
echo share mounted