First, make sure Git is installed on your Linux machine.
For Debian/Ubuntu-based distributions:
sudo apt update
sudo apt install git
#!/bin/bash | |
# Check if the script is running with root privileges | |
if [ "$EUID" -ne 0 ]; then | |
echo "Please run this script as root." | |
exit 1 | |
fi | |
sudo apt update | |
sudo apt install -y apache2 mariadb-server mariadb-client php php-mysqli php-gd libapache2-mod-php |
#!/bin/bash | |
# Date: 14th Sep 2023 | |
# Author: Michael Gomes | |
# Use: Script to download required softwares in Linux OS | |
# Update System | |
sudo apt-get update -y | |
# install all nesscery cli applications | |
sudo apt install -y pluma htop gufw ufw timeshift git net-tools nmap |
Download and install Git for Windows from the official website: Git for Windows
During installation, you can use the default settings, but make sure to select "Use Git from the Windows Command Prompt" to make Git commands available in the Command Prompt.
After installing Git, open Git Bash (or Command Prompt) and configure it with your GitHub account details.