Reference: https://www.raspberrypi.org/forums/viewtopic.php?t=150438
Category: Raspbian (Raspberry Pi OS)
Posts in this category are specific to Raspbian (Raspberry Pi) and may or may not work on Zorin OS, Ubuntu, and Debian or other UNIX based systems.
Ubuntu / Raspberry Pi – Install NGINX Load Balance DNS
Replace the IP addresses with your IP addresses Modify your config file to look like this When done you need to test the config You should see something like nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Reference: https://www.nginx.com/blog/load-balancing-dns-traffic-nginx-plus/
UNIX – List USB Devices With lsusb
On the Mac “lsusb -v” is rather clean in comparison to other systems.
UNIX – Start Service If Not Running
Currently this script is developed for my Raspberry Pi (Debian, Raspbian) but in time I will have it working for RHEL (Red Hat, CentOS, Fedora). In the example above I’m checking if OpenVPN is running, if it is not running it will start the service. I set this script up…
Debian/Ubuntu LAMP Setup
The following code is for Debian 9 Stretch but should work on older Debian with minor changes
UNIX – Set SSH Banner
Obviously it will be slightly different depending on your network and version but it will look something like this. Kittell.net WARNING This computer system is the property of Kittell.net. It may be accessed and used only for authorized Kittell.net business by authorized personnel. Unauthorized access or use of this computer…
UNIX – SED Replace Tab with Space(s)
Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces
Raspberry Pi – Debian – Ad Block Service
The code below will assist you in creating one or more Raspberry Pi ad block service DNS servers. Equipment List: 2 (suggested but you can do it with one) Raspberry Pi Microcomputers Raspberry Pi 3B+ (or better) are recommended (look at CanaKit (http://amzn.to/2vxgLLD)) 1 USB Keyboard and USB Mouse 1…