├── CONTRIBUTING.md ├── LICENSE ├── Linux ├── Browsers │ ├── Brave │ │ ├── Readme.md │ │ └── installBrave.sh │ ├── Chrome │ │ ├── Readme.md │ │ └── installChrome.sh │ ├── MicrosoftEdge │ │ ├── Readme.md │ │ └── installMicroftEdge.sh │ └── Tor │ │ ├── Readme.md │ │ └── installTor.sh ├── Databases │ └── pgAdmin │ │ ├── BackupReadme.md │ │ ├── Readme.md │ │ ├── backupPgAdminDB.sh │ │ └── installPgAdmin.sh ├── DevOps │ ├── Docker │ │ ├── Readme.md │ │ └── installDocker.sh │ └── Jenkins │ │ ├── Readme.md │ │ └── install_jenkins.sh ├── Multimedia │ └── OBS Studio │ │ ├── Readme.md │ │ └── installObsStudio.sh ├── Programming │ ├── ASDF │ │ ├── Readme.md │ │ └── installAsdf.sh │ ├── Composer │ │ ├── Readme.md │ │ └── installComposer.sh │ ├── Flutter │ │ ├── README.md │ │ └── install.sh │ └── Visual Studio Code │ │ ├── Readme.md │ │ └── installVsCode.sh ├── Readme.md ├── System │ └── Upgrade System Version │ │ ├── Readme.md │ │ └── upgradeSystemVersion.sh └── usefulScripts │ └── Download Anything │ ├── Readme.md │ └── automa_download.sh ├── MacOs ├── Browsers │ ├── Brave │ │ ├── Readme.md │ │ └── installBrave.sh │ ├── Firefox │ │ ├── Readme.md │ │ └── installFirefox.sh │ ├── GoogleChrome │ │ ├── Readme.md │ │ └── installGoogleChrome.sh │ └── MicrosoftEdge │ │ ├── Readme.md │ │ └── installMicrosoftEdge.sh ├── Programming │ └── VsCode │ │ ├── Readme.md │ │ └── installVsCode.sh ├── Readme.md └── System │ └── UpdateSystem │ └── upgradeSystem.sh └── Readme.md /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # DevToolBox 2 | 3 | 4 | ## How is organized DevToolBox ? 5 | 6 | DevToolBox is organized into two main folders at the root level: "Linux" for scripts specific to a Linux (bash) environment, and "Macos" for scripts specific to a macOS (zsh) environment. Within each of these folders, there are seven category folders: 7 | 8 | 1. System: Contains scripts for system-related tasks such as system updates, hardware configuration, driver installation, etc. 9 | 2. Multimedia: Includes scripts for installing and configuring multimedia software and tools. 10 | 3. Programming: Contains folders for various programming-related tasks, including IDE installation, code editors, package management, and more. 11 | 4. Devops: Holds scripts relevant to DevOps tasks such as container management, deployment, and infrastructure management. 12 | 5. Network: Includes scripts for network-related tasks like network configuration, monitoring, and troubleshooting. 13 | 6. Others: Serves as a catch-all category for any scripts that don't fit into the other main categories. 14 | 7. Browsers: Contains scripts related to web browsers, such as installation, configuration, and plugins/extensions. 15 | 8. UsefulScripts: This folder houses scripts for automating common tasks and utilities helpful for developers. 16 | 17 | With this organization, DevToolBox provides a clear and structured approach to accessing various scripts for specific purposes. Users can easily navigate the repository and find the scripts they need based on their specific requirements or interests. 18 | Each subfolder of categories folders must contain a Readme file for explain how script work and how to use it. 19 | 20 | 21 | ## How to contribute to DevToolBox ? 22 | 23 | We're excited to welcome new contributions to enrich this repository. Here's how you can contribute: 24 | 25 | 1. Fork: Start by forking our repository from the main DevToolBox page on GitHub. This will create a copy of the repository in your own GitHub account. 26 | 27 | 2. Clone: Clone your fork to your local machine using the `git clone` command followed by the URL of your fork. 28 | 29 | 3. Create a Branch: Create a new branch to work on using a descriptive naming convention. For example, you can name the branch based on the feature/folder you're adding or the bug you're fixing. 30 | 31 | 4. Make Changes: Add or modify the scripts in the appropriate folders based on your contributions. Ensure to document your changes well and follow any existing style conventions. 32 | 33 | 5. Commit and Push: Commit your changes using `git commit` with a clear message describing the changes you made. Then push your changes to your fork using `git push`. 34 | 35 | 6. Create a Pull Request: Go to the page of your fork on GitHub and click the "New Pull Request" button. Describe the changes you made and submit the pull request. This will open a discussion on your changes with other contributors. 36 | 37 | We'll review your Pull Request, examine your changes, and provide feedback if necessary. Once everything is satisfactory, We'll merge your changes into the main branch of DevToolBox. 38 | 39 | We also encourage you to participate in discussions on open issues, propose new ideas, and help resolve existing problems. 40 | 41 | Thank you again for your contribution to DevToolBox. Together, we can create a powerful and collaborative toolbox for developers, DevOps, and system administrators! 42 | 43 | [My Website](https://fredthedev.com) 44 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Freddy AGBONA 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Linux/Browsers/Brave/Readme.md: -------------------------------------------------------------------------------- 1 | # Brave Browser Installation 2 | 3 | This Bash script automates the installation of the Brave Browser on a Debian or Ubuntu-based system. It installs the necessary dependencies, adds the Brave Browser repository keyring, configures the repository, updates the package lists, and installs the Brave Browser. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `sudo ./script.sh` 13 | 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will install the `curl` package using `apt install curl`, download the Brave Browser repository keyring using `curl`, add the keyring to `/usr/share/keyrings/brave-browser-archive-keyring.gpg`, configure the Brave Browser repository in `/etc/apt/sources.list.d/brave-browser-release.list`, update the package lists using `apt update`, and finally install the Brave Browser using `apt install brave-browser`. 17 | 18 | ## Note 19 | 20 | - The installation process requires an active internet connection. 21 | - After installation, you can launch the Brave Browser either by searching for it in the applications menu or by running `brave-browser` command in the terminal. 22 | 23 | ## Disclaimer 24 | 25 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 26 | 27 | --- 28 | -------------------------------------------------------------------------------- /Linux/Browsers/Brave/installBrave.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | apt install curl 3 | 4 | curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg 5 | 6 | echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list 7 | 8 | apt update 9 | 10 | apt install brave-browser 11 | echo "Brave Browser Installed" 12 | exit 0 13 | -------------------------------------------------------------------------------- /Linux/Browsers/Chrome/Readme.md: -------------------------------------------------------------------------------- 1 | # Google Chrome Installation 2 | 3 | This Bash script automates the installation of Google Chrome on a Debian or Ubuntu-based system. It updates the package lists, resolves dependencies, downloads the Google Chrome package, installs it using `dpkg`, and finally launches Google Chrome. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `sudo ./script.sh` 13 | 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will update the package lists using `apt-get update`, resolve dependencies using `apt-get install -f`, download the Google Chrome package using `wget`, install the package using `dpkg`, and remove the downloaded package using `rm`. 17 | 7. After installation, the script will launch Google Chrome using the `google-chrome` command. 18 | 19 | ## Note 20 | 21 | - The installation process requires an active internet connection. 22 | - Make sure to run the script with superuser privileges (e.g., using `sudo`) to install and configure Google Chrome. 23 | - Google Chrome is only available for 64-bit systems (`amd64` architecture) in this script. Adjust the download link if you are using a different architecture. 24 | - For the best experience, Google Chrome recommends enabling hardware acceleration in your browser settings. 25 | 26 | ## Disclaimer 27 | 28 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 29 | 30 | --- 31 | 32 | 33 | -------------------------------------------------------------------------------- /Linux/Browsers/Chrome/installChrome.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "------------------------------------------------------------------------------" 4 | echo "apt-get update" 5 | echo "------------------------------------------------------------------------------" 6 | apt-get update 7 | 8 | echo "------------------------------------------------------------------------------" 9 | echo "apt-get upgrade" 10 | echo "------------------------------------------------------------------------------" 11 | apt-get upgrade 12 | 13 | echo "------------------------------------------------------------------------------" 14 | echo "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" 15 | echo "------------------------------------------------------------------------------" 16 | wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 17 | 18 | echo "------------------------------------------------------------------------------" 19 | echo "dpkg -i --force-depends google-chrome-stable_current_amd64.deb" 20 | echo "------------------------------------------------------------------------------" 21 | dpkg -i --force-depends google-chrome-stable_current_amd64.deb 22 | 23 | echo "------------------------------------------------------------------------------" 24 | echo "rm google-chrome-stable_current_amd64.deb" 25 | echo "------------------------------------------------------------------------------" 26 | rm google-chrome-stable_current_amd64.deb 27 | 28 | echo "Chrome Successfully Installed " 29 | 30 | echo "------------------------------------------------------------------------------" 31 | echo "google-chrome" 32 | echo "------------------------------------------------------------------------------" 33 | google-chrome -------------------------------------------------------------------------------- /Linux/Browsers/MicrosoftEdge/Readme.md: -------------------------------------------------------------------------------- 1 | # Microsoft Edge Installation for Linux 2 | 3 | This Bash script automates the process of installing Microsoft Edge on Debian-based Linux systems (like Ubuntu). It adds the Microsoft Edge repository, updates the package list, and installs the latest stable version of Microsoft Edge. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Linux system. 8 | 2. Download the `install_edge_linux.sh` script or clone this repository. 9 | 3. Give the script execution permissions with the command `chmod +x install_edge_linux.sh`. 10 | 4. Execute the script with the command (you might be prompted for your password): 11 | 12 | `sudo ./install_edge_linux.sh` 13 | 14 | 5. Microsoft Edge will be downloaded and installed. 15 | 16 | ## Notes 17 | 18 | - An active internet connection is required to download and install Microsoft Edge. 19 | - This script is intended for Debian-based distributions. For other distributions, the installation steps might differ. 20 | - Ensure you have `wget` and `gpg` installed on your system for the script to work correctly. 21 | 22 | ## Disclaimer 23 | 24 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 25 | -------------------------------------------------------------------------------- /Linux/Browsers/MicrosoftEdge/installMicroftEdge.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # "Adding the Microsoft Edge repository..." 4 | wget -qO - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg 5 | sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ 6 | sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list' 7 | sudo rm microsoft.gpg 8 | 9 | # "Updating package list and installing Microsoft Edge..." 10 | sudo apt update 11 | sudo apt install -y microsoft-edge-stable 12 | 13 | # Done "Microsoft Edge has been successfully installed." 14 | -------------------------------------------------------------------------------- /Linux/Browsers/Tor/Readme.md: -------------------------------------------------------------------------------- 1 | # Tor Browser Installation 2 | 3 | This Bash script automates the installation of the Tor browser on a Debian or Ubuntu-based system. It updates the package lists, install required dependencies, downloads the Tor browser .tar.xz file, extract it, and finally launches Tor. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Go to the folder in which you want to install Tor (a thing like `/home/user/Apps/tor-browser`) 9 | 3. Download the script or clone his repository from here. 10 | 4. Ensure that the script has execution permissions using the command `chmod +x installTor.sh`. 11 | 5. Execute the script using the following command: 12 | 13 | `sudo ./installTor.sh` 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will update the package lists using `apt update`, install required dependencies using `apt install xz-utils`, download the Tor browser .tar.xz file using `wget`, extract it using `tar`, and remove the downloaded .tar.xz file using `rm`. 17 | 7. After installation, the script will launch the Tor Browser and give you guidance for next launches. 18 | 19 | ## Note 20 | 21 | - The installation process requires an active internet connection. 22 | - Make sure to run the script with superuser privileges (e.g., using `sudo`) to install and configure the Tor browser. 23 | - Tor Browser is only available for 64-bit systems (`amd64` architecture) in this script. Adjust the download link if you are using a different architecture. 24 | 25 | ## Disclaimer 26 | 27 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 28 | 29 | --- 30 | -------------------------------------------------------------------------------- /Linux/Browsers/Tor/installTor.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "------------------------------------------------------------------------------" 4 | echo "apt update" 5 | echo "------------------------------------------------------------------------------" 6 | apt update 7 | 8 | echo "------------------------------------------------------------------------------" 9 | echo "apt upgrade" 10 | echo "------------------------------------------------------------------------------" 11 | apt upgrade 12 | 13 | echo "------------------------------------------------------------------------------" 14 | echo "apt install xz-utils" 15 | echo "------------------------------------------------------------------------------" 16 | apt install xz-utils 17 | 18 | echo "------------------------------------------------------------------------------" 19 | echo "wget https://www.torproject.org/dist/torbrowser/13.0.6/tor-browser-linux-x86_64-13.0.6.tar.xz" 20 | echo "------------------------------------------------------------------------------" 21 | wget https://www.torproject.org/dist/torbrowser/13.0.6/tor-browser-linux-x86_64-13.0.6.tar.xz 22 | 23 | echo "------------------------------------------------------------------------------" 24 | echo "tar -xf tor-browser-linux-x86_64-13.0.6.tar.xz" 25 | echo "------------------------------------------------------------------------------" 26 | tar -xf tor-browser-linux-x86_64-13.0.6.tar.xz 27 | 28 | echo "------------------------------------------------------------------------------" 29 | echo "rm tor-browser-linux-x86_64-13.0.6.tar.xz" 30 | echo "------------------------------------------------------------------------------" 31 | rm tor-browser-linux-x86_64-13.0.6.tar.xz 32 | 33 | echo "Tor Successfully Installed" 34 | 35 | echo "To start the tor browser, cd to ${PWD}/tor-browser and run the start file (start-tor-browser.desktop)" -------------------------------------------------------------------------------- /Linux/Databases/pgAdmin/BackupReadme.md: -------------------------------------------------------------------------------- 1 | # pgAdmin BACKUP 2 | 3 | This Bash script automates the backup of pgAdmin database, a popular web-based administration and development platform for PostgreSQL, on a Debian or Ubuntu-based system. It sets up in the specified repository, a dump (backup) of table structure and records for choosen database in pgAdmin . 4 | 5 | ## Usage 6 | 1. Download the script or clone his repository from here. 7 | 2. Start your PostgreSQL services. 8 | 3. Complete specified information as credentials , path for backup, db name. in `backupPgAdminDB.sh` 9 | 4. Ensure that the script has execution permissions using the command `chmod +x backupPgAdminDB.sh`. 10 | 5. Execute the script using the following command: 11 | 12 | `sudo ./backupPgAdminDB.sh` 13 | 14 | 15 | 16 | ## Disclaimer 17 | 18 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 19 | 20 | -------------------------------------------------------------------------------- /Linux/Databases/pgAdmin/Readme.md: -------------------------------------------------------------------------------- 1 | # pgAdmin 4 Installation 2 | 3 | This Bash script automates the installation of pgAdmin 4, a popular web-based administration and development platform for PostgreSQL, on a Debian or Ubuntu-based system. It sets up the repository, installs the public key, configures the repository, updates the package lists, and finally installs pgAdmin 4. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `sudo ./script.sh` 13 | 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will download the public key for the pgAdmin 4 repository using `curl`, install the key using `gpg`, create the repository configuration file in `/etc/apt/sources.list.d/pgadmin4.list`, update the package lists using `apt update`, and finally install pgAdmin 4 using `apt install pgadmin4`. 17 | 18 | ## Note 19 | 20 | - The installation process requires an active internet connection. 21 | - Make sure to run the script with superuser privileges (e.g., using `sudo`) to install and configure pgAdmin 4. 22 | - After installation, you can access pgAdmin 4 in both desktop and web modes. To configure the web mode, use the provided script `/usr/pgadmin4/bin/setup-web.sh`. 23 | 24 | ## Disclaimer 25 | 26 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 27 | 28 | -------------------------------------------------------------------------------- /Linux/Databases/pgAdmin/backupPgAdminDB.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # database credentials 4 | DB_USER="" 5 | DB_NAME="" 6 | 7 | DB_HOST="" 8 | DB_POST= 9 | 10 | DB_USER_PASSFILE="path/to/postgresql/password/config/file" 11 | # PostGresql Reference Version for dumping 12 | REF_VERSION=11 13 | # Backup directory 14 | BACKUP_DIR="path/to/backup/directory" 15 | 16 | # Timestamp for backup file 17 | TIMESTAMP=$(date +"%Y%m%d%H%M%S") 18 | 19 | # Set PATH for pg_dump (PostgreSQL bin directory) 20 | export PATH="$PATH:/path/to/postgresql/bin" 21 | 22 | # Create backup directory if it doesn't exist 23 | mkdir -p "$BACKUP_DIR" 24 | 25 | POSTGRESQL_VERSION=$(psql --version | awk '{print $3}') 26 | 27 | # Remove dots from the version number 28 | remove_dots() { 29 | echo "$1" | tr -d '.' 30 | } 31 | 32 | # Dump PG database 33 | 34 | if [ $(remove_dots "$POSTGRESQL_VERSION") -gt "$REF_VERSION" ]; then 35 | PGPASSFILE="$DB_USER_PASSFILE" pg_dump -U "$DB_USER" -h $DB_HOST -p $DB_POST -d "$DB_NAME" > "$BACKUP_DIR/dump_$TIMESTAMP.sql" 36 | else 37 | pg_dump -h $DB_HOST -U "$DB_USER" -d "$DB_NAME" -w > "$BACKUP_DIR/dump_$TIMESTAMP.sql" 38 | fi 39 | 40 | 41 | 42 | 43 | # Zip the dump file 44 | zip "$BACKUP_DIR/dump_$TIMESTAMP.zip" "$BACKUP_DIR/dump_$TIMESTAMP.sql" 45 | 46 | # Remove the original SQL dump file 47 | rm "$BACKUP_DIR/dump_$TIMESTAMP.sql" 48 | 49 | echo "Backup completed and saved as dump_$TIMESTAMP.zip in $BACKUP_DIR" 50 | -------------------------------------------------------------------------------- /Linux/Databases/pgAdmin/installPgAdmin.sh: -------------------------------------------------------------------------------- 1 | 2 | echo "Setup the repository" 3 | 4 | echo "Install the public key for the repository (if not done previously):" 5 | 6 | curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg 7 | 8 | echo "Create the repository configuration file:" 9 | 10 | sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update' 11 | 12 | echo "Install pgAdmin" 13 | 14 | 15 | echo "Install for both desktop and web modes:" 16 | 17 | sudo apt install pgadmin4 18 | 19 | echo "Configure the webserver:" 20 | 21 | /usr/pgadmin4/bin/setup-web.sh -------------------------------------------------------------------------------- /Linux/DevOps/Docker/Readme.md: -------------------------------------------------------------------------------- 1 | # Docker Installation 2 | 3 | This Bash script automates the installation of Docker Engine on a Debian or Ubuntu-based system. It removes conflicting packages, sets up the Docker repository, installs Docker Engine, and verifies the installation. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `sudo ./script.sh` 13 | 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will remove conflicting packages (`docker.io`, `docker-doc`, `docker-compose`, `podman-docker`, `containerd`, `runc`), set up the Docker repository, install Docker Engine, Docker CLI, containerd.io, Docker Buildx plugin, and Docker Compose plugin using `apt-get`. 17 | 7. After installation, the script will verify the Docker Engine installation by running the hello-world image. 18 | 19 | ## Note 20 | 21 | - The installation process requires an active internet connection. 22 | - Make sure to run the script with superuser privileges (e.g., using `sudo`) to install and configure Docker. 23 | - Docker requires certain hardware virtualization features to be enabled on your system. Ensure that virtualization is supported and enabled in your BIOS/UEFI settings. 24 | - Refer to the official Docker documentation for more information on Docker usage and configuration. 25 | 26 | ## Disclaimer 27 | 28 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 29 | 30 | --- 31 | 32 | -------------------------------------------------------------------------------- /Linux/DevOps/Docker/installDocker.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Uninstall all conflicting packages 4 | for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done 5 | 6 | # Set up the repository 7 | apt-get update 8 | apt-get install ca-certificates curl gnupg 9 | 10 | # Add Docker's official GPG key 11 | install -m 0755 -d /etc/apt/keyrings 12 | curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg 13 | chmod a+r /etc/apt/keyrings/docker.gpg 14 | echo \ 15 | "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ 16 | "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ 17 | tee /etc/apt/sources.list.d/docker.list > /dev/null 18 | 19 | # Install Docker Engine 20 | apt-get update 21 | sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 22 | 23 | # Verify that the Docker Engine installation is successfully by running the hello-world image 24 | docker run hello-world 25 | 26 | echo "Installation Complete" 27 | 28 | 29 | usermod -aG docker $USER 30 | 31 | echo "Username added to group" 32 | 33 | exit 0 34 | -------------------------------------------------------------------------------- /Linux/DevOps/Jenkins/Readme.md: -------------------------------------------------------------------------------- 1 | # Jenkins LTS Installation 2 | 3 | This Bash script automates the installation of Jenkins Long-Term Support (LTS) version on a Debian or Ubuntu-based Linux system. It updates the system, installs Java (a prerequisite for Jenkins), adds the Jenkins repository, installs Jenkins, starts the service, and displays the initial admin password. 4 | 5 | ## Usage 6 | 7 | 1. **Open a Terminal**: On your Debian or Ubuntu system. 8 | 9 | 2. **Create Script File**: Use the command `nano install_jenkins.sh` (or your preferred text editor) to create a new script file. 10 | 11 | 3. **Copy Script Content**: Copy the Jenkins installation script content into this file. 12 | 13 | 4. **Make Script Executable**: Set execution permissions with `chmod +x install_jenkins.sh`. 14 | 15 | 5. **Execute Script**: Run the script as a superuser with `sudo ./install_jenkins.sh`. 16 | 17 | 6. **Complete Installation**: After execution, Jenkins will be installed and started. The initial admin password will be displayed in the terminal. 18 | 19 | 7. **Access Jenkins**: Go to `http://:8080` to complete the initial setup using the displayed admin password. 20 | 21 | ## Post-installation 22 | 23 | After the initial setup, configure Jenkins according to your requirements, such as setting up jobs, installing plugins, and configuring system settings. 24 | 25 | ## Note 26 | 27 | - This script is tailored for Debian or Ubuntu distributions. For other Linux distributions, modifications to the script might be necessary. 28 | - Always consult the [official Jenkins documentation](https://www.jenkins.io/doc/) for the latest instructions and best practices. 29 | -------------------------------------------------------------------------------- /Linux/DevOps/Jenkins/install_jenkins.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Update the system 4 | sudo apt-get update 5 | 6 | # Install Java (required for Jenkins) 7 | sudo apt-get install -y openjdk-11-jdk 8 | 9 | # Add the Jenkins repository to the system 10 | wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - 11 | 12 | # Add the Jenkins repository to the sources list 13 | sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' 14 | 15 | # Update the system after adding the repository 16 | sudo apt-get update 17 | 18 | # Install Jenkins 19 | sudo apt-get install -y jenkins 20 | 21 | # Start Jenkins 22 | sudo systemctl start jenkins 23 | 24 | # Enable Jenkins to start on boot 25 | sudo systemctl enable jenkins 26 | 27 | # Display the status of Jenkins 28 | sudo systemctl status jenkins 29 | 30 | # Output initial admin password 31 | echo "Initial Admin Password:" 32 | sudo cat /var/lib/jenkins/secrets/initialAdminPassword 33 | -------------------------------------------------------------------------------- /Linux/Multimedia/OBS Studio/Readme.md: -------------------------------------------------------------------------------- 1 | # OBS Studio Installation 2 | 3 | This Bash script automates the installation of OBS Studio, a popular open-source software for video recording and live streaming, on a Debian or Ubuntu-based system. It adds the OBS Studio PPA, updates the package lists, and installs the necessary packages. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `sudo ./script.sh` 13 | 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will add the OBS Studio PPA using `add-apt-repository`, update the package lists using `apt update`, and install the necessary packages (`ffmpeg` and `obs-studio`) using `apt install`. 17 | 18 | ## Note 19 | 20 | - The installation process requires an active internet connection. 21 | - After installation, you can launch OBS Studio by searching for it in the applications menu or using the `obs-studio` command in the terminal. 22 | 23 | ## Disclaimer 24 | 25 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 26 | 27 | --- 28 | -------------------------------------------------------------------------------- /Linux/Multimedia/OBS Studio/installObsStudio.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | add-apt-repository ppa:obsproject/obs-studio 3 | apt update 4 | apt install ffmpeg obs-studio 5 | echo "OBS Studio Installed" 6 | exit 0 -------------------------------------------------------------------------------- /Linux/Programming/ASDF/Readme.md: -------------------------------------------------------------------------------- 1 | # ASDF Installation Script 2 | 3 | This Bash script automates the installation of ASDF, a version manager for multiple programming languages, on a Debian or Ubuntu-based system. It clones the ASDF repository, sets up the necessary environment variables, and configures ASDF for usage. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `sudo ./script.sh` 13 | 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will clone the ASDF repository to `~/.asdf` using `git clone`, append the necessary lines to `~/.bashrc` for ASDF setup, configure the ASDF behavior in `~/.asdfrc`, set the `EDITOR` environment variable to Visual Studio Code, and restart the shell using `exec $SHELL` to apply the changes. 17 | 18 | ## Note 19 | 20 | - Make sure you have Git installed on your system for cloning the ASDF repository. 21 | - After installation, you can use ASDF to manage multiple programming language versions. Refer to the ASDF documentation for further information on how to use it. 22 | 23 | ## Disclaimer 24 | 25 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 26 | 27 | --- 28 | # ASDF Installation 29 | 30 | This Bash script automates the installation of ASDF, a version manager for multiple programming languages, on a Debian or Ubuntu-based system. It clones the ASDF repository, sets up the necessary environment variables, and configures ASDF for usage. 31 | 32 | ## Usage 33 | 34 | 1. Open a terminal on your Debian or Ubuntu system. 35 | 2. Download the script or copy its content into a new file. 36 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 37 | 4. Execute the script using the following command: 38 | 39 | `sudo ./script.sh` 40 | 41 | 42 | 5. Follow the instructions displayed on the screen. 43 | 6. The script will clone the ASDF repository to `~/.asdf` using `git clone`, append the necessary lines to `~/.bashrc` for ASDF setup, configure the ASDF behavior in `~/.asdfrc`, set the `EDITOR` environment variable to Visual Studio Code, and restart the shell using `exec $SHELL` to apply the changes. 44 | 45 | ## Note 46 | 47 | - Make sure you have Git installed on your system for cloning the ASDF repository. 48 | - After installation, you can use ASDF to manage multiple programming language versions. Refer to the ASDF documentation for further information on how to use it. 49 | 50 | ## Disclaimer 51 | 52 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 53 | 54 | --- 55 | -------------------------------------------------------------------------------- /Linux/Programming/ASDF/installAsdf.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd 3 | git clone https://github.com/excid3/asdf.git ~/.asdf 4 | echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc 5 | echo '. "$HOME/.asdf/completions/asdf.bash"' >> ~/.bashrc 6 | echo 'legacy_version_file = yes' >> ~/.asdfrc 7 | echo 'export EDITOR="code --wait"' >> ~/.bashrc 8 | exec $SHELL 9 | echo 'ASDF Successful Installed ' 10 | exit 0 11 | -------------------------------------------------------------------------------- /Linux/Programming/Composer/Readme.md: -------------------------------------------------------------------------------- 1 | # Composer Installation Script 2 | 3 | This Bash script automates the installation of Composer, a dependency management tool for PHP, on a Debian or Ubuntu-based system. It installs the necessary dependencies, downloads Composer, and sets it up for global usage. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | `sudo ./script.sh` 12 | 13 | 14 | 5. Follow the instructions displayed on the screen. 15 | 6. The script will update the package lists using `sudo apt update`, install `curl` and `unzip` using `sudo apt-get install curl unzip`, install `php` and `php-curl` using `sudo apt-get install php php-curl`, install `php-cli` and `unzip` using `sudo apt-get install php-cli unzip`, download Composer using `curl`, and finally install Composer globally using `sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer`. 16 | 17 | ## Note 18 | 19 | - Ensure that you have appropriate permissions to install packages and dependencies using `sudo`. 20 | - After installation, you can verify the Composer installation by running `composer` command in the terminal. It should display the Composer version and available commands. 21 | - If you encounter any issues during the installation, refer to the official Composer documentation for troubleshooting. 22 | 23 | ## Disclaimer 24 | 25 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 26 | 27 | --- 28 | 29 | 30 | -------------------------------------------------------------------------------- /Linux/Programming/Composer/installComposer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sudo apt update 3 | EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')" 4 | php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" 5 | ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" 6 | 7 | if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ] 8 | then 9 | >&2 echo 'ERROR: Invalid installer checksum' 10 | rm composer-setup.php 11 | exit 1 12 | fi 13 | 14 | php composer-setup.php --quiet 15 | rm composer-setup.php 16 | echo "Composer Successful Installed " 17 | exit 0 18 | -------------------------------------------------------------------------------- /Linux/Programming/Flutter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredagbona/devtoolbox/d9652344ebd5ff8a4f3c283688865291e0333972/Linux/Programming/Flutter/README.md -------------------------------------------------------------------------------- /Linux/Programming/Flutter/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #if [ -d "$HOME/flutter" ]; then 4 | # echo "Flutter est déjà installé dans $HOME/flutter." 5 | # exit 0 6 | #fi 7 | 8 | # Vérifie si flutter est installé 9 | if ! command -v flutter &> /dev/null; then 10 | echo "Démarrage de l'application..." 11 | sudo apt update 12 | sudo apt install git -y 13 | 14 | # Vérifie si git est installé 15 | if ! command -v git &> /dev/null; then 16 | echo "Git n'est pas installé. Installation de git..." 17 | sudo apt update 18 | sudo apt install git -y 19 | fi 20 | 21 | echo "Updating your apt list" 22 | 23 | apt update -y 24 | 25 | echo "10%" 26 | 27 | echo "install necessary dependencies before installation" 28 | 29 | sleep 1 30 | 31 | apt install openjdk-8-jre 32 | apt install openjdk-8-jdk 33 | apt install git 34 | apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev 35 | 36 | 37 | echo "20%" 38 | 39 | echo "installing android tools" 40 | 41 | sleep 1 42 | 43 | cd ~ 44 | mkdir temp && cd temp 45 | # Télécharge Flutter depuis le référentiel Git 46 | echo "Téléchargement de Flutter depuis le référentiel Git..." 47 | git clone https://github.com/flutter/flutter.git -b stable "$HOME/flutter" 48 | 49 | # Ajoute Flutter au PATH 50 | echo "Configuration de Flutter dans le PATH..." 51 | echo "export PATH=\"\$PATH:\$HOME/flutter/bin\"" >> ~/.bashrc 52 | source ~/.bashrc 53 | 54 | # Vérifie si flutter doctor doit être exécuté après l'installation 55 | read -p "Souhaitez-vous exécuter 'flutter doctor' pour terminer l'installation ? (oui/non) " response 56 | if [[ "$response" =~ ^([oO][uU][iI]|[yY][eE][sS])$ ]]; then 57 | flutter doctor 58 | fi 59 | 60 | echo "L'installation de Flutter est terminée. Redémarrez votre terminal ou exécutez 'source ~/.bashrc' pour appliquer les modifications." 61 | fi -------------------------------------------------------------------------------- /Linux/Programming/Visual Studio Code/Readme.md: -------------------------------------------------------------------------------- 1 | # Visual Studio Code (VSCode) Installation 2 | 3 | This Bash script allows you to install Visual Studio Code (VSCode) on a Debian or Ubuntu-based system. It automates the necessary steps to download the packages, add the signing keys, and configure the package repositories. 4 | 5 | ## Features 6 | 7 | - Downloads and installs the necessary dependencies for VSCode installation. 8 | - Adds Microsoft signing keys to ensure package authenticity. 9 | - Configures the VSCode package repository. 10 | - Updates the repository information and installs VSCode on the system. 11 | 12 | ## Prerequisites 13 | 14 | - The script must be executed as a user with superuser privileges (e.g., root or using `sudo`). 15 | - Internet connectivity is required to download packages and keys. 16 | 17 | ## Usage 18 | 19 | 1. Open a terminal on your Debian or Ubuntu system. 20 | 2. Download the script or clone his repository from here. 21 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 22 | 4. Execute the script using the following command: 23 | 24 | `sudo ./script.sh` 25 | 26 | 27 | 5. Follow the instructions displayed on the screen. 28 | 6. Once the installation is complete, you can launch Visual Studio Code by using the `code` command in the terminal or by searching for it in the applications menu. 29 | 30 | ## Disclaimer 31 | 32 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 33 | - Please note that the installation of VSCode may take time depending on your internet connection speed and system performance. 34 | 35 | --- 36 | 37 | 38 | -------------------------------------------------------------------------------- /Linux/Programming/Visual Studio Code/installVsCode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | apt-get install wget gpg 3 | wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg 4 | install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg 5 | sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' 6 | rm -f packages.microsoft.gpg 7 | apt install apt-transport-https 8 | apt update 9 | apt install code 10 | echo "VSCode Installed" 11 | exit 0 -------------------------------------------------------------------------------- /Linux/Readme.md: -------------------------------------------------------------------------------- 1 | # Linux Folder 2 | 3 | This folder contains various Bash scripts specifically designed for Linux-based systems. Each script serves a specific purpose and automates certain tasks on Linux. 4 | 5 | ## List of his content 6 | 7 | 1. System: Contains scripts for system-related tasks such as system updates, hardware configuration, driver installation, etc. 8 | 2. Multimedia: Includes scripts for installing and configuring multimedia software and tools. 9 | 3. Programming: Contains folders for various programming-related tasks, including IDE installation, code editors, package management, and more. 10 | 4. Devops: Holds scripts relevant to DevOps tasks such as container management, deployment, and infrastructure management. 11 | 5. Network: Includes scripts for network-related tasks like network configuration, monitoring, and troubleshooting. 12 | 6. Others: Serves as a catch-all category for any scripts that don't fit into the other main categories. 13 | 7. Browsers: Contains scripts related to web browsers, such as installation, configuration, and plugins/extensions. 14 | 8. UsefulScripts: This folder houses scripts for automating common tasks and utilities helpful for developers. 15 | 16 | ## Disclaimer 17 | 18 | - The scripts provided in this folder are meant to be used as examples and may require customization to suit your specific needs. 19 | - Use these scripts at your own risk. Review and understand the code before executing any scripts on your system. 20 | 21 | --- 22 | -------------------------------------------------------------------------------- /Linux/System/Upgrade System Version/Readme.md: -------------------------------------------------------------------------------- 1 | # System Upgrade Script 2 | 3 | This Bash script allows you to upgrade your Debian or Ubuntu-based system to the latest version using the `do-release-upgrade` command. It automates the necessary steps to install the `update-manager-core` package, update the system, and perform the release upgrade. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your Debian or Ubuntu system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `sudo ./script.sh` 13 | 14 | 15 | 5. Follow the instructions displayed on the screen. 16 | 6. The script will install the `update-manager-core` package if not already installed, update the system using `apt update && apt upgrade`, and then perform the release upgrade using `do-release-upgrade`. 17 | 18 | ## Note 19 | 20 | - It is recommended to take a backup of your important data before performing a system upgrade. 21 | - The upgrade process may take some time depending on the speed of your internet connection and the size of the upgrade. 22 | 23 | ## Disclaimer 24 | 25 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 26 | 27 | --- 28 | 29 | -------------------------------------------------------------------------------- /Linux/System/Upgrade System Version/upgradeSystemVersion.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | apt install update-manager-core 3 | 4 | apt update && apt upgrade 5 | 6 | do-release-upgrade 7 | 8 | echo "System upgraded successfully" 9 | 10 | exit 0 11 | -------------------------------------------------------------------------------- /Linux/usefulScripts/Download Anything/Readme.md: -------------------------------------------------------------------------------- 1 | # Download and Shutdown Script 2 | 3 | This Bash script allows you to download a file from a specified URL as an argument and then shut down the system with an optional delay. 4 | 5 | ## Purpose 6 | 7 | This script is useful in scenarios where you want to download a file from a given URL and then shut down the system after the download. It can be used to automate download and shutdown tasks on your machine. 8 | 9 | ## Prerequisites 10 | 11 | - The script must be executed as a user with the necessary privileges to run the `wget` and `shutdown` commands like root. 12 | - Ensure that the `wget` command is installed on your system. 13 | 14 | ## Usage 15 | 16 | 1. Open a terminal. 17 | 2. Download the script or clone his repository from here. 18 | 3. Ensure that the script has execution permissions using the command `chmod +x script.sh`. 19 | 4. Execute the script using the following command: 20 | 21 | - `URL`: The URL of the file to be downloaded. 22 | - `delay` (optional): The delay in seconds before system shutdown (e.g., 5 for shutdown after 5 seconds). If no delay is specified, the system will not shut down and display a download completed message. 23 | 24 | 5. Follow the instructions displayed on the screen. 25 | 26 | ## Usage Examples 27 | 28 | - Download a file and shut down the system after 10 seconds: 29 | `sudo ./script.sh https://example.com/file.txt 10` 30 | 31 | - Download a file without shutting down the system: 32 | `sudo ./script.sh https://example.com/file.txt` 33 | 34 | 35 | ## Disclaimer 36 | 37 | - Use this script with caution, taking into account execution privileges and shutdown actions. Improper use can result in data loss or other undesirable consequences. 38 | - Please note that this script is provided as is, without any warranty. Use it at your own risk. 39 | - Try to cat script content before execute -------------------------------------------------------------------------------- /Linux/usefulScripts/Download Anything/automa_download.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ -n "$1" ] 3 | then 4 | 5 | wget "$1" 6 | 7 | if [ -n "$2" ] 8 | then 9 | echo "Shutdow in $2 secondes..." 10 | sleep 5 11 | shutdown -h "$2" 12 | else 13 | echo "Download finished." 14 | exit 0 15 | fi 16 | else 17 | echo "Any argument entered" 18 | fi 19 | -------------------------------------------------------------------------------- /MacOs/Browsers/Brave/Readme.md: -------------------------------------------------------------------------------- 1 | # Brave Browser Installation for macOS 2 | 3 | This Bash script automates the process of installing Brave Browser on macOS systems. It downloads the latest version of Brave, mounts the disk image, copies the application to the Applications folder, and cleans up temporary files. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your macOS system. 8 | 2. Download the `install_brave.sh` script or clone this repository. 9 | 3. Give the script execution permissions with the command `chmod +x install_brave.sh`. 10 | 4. Execute the script with the command: 11 | 12 | `./install_brave.sh` 13 | 14 | 5. Brave Browser will be downloaded, installed, and ready to use. 15 | 16 | ## Notes 17 | 18 | - An active internet connection is required to download Brave Browser. 19 | - This script does not require superuser privileges, as it installs Brave Browser in the user-accessible Applications folder. 20 | - Ensure you have enough free space to download and install the application. 21 | 22 | ## Disclaimer 23 | 24 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 25 | -------------------------------------------------------------------------------- /MacOs/Browsers/Brave/installBrave.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Brave Browser download.. 4 | curl -L "https://laptop-updates.brave.com/latest/osx" > ~/Downloads/Brave-Browser.dmg 5 | 6 | # Montage de l'image disque... 7 | hdiutil attach ~/Downloads/Brave-Browser.dmg 8 | 9 | # Installation de Brave Browser... 10 | cp -r /Volumes/Brave\ Browser/Brave\ Browser.app /Applications/ 11 | 12 | # Nettoyage... 13 | hdiutil detach /Volumes/Brave\ Browser/ 14 | rm ~/Downloads/Brave-Browser.dmg 15 | 16 | # "Done! "Brave has been successfully installed." 17 | -------------------------------------------------------------------------------- /MacOs/Browsers/Firefox/Readme.md: -------------------------------------------------------------------------------- 1 | # Firefox Installation for macOS 2 | 3 | This Bash script automates the process of installing Firefox on macOS systems. It downloads the latest version of Firefox, mounts the disk image, copies the application to the Applications folder, and cleans up the temporary files. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your macOS system. 8 | 2. Download the `install_firefox.sh` script or clone this repository. 9 | 3. Give the script execution permissions with the command `chmod +x install_firefox.sh`. 10 | 4. Execute the script with the command: 11 | 12 | `./install_firefox.sh` 13 | 14 | 5. Firefox will be downloaded, installed, and ready to use. 15 | 16 | ## Notes 17 | 18 | - An active internet connection is required to download Firefox. 19 | - This script does not require superuser privileges, as it installs Firefox in the user-accessible Applications folder. 20 | - Ensure you have enough free space to download and install the application. 21 | 22 | ## Disclaimer 23 | 24 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 25 | -------------------------------------------------------------------------------- /MacOs/Browsers/Firefox/installFirefox.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # "Downloading Firefox..." 4 | curl -L "https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US" > ~/Downloads/Firefox.dmg 5 | 6 | # "Mounting the disk image..." 7 | hdiutil attach ~/Downloads/Firefox.dmg 8 | 9 | # "Installing Firefox..." 10 | cp -r /Volumes/Firefox/Firefox.app /Applications/ 11 | 12 | # "Cleaning up..." 13 | hdiutil detach /Volumes/Firefox/ 14 | rm ~/Downloads/Firefox.dmg 15 | 16 | # "Done! "Firefox has been successfully installed." 17 | -------------------------------------------------------------------------------- /MacOs/Browsers/GoogleChrome/Readme.md: -------------------------------------------------------------------------------- 1 | # Google Chrome Installation for macOS 2 | 3 | This Bash script automates the process of installing Google Chrome on macOS systems. It handles the download of the latest Google Chrome package, mounts the disk image, copies the application to the Applications folder, and cleans up the downloaded files. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your macOS system. 8 | 2. Download the `install_chrome.sh` script or clone this repository. 9 | 3. Give the script execution permissions with the command `chmod +x install_chrome.sh`. 10 | 4. Execute the script with the command: 11 | 12 | `./install_chrome.sh` 13 | 14 | 5. Google Chrome will be downloaded, installed, and ready to use. 15 | 16 | ## Notes 17 | 18 | - An active internet connection is required for downloading Google Chrome. 19 | - This script does not require superuser privileges, as it installs Google Chrome in the user-accessible Applications folder. 20 | - Ensure you have enough free space to download and install the application. 21 | 22 | ## Disclaimer 23 | 24 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 25 | -------------------------------------------------------------------------------- /MacOs/Browsers/GoogleChrome/installGoogleChrome.sh: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Téléchargement de Google Chrome... 4 | curl -L "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg" > ~/Downloads/googlechrome.dmg 5 | 6 | # Montage de l'image disque... 7 | hdiutil mount ~/Downloads/googlechrome.dmg 8 | 9 | # Installation de Google Chrome... 10 | cp -r /Volumes/Google\ Chrome/Google\ Chrome.app /Applications/ 11 | 12 | # Nettoyage... 13 | hdiutil unmount /Volumes/Google\ Chrome/ 14 | rm ~/Downloads/googlechrome.dmg 15 | -------------------------------------------------------------------------------- /MacOs/Browsers/MicrosoftEdge/Readme.md: -------------------------------------------------------------------------------- 1 | # Microsoft Edge Installation for macOS 2 | 3 | This Bash script automates the process of installing Microsoft Edge on macOS systems. It downloads the latest version of Microsoft Edge, mounts the disk image, copies the application to the Applications folder, and cleans up the temporary files. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your macOS system. 8 | 2. Download the `install_edge.sh` script or clone this repository. 9 | 3. Give the script execution permissions with the command `chmod +x install_edge.sh`. 10 | 4. Execute the script with the command: 11 | 12 | `./install_edge.sh` 13 | 14 | 5. Microsoft Edge will be downloaded, installed, and ready to use. 15 | 16 | ## Notes 17 | 18 | - An active internet connection is required to download Microsoft Edge. 19 | - This script does not require superuser privileges, as it installs Microsoft Edge in the user-accessible Applications folder. 20 | - Ensure you have enough free space to download and install the application. 21 | 22 | ## Disclaimer 23 | 24 | - This script is provided as is, without any warranty. Use of this script is at your own risk. 25 | -------------------------------------------------------------------------------- /MacOs/Browsers/MicrosoftEdge/installMicrosoftEdge.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # "Downloading Microsoft Edge..." 4 | curl -L "https://go.microsoft.com/fwlink/?linkid=2069148" > ~/Downloads/MicrosoftEdge.dmg 5 | 6 | # "Mounting the disk image..." 7 | hdiutil attach ~/Downloads/MicrosoftEdge.dmg 8 | 9 | # "Installing Microsoft Edge..." 10 | cp -r /Volumes/Microsoft\ Edge/Microsoft\ Edge.app /Applications/ 11 | 12 | # "Cleaning up..." 13 | hdiutil detach /Volumes/Microsoft\ Edge/ 14 | rm ~/Downloads/MicrosoftEdge.dmg 15 | 16 | # Done "Microsoft Edge has been successfully installed." 17 | -------------------------------------------------------------------------------- /MacOs/Programming/VsCode/Readme.md: -------------------------------------------------------------------------------- 1 | # Visual Studio Code Installation for macOS 2 | 3 | This Bash script automates the installation of Visual Studio Code (VS Code) on macOS systems. It downloads the VS Code package, unzips it to the Applications folder, and cleans up the downloaded files. 4 | 5 | ## Usage 6 | 7 | 1. Open a terminal on your macOS system. 8 | 2. Download the script or clone his repository from here. 9 | 3. Ensure that the script has execution permissions using the command `chmod +x install_vscode.sh`. 10 | 4. Execute the script using the following command: 11 | 12 | `./install_vscode.sh` 13 | 14 | 15 | 5. The script will download the VS Code package from the official Microsoft link using `curl`. 16 | 6. It will then unzip the downloaded file to the `/Applications` directory using `unzip`. 17 | 7. After the installation, the script will remove the downloaded ZIP file. 18 | 8. You will see a message "VSCode Installed" indicating the successful installation of Visual Studio Code. 19 | 20 | 21 | ## Note 22 | 23 | - This script requires an active internet connection for downloading Visual Studio Code. 24 | - This script does not require superuser privileges, as it installs VS Code to the user's Applications directory. 25 | - Ensure that you have sufficient permissions to write to the /Applications directory. 26 | - The script is designed for macOS systems and may not be compatible with other operating systems. 27 | 28 | ## Additional Notes 29 | - No superuser privileges are needed to run this script. 30 | 31 | ## Disclaimer 32 | 33 | - This script is provided as is, without any warranty. Use of this script is at your own risk. The user is responsible for complying with all applicable licenses and terms of service. 34 | 35 | --- 36 | 37 | 38 | -------------------------------------------------------------------------------- /MacOs/Programming/VsCode/installVsCode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Télécharge Visual Studio Code pour macOS 4 | curl -L "https://go.microsoft.com/fwlink/?LinkID=620882" > ~/Downloads/VSCode-darwin.zip 5 | 6 | # Décompresse l'archive dans le dossier Applications 7 | unzip -q ~/Downloads/VSCode-darwin.zip -d /Applications/ 8 | 9 | # Nettoie le fichier téléchargé 10 | rm ~/Downloads/VSCode-darwin.zip 11 | 12 | echo "VSCode Installed" 13 | -------------------------------------------------------------------------------- /MacOs/Readme.md: -------------------------------------------------------------------------------- 1 | # MacOS Folder 2 | 3 | This folder contains various Bash scripts specifically designed for macOS systems. Each script serves a specific purpose and automates certain tasks on macOS. 4 | 5 | ## List of his content 6 | 7 | ## List of his content 8 | 9 | 1. System: Contains scripts for system-related tasks such as system updates, hardware configuration, driver installation, etc. 10 | 2. Multimedia: Includes scripts for installing and configuring multimedia software and tools. 11 | 3. Programming: Contains folders for various programming-related tasks, including IDE installation, code editors, package management, and more. 12 | 4. Devops: Holds scripts relevant to DevOps tasks such as container management, deployment, and infrastructure management. 13 | 5. Network: Includes scripts for network-related tasks like network configuration, monitoring, and troubleshooting. 14 | 6. Others: Serves as a catch-all category for any scripts that don't fit into the other main categories. 15 | 7. Browsers: Contains scripts related to web browsers, such as installation, configuration, and plugins/extensions. 16 | 8. UsefulScripts: This folder houses scripts for automating common tasks and utilities helpful for developers. 17 | 18 | ## Disclaimer 19 | 20 | - The scripts provided in this folder are meant to be used as examples and may require customization to suit your specific needs. 21 | - Use these scripts at your own risk. Review and understand the code before executing any scripts on your system. 22 | 23 | --- 24 | 25 | Feel free to customize and adapt this README to provide more information about the scripts in your "MacOS" folder. 26 | -------------------------------------------------------------------------------- /MacOs/System/UpdateSystem/upgradeSystem.sh: -------------------------------------------------------------------------------- 1 | 2 | # "Vérification des mises à jour disponibles pour macOS..." 3 | 4 | softwareupdate -l 5 | 6 | # "Vérification terminée." 7 | -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | # DevToolBox 2 | 3 | ## What is it ? 4 | 5 | **DevToolBox** is an open-source repository that provides a collection of installation, update, removal, and configuration scripts for a set of tools, software, and packages useful for developers, DevOps, and system administrators. It is a comprehensive toolbox designed to simplify and expedite the process of setting up a new development or deployment environment. 6 | 7 | The DevToolBox project aims to facilitate the reinstalling or initial configuration of a system by bringing together ready-to-use scripts for common tasks. The well-organized repository's folders contain tool-specific scripts accompanied by clear documentation to guide users in their usage. 8 | 9 | Whether you are a web developer, DevOps practitioner, or system administrator, you will find a variety of commonly used tools in DevToolBox, such as language interpreters, application servers, databases, deployment tools, container management tools, web frameworks, testing tools, and much more. 10 | 11 | The objective of DevToolBox is to provide a centralized and collaborative resource, enabling developers worldwide to contribute by adding new folders with their own installation and configuration scripts for specific tools. This allows the community to share and benefit from collective expertise, simplifying installation procedures and facilitating the establishment of high-performance development environments. 12 | 13 | 14 | ## How is organized DevToolBox ? 15 | 16 | DevToolBox is organized into two main folders at the root level: "Linux" for scripts specific to a Linux (bash) environment, and "Macos" for scripts specific to a macOS (zsh) environment. Within each of these folders, there are seven category folders: 17 | 18 | 1. System: Contains scripts for system-related tasks such as system updates, hardware configuration, driver installation, etc. 19 | 2. Multimedia: Includes scripts for installing and configuring multimedia software and tools. 20 | 3. Programming: Contains folders for various programming-related tasks, including IDE installation, code editors, package management, and more. 21 | 4. Devops: Holds scripts relevant to DevOps tasks such as container management, deployment, and infrastructure management. 22 | 5. Network: Includes scripts for network-related tasks like network configuration, monitoring, and troubleshooting. 23 | 6. Others: Serves as a catch-all category for any scripts that don't fit into the other main categories. 24 | 7. Browsers: Contains scripts related to web browsers, such as installation, configuration, and plugins/extensions. 25 | 8. UsefulScripts: This folder houses scripts for automating common tasks and utilities helpful for developers. 26 | 27 | With this organization, DevToolBox provides a clear and structured approach to accessing various scripts for specific purposes. Users can easily navigate the repository and find the scripts they need based on their specific requirements or interests. 28 | Each subfolder of categories folders must contain a Readme file for explain how script work and how to use it. 29 | 30 | 31 | ## How to contribute to DevToolBox ? 32 | 33 | We're excited to welcome new contributions to enrich this repository. Here's how you can contribute: 34 | 35 | 1. Fork: Start by forking our repository from the main DevToolBox page on GitHub. This will create a copy of the repository in your own GitHub account. 36 | 37 | 2. Clone: Clone your fork to your local machine using the `git clone` command followed by the URL of your fork. 38 | 39 | 3. Create a Branch: Create a new branch to work on using a descriptive naming convention. For example, you can name the branch based on the feature/folder you're adding or the bug you're fixing. 40 | 41 | 4. Make Changes: Add or modify the scripts in the appropriate folders based on your contributions. Ensure to document your changes well and follow any existing style conventions. 42 | 43 | 5. Commit and Push: Commit your changes using `git commit` with a clear message describing the changes you made. Then push your changes to your fork using `git push`. 44 | 45 | 6. Create a Pull Request: Go to the page of your fork on GitHub and click the "New Pull Request" button. Describe the changes you made and submit the pull request. This will open a discussion on your changes with other contributors. 46 | 47 | We'll review your Pull Request, examine your changes, and provide feedback if necessary. Once everything is satisfactory, We'll merge your changes into the main branch of DevToolBox. 48 | 49 | We also encourage you to participate in discussions on open issues, propose new ideas, and help resolve existing problems. 50 | 51 | Thank you again for your contribution to DevToolBox. Together, we can create a powerful and collaborative toolbox for developers, DevOps, and system administrators! 52 | 53 | [My Website](https://fredthedev.com) 54 | --------------------------------------------------------------------------------