Category: Ubuntu
Posts in this category are specific to Ubuntu and may or may not work on Zorin OS, Raspbian, 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.
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…
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.
UNIX – SED Replace Tab with Space(s)
Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces
Ubuntu – Require Sudo Rights To Shutdown
If you are working with UNIX and you need to remove the ability for normal users to shutdown you can make this file change. This change will simply require a user with sudo access to type in their password before the machine can shutdown. There’s a couple changes I made…
Ubuntu – Send Notification To All Users
This script has only been tested on Ubuntu based OS but is possible it will work on other builds You can uses various icon options from /usr/share/icons/gnome/32×32 or /usr/share/notify-osd/icons I typically put a function like this in /opt so you will need to modify the examples below based on your…
You must be logged in to post a comment.