From 7c059ed0bc6b2c5907c48a5582200d3663131104 Mon Sep 17 00:00:00 2001 From: Mateus Alves <135336248+mathewalves@users.noreply.github.com> Date: Thu, 25 Jan 2024 20:52:45 -0300 Subject: [PATCH] v1.0.0 Version 1.0.0 of Proxmox Installation Setup on Debian 12 The version 1.0.0 of the Proxmox installation setup on Debian 12 provides a practical solution for implementing the Proxmox Virtual Environment (VE) on top of the stable Debian 12 foundation. This set of automated scripts aims to streamline the installation, configuration, and customization of Proxmox, allowing users to quickly establish a high-performance virtualized environment. --- .gitattributes | 2 +- LICENSE | 4 +- README.md | 111 ++++++++++++++++++++++++++++++++--- configs/colors.conf | 3 + scripts/configure_bridge.sh | 3 + scripts/custom_welcome.sh | 4 ++ scripts/install_proxmox-1.sh | 3 + scripts/install_proxmox-2.sh | 4 ++ setup.bash => setup | 0 9 files changed, 122 insertions(+), 12 deletions(-) rename setup.bash => setup (100%) diff --git a/.gitattributes b/.gitattributes index dfe0770..51fdfac 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ -# Auto detect text files and perform LF normalization +# Auto detect text files and perform LF normalization. * text=auto diff --git a/LICENSE b/LICENSE index bc74ab2..ecd76bf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2024, Mateus da Silva Alves +Copyright (c) 2024, Mateus da Silva Alves. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -10,7 +10,7 @@ Redistribution and use in source and binary forms, with or without modification, THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -Direitos Autorais (c) 2024, Mateus da Silva Alves +Direitos Autorais (c) 2024, Mateus da Silva Alves. Todos os direitos reservados. A redistribuição e o uso em formato original ou modificado, são permitidos, desde que as seguintes condições sejam atendidas: diff --git a/README.md b/README.md index 035d4d2..ab88a46 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,25 @@ -# Proxmox-Debian12 +[![Version](https://img.shields.io/badge/Version-1.0.0-red.svg)](version) [![License](https://img.shields.io/badge/License-BSD--Clause_3-green.svg)](LICENSE) [![Readme em Português e Inglês](https://img.shields.io/badge/README-pt--br%2Fen-blue)](#) + ```bash _ _ __ _ __ _____ ___ __ ___ _____ __ ___ ___| |_ _ _ _ __ | '_ \| '__/ _ \ \/ / '_ ` _ \ / _ \ \/ / / __|/ _ \ __| | | | '_ \ | |_) | | | (_) > <| | | | | | (_) > < \__ \ __/ |_| |_| | |_) | | .__/|_| \___/_/\_\_| |_| |_|\___/_/\_\___|___/\___|\__|\__,_| .__/ - |_| |_____| |_| + |_| |_____| |_| v1.0.0 ``` +###### 🇧🇷 PT-BR: + +# Instalador do Proxmox VE no Debian 12 Bookworm + Este setup/script automatiza a instalação do Proxmox sobre o Debian 12 e a criação da bridge para facilitar a configuração de redes. **Nota: Este script foi projetado para ser executado em um sistema Debian 12. Certifique-se de ter permissões de superusuário antes de executar o script.** ## Requisitos -- Debian 12 instalado +- Debian 12 Bookworm instalado - Permissões de superusuário ```bash su root @@ -23,14 +28,16 @@ Este setup/script automatiza a instalação do Proxmox sobre o Debian 12 e a cri ```bash apt install git ``` +- (Importante) Clonar o repositório apartir do diretório: + + ```bash + cd / + ``` ## Instruções de Uso -1. Baixe o repositório para o seu sistema Debian 12. +1. Clone o repositório para o seu sistema Debian 12. ```bash -# Ir para o repositório raiz do seu Debian 12 (Importante) -cd / - # Com o git já instalado na sua máquina clone o repositório git clone https://github.com/mathewalves/Proxmox-Debian12.git @@ -45,7 +52,7 @@ chmod +x ./setup.bash 3. Execute o setup. ```bash -./setup.bash +./setup ``` ## Pacotes Adicionais @@ -78,6 +85,92 @@ Este script é distribuído sob a licença [BSD 3-Clause](https://opensource.org ## Agradecimentos -Agradecemos por usar o script Proxmox-Debian12. Se você encontrar melhorias ou quiser contribuir, sinta-se à vontade para criar um pull request. +Se você identificar oportunidades de melhoria ou quiser contribuir, sinta-se à vontade para criar um pull request. Estamos abertos a colaborações para aprimorar esta ferramenta. + +Agradecemos por fazer parte da comunidade e por contribuir para o desenvolvimento contínuo deste script. **Divirta-se com o Proxmox!** 🚀 + +--- + +###### 🌎 EN: + +# Proxmox VE Installer on Debian 12 Bookworm + +This setup/script automates the installation of Proxmox on Debian 12 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.** + +## Requirements + +- Installed Debian 12 Bookworm +- Superuser permissions + ```bash + su root + ``` +- Installed Git + ```bash + apt install git + ``` +- (Important) Clone the repository from the directory: + + ```bash + cd / + ``` + +## Usage Instructions + +1. Clone the repository to your Debian 12 system. +```bash +# With git already installed on your machine, clone the repository +git clone https://github.com/mathewalves/Proxmox-Debian12.git + +# Access the downloaded folder with the 'cd' command +cd /Proxmox-Debian12 +``` +2. Make the script executable. +```bash +# Give execution permission to the setup +chmod +x ./setup.bash +``` + +3. Run the setup. +```bash +./setup +``` + +## Additional Packages + +The script installs some additional packages to enhance the experience and provide additional functionalities. The packages include: + +1. **'sudo':** Essential tool to grant administrative permissions to the selected user. +2. **'nala':** An application that enhances the graphical interface of 'apt'. +3. **'neofetch':** A system information display tool with a colorful and user-friendly interface. +4. **'net-tools':** A classic set of network utilities, such as ifconfig and route. +5. **'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. + +## Features + +1. **Proxmox Installation:** The script automatically installs Proxmox on the Debian 12 base. + +2. **Additional Packages:** These additional packages are installed to enhance the user experience and provide useful tools for the system and Proxmox environment. + +3. **Bridge Creation:** Facilitates network configuration by creating a bridge named vmbr0. You can choose to configure manually or use DHCP. + +## Updates and Support + +For support or to report issues, [ open an issue](https://github.com/mathewalves/Proxmox-Debian12/issues). + +## License +This script is distributed under the [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause). + +## Acknowledgments + +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!** 🚀 diff --git a/configs/colors.conf b/configs/colors.conf index ed7a152..037f539 100644 --- a/configs/colors.conf +++ b/configs/colors.conf @@ -1,3 +1,6 @@ +# Proxmox Setup v1.0.0 +# by: Matheew Alves + # colors.conf ciano='\e[1;96m' azul='\e[;94m' diff --git a/scripts/configure_bridge.sh b/scripts/configure_bridge.sh index 88a81db..487afa4 100755 --- a/scripts/configure_bridge.sh +++ b/scripts/configure_bridge.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Proxmox Setup v1.0.0 +# by: Matheew Alves + # Carregar as variáveis de cores do arquivo colors.conf cd /Proxmox-Debian12 source ./configs/colors.conf diff --git a/scripts/custom_welcome.sh b/scripts/custom_welcome.sh index 1f14d13..dbd4c5f 100644 --- a/scripts/custom_welcome.sh +++ b/scripts/custom_welcome.sh @@ -1,4 +1,8 @@ #!/bin/bash + +# Proxmox Setup v1.0.0 +# by: Matheew Alves + cd /Proxmox-Debian12 source ./configs/colors.conf diff --git a/scripts/install_proxmox-1.sh b/scripts/install_proxmox-1.sh index b1e705c..edcc8b2 100755 --- a/scripts/install_proxmox-1.sh +++ b/scripts/install_proxmox-1.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Proxmox Setup v1.0.0 +# by: Matheew Alves + cd /Proxmox-Debian12 # Carregar as variáveis de cores do arquivo colors.conf diff --git a/scripts/install_proxmox-2.sh b/scripts/install_proxmox-2.sh index 6afdc8c..c91f6b5 100755 --- a/scripts/install_proxmox-2.sh +++ b/scripts/install_proxmox-2.sh @@ -1,4 +1,8 @@ #!/bin/bash + +# Proxmox Setup v1.0.0 +# by: Matheew Alves + # Carregar as variáveis de cores do arquivo colors.conf cd /Proxmox-Debian12 source ./configs/colors.conf diff --git a/setup.bash b/setup similarity index 100% rename from setup.bash rename to setup