Hugo Setup on Ubuntu

1. Install Latest Hugo Extended (Ubuntu amd64)#

Use this script to automatically fetch and install the latest .deb package from GitHub.

#!/usr/bin/env bash

echo "Installing latest Hugo Extended..."

ARCH=$(dpkg --print-architecture)

if [ "$ARCH" != "amd64" ]; then
  echo "This script currently supports amd64 only."
  echo "Detected architecture: $ARCH"
  exit 1
fi

echo "Fetching latest version..."
LATEST=$(curl -s [https://api.github.com/repos/gohugoio/hugo/releases/latest](https://api.github.com/repos/gohugoio/hugo/releases/latest) \
  | grep '"tag_name":' \
  | sed -E 's/.*"v([^"]+)".*/\1/')

if [ -z "$LATEST" ]; then
  echo "Failed to fetch latest version."
  exit 1
fi

echo "Latest version: $LATEST"
FILE="hugo_extended_${LATEST}_linux-amd64.deb"
URL="[https://github.com/gohugoio/hugo/releases/download/v$](https://github.com/gohugoio/hugo/releases/download/v$){LATEST}/${FILE}"

echo "Downloading $FILE..."
wget -q --show-progress "$URL"

if [ ! -f "$FILE" ]; then
  echo "Download failed."
  exit 1
fi

echo "Installing package..."
sudo dpkg -i "$FILE"
sudo apt-get -f install -y

echo "Cleaning up..."
rm -f "$FILE"

echo ""
echo "Installed Hugo version:"
hugo version

echo ""
echo "Done."

2. Install Blowfish Theme#

Commands to initialize your project (e.g., canada2argentina) and install the Blowfish theme as a submodule.

Linux Desktop Configuration Guide

Linux Desktop Configuration Guide#


1. Initial System & User Setup#

Privilege Escalation#

# Add user to sudo group
sudo usermod -aG sudo marc
# Activate root account
sudo passwd root

Essential UI Software#

# File Browsers (Dolphin is recommended)
sudo apt install dolphin krusader konqueror -y
# Partition Manager
sudo apt install gparted -y
# Synaptic & GDebi
sudo apt install synaptic gdebi -y

2. Repositories & Package Management#

Enable Non-Free & Backports#

  1. Open the Software app > Top Right Corner > Software Repositories.
  2. Enable Non-Free and Contrib.

Configure Backports Manually:

MacOS System Administration & Optimization

macOS System Administration & Optimization#

Workstation Recovery & Rebuild Standard: If you need to rebuild your Mac Studio or synchronize its software and aliases with another Mac, refer to the master checklist at Mac OS - Recovery.


1 Modify Known Hosts#

# Add description
nano ~/.ssh/known_hosts
# To remove a specific host
ssh-keygen -R 10.1.1.14
# Clear the full file
cat /dev/null > ~/.ssh/known_hosts

2 Disk Management & Diagnostics#

2.1 Identify and Verify Disks#

# List all physical and virtual disks
diskutil list
# Verify a specific disk (replace X with disk number)
diskutil verifyDisk /dev/diskX

2.2 SMART Monitoring (via Homebrew)#

# Install smartmontools
brew install smartmontools
# Check health of the primary NVMe drive
smartctl -a /dev/disk0

3 Homebrew Package Manager#

Official site: brew.sh

Markdown Reference Guide for Obsidian

Markdown Reference Guide for Obsidian#

1. View Modes (Why you can’t see the code)#

Obsidian has two main ways of displaying notes. If you see the “formatted” version (like a clickable checkbox), you are in Live Preview.

  • Toggle Code View: Press Cmd + E to switch between Editing and Reading modes.
  • Source Mode: To see the “raw” characters (like - [ ]) all the time, go to the status bar at the bottom right and select Source Mode.
  • Temporary Reveal: If you click directly on a formatted item (like a checkbox), Obsidian will temporarily reveal the code for just that line.

1. Headers#

Use # followed by a space. The number of # symbols indicates the header level.

Plex, Emby & Jellyfin

Media Server Installation & Configuration (Ubuntu 22.04)#

1 Plex Media Server#

1.1 Installation#

Install the official Plex repository to ensure the server stays updated via apt.

2026-03-30 Install commands must be updated

# Update and add Plex GPG key
apt-get update
curl -fsSL [https://downloads.plex.tv/plex-keys/PlexSign.key](https://downloads.plex.tv/plex-keys/PlexSign.key) | sudo gpg --dearmor -o /usr/share/keyrings/plex.gpg

# Add the repository
echo "deb [signed-by=/usr/share/keyrings/plex.gpg] [https://downloads.plex.tv/repo/deb](https://downloads.plex.tv/repo/deb) public main" | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

# Install Plex
apt update && apt install plexmediaserver -y

# Management
systemctl enable plexmediaserver
systemctl start plexmediaserver
systemctl status plexmediaserver

Web UI Access: http://10.1.2.231:32400/web