This bash script automates the installation of essential development and DevOps tools on a Linux system. The script checks if each tool is already installed and only installs the ones that are missing, ensuring that your environment is set up efficiently and consistently.
The script installs a wide range of tools, including:
-
Text Editors & IDEs
- Vim
- Nano
-
Version Control
- Git
- GitHub CLI (gh)
-
Programming Languages
- Python 3 & pip
- Node.js & npm
- Golang
- Ruby
- Java (OpenJDK 11)
-
Containers & Orchestration
- Kubernetes (kubectl)
- Minikube
- Helm
-
Cloud CLI
- AWS CLI
- Azure CLI
- Google Cloud SDK
- Terraform
-
Configuration Management
- Ansible
- Chef
- Puppet
-
CI/CD Tools
- Jenkins (using Docker)
- GitLab Runner
-
Servers & Databases
- Nginx
- MySQL/MariaDB
- PostgreSQL & Contrib
- Redis
- MongoDB (using Docker)
-
Monitoring & Logging
- Prometheus
- Grafana
-
Miscellaneous Tools
- cURL
- jq
- tmux
- htop
- fzf
- net-tools
- ngrok
- zip & unzip
- A Linux machine with
sudo
privileges. - Ensure that Docker is installed on your machine to run Jenkins and MongoDB in containers.
-
Clone the Repository
Clone the repository containing this script or directly download the script to your Linux machine.
git clone https://github.com/vicsam/tools_install.git cd tools_install
Or download the script:
wget https://github.com/vicsam/tools_install.git
-
Make the Script Executable
You need to give execution permissions to the script:
chmod +x tools_install.sh
-
Run the Script
Execute the script with the following command:
./tools_install.sh
The script will update your system and then proceed to install the necessary tools. It will skip any tools that are already installed, ensuring that your environment setup is efficient.
-
Check Installation
After the script finishes running, you can verify that the tools were installed correctly by running the corresponding commands for each tool (e.g., git --version, docker --version, etc.).
- The script assumes that you are running a Debian-based distribution (e.g., Ubuntu). If you are using another distribution, you may need to modify the package manager commands accordingly.
- The script also makes use of Docker to set up Jenkins and MongoDB, so ensure that Docker is installed and running on your system before executing the script.
Feel free to contribute by adding more tools, improving the script, or fixing any issues. Fork this repository, make your changes, and submit a pull request.