This file contains 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
**1\. Hardcode DNS server in docker daemon.json** | |
* Edit `/etc/docker/daemon.json` | |
{ | |
"dns": ["10.1.2.3", "8.8.8.8"] | |
} | |
* Restart the docker daemon for those changes to take effect: | |
`sudo systemctl restart docker` |
This file contains 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/sh | |
apt install gnome-panel \ | |
gnome-settings-daemon \ | |
metacity \ | |
nautilus \ | |
gnome-terminal -y | |
apt install tigervnc-standalone-server \ | |
tigervnc-xorg-extension \ | |
tigervnc-viewer -y |
This file contains 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
https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-6.19.325-Linux-x64.deb | |
#!/bin/sh | |
# Go to home directory | |
cd ~ | |
# https://stackoverflow.com/questions/22510705/get-the-latest-download-link-programmatically | |
# Determine latest version: | |
latestVer=$(curl 'https://www.realvnc.com/download/file/viewer.files/' | |
This file contains 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/sh | |
LIST_OF_APPS="vim tightvncserver gparted snapd" #xfce4 xfce4-goodies | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y $LIST_OF_APPS | |
# chromium-browser https://chromium.woolyss.com/ | |
sudo add-apt-repository ppa:canonical-chromium-builds/stage |
This file contains 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/sh | |
# Go to home directory | |
cd ~ | |
# https://stackoverflow.com/questions/22510705/get-the-latest-download-link-programmatically | |
# Determine latest version: | |
latestVer=$(curl 'https://repo.anaconda.com/archive/' | | |
grep -oP 'href="Anaconda3-\K[0-9]+\.[0-9]+' | | |
sort -t. -rn -k1,1 -k2,2 | head -1) |
NewerOlder