Category Archives: UNIX

Manually importing a FreeNAS Jail

I just had this same issue today and came across your post. The reason mine crashed was because the plugin i was importing was huge (about 10GB in size). –What i ended up having to do was manually create a dataset. Im using plex as an example. zfs create zpool/iocage/jails/Plex or use the GUI –Then… Read More »

Hard Drive Burn-in Testing

Hard Drive Burn-in Testing THIS TEST WILL DESTROY ANY DATA ON THE DISK SO ONLY RUN THIS ON A NEW DISK WITHOUT DATA ON IT OR BACK UP ANY DATA FIRST 1) Run a short test # smartctl -t short /dev/sdb 2) Run a conveyance test ??? # smartctl -t conveyance /dev/sdb 3) Run a… Read More »

Installing software into a FreeNAS jail

Go to Jails On the right side of the page click the triple dots next to the Plex jail and select Shell type “whoami” and make sure the response is root (if not use su – or sudo) type vi /usr/local/etc/pkg/repos/FreeBSD.conf and press enter If the file exists, look for a line with “FreeBSD: {… Read More »

How to set a static IP address in RHEL8

How to set a static IP address in RHEL8 # get the current connection name [root@localhost ~]# nmcli con show NAME UUID TYPE DEVICE ens160 6b0e7866-7d4f-4668-afbf-a485f9a1e6db ethernet ens160 # Note the NAME of the connection # To see what IP, gateway and DNS you are currently using do [root@localhost ~]# nmcli con show ens160 |… Read More »

Installing Visual Studio Code on RHEL

RHEL, Fedora, and CentOS based distributions We currently ship the stable 64-bit VS Code in a yum repository, the following script will install the key and repository: sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c ‘echo -e “[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc” > /etc/yum.repos.d/vscode.repo’ Then update the package cache and install the package using dnf (Fedora 22 and… Read More »