Please note - you may want to validate whether the options used affect your setup.
Create a new service file.
nano /etc/systemd/system/disable-offloading.service
| #!/bin/bash | |
| # options: | |
| # remove stopped containers and untagged images | |
| # $ dkcleanup | |
| # remove all stopped|running containers and untagged images | |
| # $ dkcleanup --reset | |
| # remove containers|images|tags matching {repository|image|repository\image|tag|image:tag} | |
| # pattern and untagged images | |
| # $ dkcleanup --purge {image} |
| #!/bin/bash | |
| ######################################### | |
| # Source: https://peekread.info/tech/20190716-ssh-login-notifications-with-gotify/ | |
| # | |
| # file path: | |
| # /usr/local/bin/ssh-gotify-notif | |
| ############################################################### | |
| # | |
| # Run the command to make it executable | |
| # #chmod +x /usr/local/bin/ssh-gotify-notif |
| Either via | |
| $ docker run --dns 10.0.0.2 busybox nslookup google.com | |
| or edit your /etc/docker/daemon.json to have something like: | |
| { | |
| "dns": ["10.0.0.2", "8.8.8.8"] | |
| } | |
| then restart docker service |
There are several common ways to do rsync backups of hosts over ssh:
Here is another option t
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com, example2.com, and example1.com/images on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| #!/bin/bash | |
| # Usage: | |
| # | |
| # ssl_setup [--self] <name> <csr_config> | |
| # | |
| # This script is used to generate key and CSR for use HTTPS in Nginx. | |
| # | |
| # --self Generate self-signed certificate in addition to key and CSR. | |
| # name Output files will be named as <name>.key and <name>.csr. |