This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
esxi:debian_minimal_server [2024/07/30 16:01] derek |
esxi:debian_minimal_server [2024/10/24 12:44] (current) derek |
||
---|---|---|---|
Line 17: | Line 17: | ||
* '' | * '' | ||
* 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 24: | 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 | # Optionally enable root SSH login | ||
- | sed -i " | + | 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 <xx> | Minimal server installation of Debian <xx> | ||
Line 57: | 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 | + | |
</ | </ | ||