This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
esxi:debian_minimal_server [2020/12/22 08:35] derek created |
esxi:debian_minimal_server [2024/10/24 12:44] (current) derek |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====Setup==== | ====Setup==== | ||
| - | * Download the '' | + | * Download the latest |
| * In ESXi: | * In ESXi: | ||
| * Upload the iso to the iso folder in the datastore | * Upload the iso to the iso folder in the datastore | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * Name the VM, and choose '' | + | * Name the VM, and choose '' |
| * Specify the desired '' | * Specify the desired '' | ||
| * Customise: | * Customise: | ||
| * '' | * '' | ||
| * Use the full amount of cores per socket to end up with one socket | * Use the full amount of cores per socket to end up with one socket | ||
| - | * Enable '' | ||
| * If using NVMe storage for the datastore: | * If using NVMe storage for the datastore: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| * Remove '' | * Remove '' | ||
| + | * '' | ||
| * Select other appropriate VM settings depending on desired applications | * Select other appropriate VM settings depending on desired applications | ||
| * Confirm settings and '' | * Confirm settings and '' | ||
| Line 25: | Line 25: | ||
| * Use '' | * Use '' | ||
| * Go to '' | * Go to '' | ||
| + | * Run and then stop the VM, it should have booted to its BIOS | ||
| + | * Give the VM a static IP address from your router using the generated MAC address (found under '' | ||
| * Power on the VM | * Power on the VM | ||
| * Go through the Debian setup process | * Go through the Debian setup process | ||
| + | * Give an empty password for '' | ||
| * In software selection, selecting only the '' | * In software selection, selecting only the '' | ||
| - | | + | |
| - | * Reboot | + | * Log in as the created user |
| - | * Using an SSH client, connect to the hostname set above, then run: | + | * Run: <code bash> |
| - | <code bash> | + | # Install VMWare tools if not already |
| - | # Login with root details that were set earlier | + | sudo apt install open-vm-tools |
| - | # Update packages: | + | |
| - | apt update | + | |
| - | apt upgrade | + | |
| - | # Install VMWare tools | + | |
| - | apt install open-vm-tools | + | |
| # Change the SSH port to 50001: | # Change the SSH port to 50001: | ||
| - | sed -i " | + | sudo sed -i " |
| + | # Optionally enable root SSH login | ||
| + | sudo sed -i " | ||
| + | |||
| + | # Optionally set the timezone to UTC: | ||
| + | timedatectl set-timezone UTC | ||
| exit | exit | ||
| </ | </ | ||
| - | + | | |
| - | | + | * Edit VM note to be the following: < |
| - | * Edit VM note to be the following: | + | Minimal server installation of Debian |
| - | < | + | |
| - | Minimal server installation of Debian | + | |
| Ports: | Ports: | ||
| Line 56: | Line 58: | ||
| ====Update==== | ====Update==== | ||
| * If desired, Log in to ESXi, navigate to the docker VM and create new snapshot | * If desired, Log in to ESXi, navigate to the docker VM and create new snapshot | ||
| - | * Using an SSH client, connect to < | + | * Using an SSH client, connect to < |
| - | <code bash> | + | sudo apt update |
| - | # Run the following with sudo if not logged in as root | + | sudo apt upgrade |
| - | apt update | + | sudo reboot |
| - | apt upgrade | + | |
| - | reboot | + | |
| </ | </ | ||