User Tools

Site Tools


server_setup

Server Setup

anubis host

  • OS: Ubuntu Server 22.04
  • CPU: Ryzen 5 1600 6-core 3.2GHz
  • RAM: 32GB DDR4 2400
  • Services
    • Virtual Machine Host
    • apcupsd
    • NFS server
    • samba
    • getmail gmail backup

Drives

  • sda (2TB SATA WD Green)
    • sda1 (1GB, ext4, old /boot)
    • sda2 (5GB, old swap)
    • sda3 (50GB, old /)
    • sda4 (1.8TB, LVM2 physical partition)
      • pegasus (1TB, /pegasus)
      • extra_vms (400GB, /mnt/extra_vms)
      • rest unused
  • sdb (1TB WD Blue 1TB SATA 6 Gb/s 7200 RPM)
    • sdb1 (1TB, /backup)
  • sdc (500G WD SATA)
    • sdc1 (512M, /boot/efi)
    • sdc2 (238G, ext4, /)
  • sdd (2TB SATA WD Red 2TB NAS Hard Disk Drive - 5400 RPM)
    • sdd1 (2TB, ext4, mythtv)

Retired

  • nvme0n1 (256GB WD Black Performance SSD - M.2 2280 PCIe NVMe)
    • nvme0n1p1 (256MB, /boot/efi)
    • nvme0n1p2 (240GB, /)

Virtual Machines

baal

  • MAC: 12:34:07
  • OS: Ubuntu Server 18.04
  • RAM: 1GB
  • Services
    • openvpn server
    • squid

Exporting an NFS mount via NFS.

/pegasus/pub/music 192.168.0.0/16(ro,async,no_subtree_check,fsid=2)

carter

  • OS: Ubuntu 22.04 Server
  • RAM: 3GB
  • Services
    • git-daemon
    • gitea

hathor

  • MAC: 12:34:06
  • OS: Ubuntu 22.04 Server
  • RAM: 15GB
  • CPUs: 2
  • Services
    • ARK dedicated server (Steam)
    • TF2 dedicated server (Steam)

oneill

  • OS: Ubuntu 22.04 Server
  • RAM: 4GB
  • CPUs: 2
  • Services
    • apache2
      • git.jholtrop.com (proxy to carter)
      • home.jholtrop.com
        • dokuwiki
        • cameras (proxy)
        • mythweb (proxy to ra)
      • ttrss.jholtrop.com (proxy to tt-rss docker container)
    • docker
      • tt-rss

ra

  • MAC: 12:34:05
  • OS: Mythbuntu 16.04 (mythtv updates repository enabled for 0.29)
  • RAM: 4GB
  • CPUs: 2
  • Services
    • MythTV Backend

jadin

  • MAC: bd:d2:8d
  • OS: Ubuntu Server 24.04
  • RAM: 4GB
  • CPUs: 2
  • Services
    • Jellyfin

Special Setup

NFS exports

On startup it seems that the NFS exports are getting applied before DNS is available, so the /etc/exports entries do not work properly. I created an /etc/rc.local script with these contents to rectify this:

#!/bin/sh

exportfs -a
sleep 2
exportfs -a
sleep 3
exportfs -a
sleep 5
exportfs -a
sleep 10
exportfs -a

To delay VM startup so the VM has a chance to mount NFS, add the following to /lib/systemd/system/libvirt-guests.service:

ExecStartPre=/bin/sleep 20
server_setup.txt · Last modified: by josh