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
sudo apt-get update | |
sudo apt-get install 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=$(dpkg --print-architecture) 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-get update | |
sudo apt-get install docker-ce docker-ce-cli containerd.io | |
sudo usermod -aG docker $USER | |
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 |
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 | |
# Install Docker Ubuntu | |
# Ubuntu 20.04.2 LTS (Focal Fossa) | |
# Author : Lucho | Just Me | |
# Linkedin : https://www.linkedin.com/in/luis-octavio-mota-verdasco-sys-admin/ | |
banner(){ | |
# Banner | |
echo " " | |
echo " ____ __ ____ __ ____ " |
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 | |
# Save this script to anywhere in `$PATH`, but ideally as `/usr/local/bin/clipcrypt` | |
# Grant read/execute permissions `chmod 755 /usr/local/bin/clipcrypt` | |
# Optionally, make root the owner `sudo chown root:root /usr/local/bin/clipcrypt` | |
xclip -selection clipboard -o | gpg -d | xclip -selection clipboard |