-
-
Code | Debian | DNS | Raspberry Pi | Raspbian (Raspberry Pi OS) | Ubuntu | UNIX | UNIX Shell Scripts | Zorin OS
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/
-
-
CentOS | Code | Debian | Fedora | macOS | macOS Shell | Raspberry Pi | Raspbian (Raspberry Pi OS) | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts | Zorin OS
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 as CheckOpenVPN.sh in my /opt…
-
Code | Debian | MySQL | PHP | Raspbian (Raspberry Pi OS) | SQL | Ubuntu | UNIX | UNIX Shell Scripts | Zorin OS
Debian/Ubuntu LAMP Setup
The following code is for Debian 9 Stretch but should work on older Debian with minor changes
-
Code | Fonts | macOS | macOS Shell | UNIX | UNIX Shell Scripts
Mac OSX Terminal – Rename TTF/OTF Fonts
If you have ever received a list of fonts from a client where the font names didn’t make sense this code below will help. Caution: Backup your fonts directory just in case.
-
CentOS | Code | Debian | Fedora | Raspberry Pi | Raspbian (Raspberry Pi OS) | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts | Zorin OS
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 system may subject violators to…
-
Code | OpenSSL | SSL | UNIX | UNIX Shell Scripts
OpenSSL – Decode/Read CSR
Sometimes you when a SSL CSR isn’t named properly you need to get the details of it, the code below will help. Note: Depending on version and OS the placement numbers (-f5 for example) may be slightly off. Once you have created the shell script call to it with the code below. Note: the file…
-
Code | Ubuntu | UNIX | UNIX Shell Scripts
Ubuntu – Remove Preloaded Applications
Installing Ubuntu for a server OS? The code below will remove some of the preloaded applications that are needed on a server. Arguably you could remove Gnome in general and all Gtk but that depends on how you want to run your server.