_
_ __ _ __ _____ ___ __ ___ _____ __ ___ ___| |_ _ _ _ __
| '_ \| '__/ _ \ \/ / '_ ` _ \ / _ \ \/ / / __|/ _ \ __| | | | '_ \
| |_) | | | (_) > <| | | | | | (_) > < \__ \ __/ |_| |_| | |_) |
| .__/|_| \___/_/\_\_| |_| |_|\___/_/\_\___|___/\___|\__|\__,_| .__/
|_| |_____| |_| v1.0.1
This setup/script automates the installation of Proxmox on Debian 12 based on official wiki post and the creation of a bridge to facilitate network configuration.
Note: This script is designed to run on a Debian 12 system. Make sure to have superuser permissions before executing the script.
-
Installed Debian 12 Bookworm
-
Superuser permissions
Comment out the AcceptEnv LANG LC_*
line in the local /etc/ssh/sshd_config
file:
nano /etc/ssh/sshd_config
systemctl restart ssh.service
Comment out the AcceptEnv LANG LC_*
line in the local /etc/ssh/sshd_config
file:
timedatectl set-timezone Europe/Madrid
timedatectl
Always as root:
su root
Install Git:
apt update && apt dist-upgrade && apt install git
(Important) Clone the repository from the directory:
cd /
-
Clone the repository to your Debian 12 system.
# With git already installed on your machine, clone the repository git clone https://github.com/aleixsr/Proxmox-Debian12.git
-
Access the downloaded folder with the 'cd' command
cd /Proxmox-Debian12
-
Make the script executable.
# Give execution permission to the setup chmod +x ./setup
-
Run the setup.
./setup
-
Grub Update: Keep grub file when asked (do not modify)
-
Postfix: Select Internet Site when asked
-
Follow screen instructions and after several reboots all will should be installed. Check listening ports:
If they're not listeing perform:
rm -rf /etc/apt/sources.list.d/pve-enterprise.list apt update && apt dist-upgrade-y reboot
-
Remeber to set a password to root user and login using a browser https://your_ip_address:8006
The script installs some additional packages to enhance the experience and provide additional functionalities. The packages include:
- 'sudo': Essential tool to grant administrative permissions to the selected user.
- '
nala': An application that enhances the graphical interface of 'apt'. - 'neofetch': A system information display tool with a colorful and user-friendly interface.
- 'net-tools': A classic set of network utilities, such as ifconfig and route.
- 'nmap': A powerful network scanning and security auditing tool.
Make sure to review the official documentation for each package for more details on their functionalities.
-
Proxmox Installation: The script automatically installs Proxmox on the Debian 12 base.
-
Additional Packages: These additional packages are installed to enhance the user experience and provide useful tools for the system and Proxmox environment.
-
Bridge Creation: Facilitates network configuration by creating a bridge named vmbr0. You can choose to configure manually or use DHCP.
For support or to report issues, open an issue.
This script is distributed under the BSD 3-Clause License.
Thank you for using the Proxmox Installation Script on Debian 12 If you come across any improvements or would like to contribute, feel free to create a pull request. Your contributions are welcome to enhance this script.
We appreciate your participation in the community and your contribution to the ongoing development of this script.
Enjoy Proxmox! 🚀