Skip to content

Instantly share code, notes, and snippets.

@HackingGate
Last active February 24, 2025 10:18
Show Gist options
  • Save HackingGate/3dbcf2264ccf7dbb7465560ca1cf9edc to your computer and use it in GitHub Desktop.
Save HackingGate/3dbcf2264ccf7dbb7465560ca1cf9edc to your computer and use it in GitHub Desktop.
My Ubuntu Desktop Setup
# Make Ubuntu use local time (Fix Windows 10 dual boot different time issue)
timedatectl set-local-rtc 1 --adjust-system-clock
# Check current settings
timedatectl
# Install packages
sudo apt update
sudo apt upgrade -y
sudo apt install emacs vim curl wget git build-essential -y
# Install Tor
sudo sh -c 'echo "deb [arch=amd64] https://deb.torproject.org/torproject.org $(lsb_release -sc) main" >> /etc/apt/sources.list.d/tor-project.list'
# Download Keyring
# https://deb.torproject.org/torproject.org/pool/main/d/deb.torproject.org-keyring/
sudo apt install ~/Downloads/deb.torproject.org-keyring*.deb
sudo apt update
sudo apt install tor
tor --version
systemctl status tor
sudo apt install torbrowser-launcher
@HackingGate
Copy link
Author

HackingGate commented Feb 24, 2025

Wake on LAN on netplan (new on Ubuntu 24.04)
/etc/netplan/01-network-manager-all.yaml

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp6s0:
      match:
        macaddress: [MAC_ADDRESS]
      wakeonlan: true
      dhcp4: true

Apply

sudo netplan generate && sudo netplan apply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment