itsjustbytes
itsjustbytes
Its Just Bytes
51 posts
Somethings are useful, others maybe not so much.
Don't wanna be here? Send us removal request.
itsjustbytes · 2 years ago
Text
Backup Scripts for Linux
Sending out a couple of scripts for backing up entire disks and files for Linux. We are currently backing up to a ZFS Appliance share since we don’t have enough ports for a backup network. Each of these scripts will do a count of existing backup files and remove anything older. dd_backup.sh #/bin/bash source="sda" dest="/zfssa/os_backup" backup="`uname -n |awk -F. '{print…
View On WordPress
0 notes
itsjustbytes · 2 years ago
Text
Ethtool Check for Interfaces
Check specs of interfaces with ethtool for i in `ip link show|awk '{print $2}'|awk -F: '{print $1}'|grep en` do ethtool $i echo "" done|more
View On WordPress
0 notes
itsjustbytes · 2 years ago
Text
SSHD Security Fix
This restricts access for certain types of MACs, KexAlgorithms & Ciphers for sshd_config cat >>/etc/ssh/sshd_config <<EOF Ciphers aes128-ctr,aes192-ctr,aes256-ctr MACs hmac-ripemd160,hmac-sha2-256,hmac-sha2-512 KexAlgorithms…
View On WordPress
0 notes
itsjustbytes · 2 years ago
Text
Core Count: Multiple OS'es
Script NameWhat it does?core_count.shChecks Solaris, Linux, AIX and macOS for CPU Core/Thread Counts #!/bin/sh # #This script is used to count the number of cores for the following OS platforms: AIX, Linux, Solaris, Mac OS X # # Author: Andy Dishong # Modified: Linux type, 022020 # ## Set varibles host=`uname -n` os=`uname -s` ##Validate root or root access # Check to see if running…
View On WordPress
0 notes
itsjustbytes · 2 years ago
Text
ORA-27301: OS failure message: No space left on device
We ran into this error on our Exadata x8m. Oracle had installed it but only the minimum for /dev/shm mount, why I don’t know. Typically a form with all of the information needed to specify load and such is completed so this doesn’t happen. Anyway its an easy fix. Since /dev/shm is mounted as a tmpfs we can just remount it: Error ORA-27301: OS failure message: No space left on device The…
View On WordPress
0 notes
itsjustbytes · 2 years ago
Text
Exadata X8M: Updating KSplice
There are several bugs that ksplice patches fix in Exadata. In our case it was a login issue. It would not allow you to ssh or login via serial console, not good. We installed the ksplice patch on all the nodes per Oracle. Although it is documented it is across a couple links so here is what I had to do: Checking for a specific fix In my case I cam looking for a specific bug that is related to…
View On WordPress
0 notes
itsjustbytes · 3 years ago
Text
Updated: Home Network
Consolidating into Ubiquiti equipment. The latest addition is Unifi Talk and in the process of getting number ported. Devices Topology
Tumblr media
View On WordPress
0 notes
itsjustbytes · 3 years ago
Text
Grafana: Ingest MacOS data
Grafana: Ingest MacOS data
I have installed and tested this on Monterey Beta 12.3 & Catalina 10.15.7. The default configuration only shows: CPU Usage, Load Average and Network Traffic. I am sure there is a way to extend this, but I will post that later when I have time. Install and configure node_exporter # Install node_exporter $ brew install node_exporter # Start node_exporter and make it persistent $ sudo cp -n…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 3 years ago
Text
Grafana/Prometheus/Loki: Linux Install
Having a home lab is great but being able to monitor everything is even better. In this example I am setting up Grafana, Prometheus, Loki, Promtail and Node_Exporter on a monitoring server and Promtail, Node_Exporter on a client. My Grafana server is running OEL 8.5 which is essentially Red Hat 8.x. Components Minisrv1 – i5 CPU, 8GB Mem, 64GB flash – Grafana Server Minisrv2 – Celeron CPU, 4GB…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 3 years ago
Text
Disable NetworkManager for OEL 7/8
Disable NetworkManager for OEL 7/8
Disabling NetworkManager The following steps will disable NetworkManager service and allows the interface to be managed only by network service. 1. To check which are the interfaces managed by NetworkManager # nmcli device status This displays a table that lists all network interfaces along with their STATE. If Network Manager is not controlling an interface, its STATE will be listed…
View On WordPress
0 notes
itsjustbytes · 4 years ago
Text
How to delete a permission denied file
How to delete a permission denied file
I had a folder in Monterey Beta 12 that I could not delete, but this can happen any any macOS version. What happens from time to time is when trashing apps or doing updates a file will still be locked or linked to the original path or filename. This happened to me recently when I updated X11 on my Mac Mini M1. I tired the normal way of removing files but nothing would work. Here are some of what…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 4 years ago
Text
Setup vSphere 7.x (ESXi) for Persistent Serial Port
Setup vSphere 7.x (ESXi) for Persistent Serial Port
There are a couple ways to do this the first is what VMware provides in the Install Guide. The second is something I have been doing since the 5/6 days of ESXi. It requires a SSH session to be enabled which you can do within the web manager under Host->Actions->Services->Enable SSH. First Method: Use vCenter Assuming you have vCenter you can enable this within the host configuration, see…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 4 years ago
Text
GParted Live: Boot over PXE & NFS
GParted Live: Boot over PXE & NFS
Booting GParted over the network may not only be necessary from time to time but really useful. In this post I will show a method of accomplishing this over an NFS share. I did search google like anyone else and what I found was http based for the most part. There were a couple threads about doing the same thing over NFS but the options did not all work for me. Below is what I did to get it to…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 4 years ago
Text
Pi-4 Model B: Setup LCD display
Pi-4 Model B: Setup LCD display
I purchased a Raspberry Pi 4 Rack Mount with OLED Monitor from UCTRONICS. It worked fine with Raspberry PI OS per the instructions provided with no issues, however I am setting up this as a cluster to use Kubernetes and wanted to leverage Ubuntu PI Linux. The information provided from UCTRONICS was only for the PI OS so I had to do a few things to get the display to work properly. First…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 4 years ago
Text
Netdata: Install on Synology?
Netdata: Install on Synology?
Yes you can install Netdata on your Synology as long as its AMD architecture, so no ARM! Download Install Script I have a DS1621+ which is AMD architecture so the static binary will be the one to be installed: 64-bit static installer Change to non-root (Optional) When Netdata is first installed, it will run as root. This may or may not be acceptable for you, and since other installations run…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 4 years ago
Text
Home Lab: Redo
In the beginning there was a lab… This my makeshift lab before I got my 42u rack in. In this version I have used a steel rack I believe I got at Lowes. It worked well for years but wanted something more accessible and take up less room. It all came to a head when I started changing over my network to Ubiquiti UniFi from Linksys Velop. I wanted something more reliable the Velop had been nothing…
Tumblr media
View On WordPress
0 notes
itsjustbytes · 4 years ago
Text
More Geekbench Benchmarks
I have published some more benchmarks for my new M1 MacMini and my new Dell R440 that I currently am using in my home lab. GeekBench with is a great tool for gauging performance. These are not SPEC benchmarks they have their own criteria but they are a great resource and several large organizations use them. Go here to see updated results: https://browser.geekbench.com/user/roadglide03
Tumblr media
View On WordPress
0 notes