Last active
August 3, 2021 22:37
-
-
Save yonderbread/18ac5742d7be09954ad0e8e1313c7a2a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y apt-transport-https | |
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add - && sudo apt update && sudo apt install linux-xanmod-lts -y | |
sudo apt install -y neofetch tmux screen nmap cmake make ninja fail2ban python-is-python3 python3-pip python3-venv htop neovim build-essential git | |
sh -c "$(curl -fsSL https://starship.rs/install.sh)" | |
echo 'eval "$(starship init bash)"' >> ~/.bashrc | |
source ~/.bashrc | |
# Install docker | |
sudo apt-get remove docker docker.io containerd runc -y | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo \ | |
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt update | |
sudo apt install -y docker docker-ce docker-ce-cli containerd.io | |
sudo systemctl enable docker | |
sudo systemctl start docker | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
sudo docker-compose --version | |
sudo apt install -y default-jre openjdk-11-jre openjdk-16-jre openjdk-8-jre |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment