System & Network Admin

System & Network Admin

1967 bookmarks
Custom sorting
Bash Array – How to Declare an Array of Strings in a Bash Script
Bash Array – How to Declare an Array of Strings in a Bash Script
Bash scripts give you a convenient way to automate command line tasks. With Bash, you can do many of the same things you would do in other scripting or programming languages. You can create and use variables, execute loops, use conditional logic, and store data in arrays. While
·freecodecamp.org·
Bash Array – How to Declare an Array of Strings in a Bash Script
If Statements - Bash Scripting Tutorial
If Statements - Bash Scripting Tutorial
Bash if statements. Learn if statements, else, elif and case statements with sample scripts, detailed descriptions and challenges.
·ryanstutorials.net·
If Statements - Bash Scripting Tutorial
How to get the first element of an array in Bash
How to get the first element of an array in Bash
In this tutorial, we are going to learn about how to get the first element of an array in Bash. Consider, we have the following array. Now…
·reactgo.com·
How to get the first element of an array in Bash
Bash declare command
Bash declare command
Bash doesn't have a strong type system. To allow type-like behavior, it uses attributes that can be set by a command. ‘declare’ is a bash built-in command that allows you to update attributes applied to variables within the scope of your shell. In addition, it can be used to declare a variable in longhand. Lastly, it allows you to peek into variables.
·linuxhint.com·
Bash declare command
Creating a Bash script template
Creating a Bash script template
In the first article in this series, you created a very small, one-line Bash script
·opensource.com·
Creating a Bash script template
Custom Dynamic DNS with UniFi Dream Machine Pro
Custom Dynamic DNS with UniFi Dream Machine Pro
Journey on how UniFi Dream Machine Pro’s Dynamic DNS is setup and how to have it point to a custom Dynamic DNS provider.
·dixonwille.medium.com·
Custom Dynamic DNS with UniFi Dream Machine Pro
Let's Encrypt DNS Challenge | Lincoln Loop
Let's Encrypt DNS Challenge | Lincoln Loop
Let's Encrypt is a new certificate authority. It is a huge improvement over the manual complex process of acquiring and …
·lincolnloop.com·
Let's Encrypt DNS Challenge | Lincoln Loop
Challenge Types
Challenge Types
When you get a certificate from Let’s Encrypt, our servers validate that you control the domain names in that certificate using “challenges,” as defined by the ACME standard. Most of the time, this validation is handled automatically by your ACME client, but if you need to make some more complex configuration decisions, it’s useful to know more about them. If you’re unsure, go with your client’s defaults or with HTTP-01.
·letsencrypt.org·
Challenge Types
Automating Let's Encrypt Certificate Renewal using DNS Challenge Type
Automating Let's Encrypt Certificate Renewal using DNS Challenge Type
In the following examples, I'll show how to renew certs with domains hosted on AWS/Route53 and GoDaddy. I run certbot with scripts within a docker container (to simplify automation), however you can use CLI.
·chariotsolutions.com·
Automating Let's Encrypt Certificate Renewal using DNS Challenge Type
Trouble setting up rfc2136 - Help - Let's Encrypt Community Support
Trouble setting up rfc2136 - Help - Let's Encrypt Community Support
My domain is: https://arenlor.com/ I ran this command: certbot certonly --rsa-key-size 4096 --staple-ocsp --server 'https://acme-v02.api.letsencrypt.org/directory' --dns-rfc2136 --dns-rfc2136-credentials /etc/letsencrypt/rfc2136.ini -d arenlor.com -d '*.arenlor.com' It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator dns-rfc2136, Installer None Obtaining a new certificate Performing the following challenges: dns-01 challenge for ar...
·community.letsencrypt.org·
Trouble setting up rfc2136 - Help - Let's Encrypt Community Support
How to Add User to Sudoers in Debian
How to Add User to Sudoers in Debian
The sudoers file contains a set of rules that determines which users or groups are granted with sudo privileges as well as the level of the privileges.
·linuxize.com·
How to Add User to Sudoers in Debian
Linux mkfifo Command Tutorial for Beginners (with Examples)
Linux mkfifo Command Tutorial for Beginners (with Examples)
If youre even a moderate Linux command line user, you must be aware of pipes, a fundamental command line feature that allows processes to communicate...
·howtoforge.com·
Linux mkfifo Command Tutorial for Beginners (with Examples)
Hardening SSH
Hardening SSH
Benchmarks & Tips for Big Data, Hadoop, AWS, Google Cloud, PostgreSQL, Spark, Python & More...
·tech.marksblogg.com·
Hardening SSH
How to scan for viruses with ClamAV on Ubuntu 22.04
How to scan for viruses with ClamAV on Ubuntu 22.04
There arent many viruses made for Linux distributions and as such, most people who use such systems dont even bother using antivirus software. Those...
·howtoforge.com·
How to scan for viruses with ClamAV on Ubuntu 22.04
Rate Limiting with Nginx
Rate Limiting with Nginx
Rate Limiting With nginx. This article explains how to use the nginx HttpLimitReqModule to limit the number of requests for a given session. This is u...
·howtoforge.com·
Rate Limiting with Nginx