Category: 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…

  • 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…

  • Setting an static IP address in RHEL (the old way)

    In RHEL8, you use NetworkManager or NMCLI to configure the networking, but in RHEL7 and before, you had to do it a different way. In this post I show you which files you need to configure to be able set a static IP in REHL7.

  • 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: {…

  • 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 |…

  • Mount and ISO in FreeBSD or FreeNAS

    How to mount a ISO in FreeBSD/NAS: mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt

  • 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…

  • Find out more about Ansible

    https://www.ansible.com/resources/get-started

  • Crontab explained

  • What does the number in parentheses mean in manpages

    It’s the section that the man page for the command is assigned to. # man 1 man # man 3 find or # man -s 1 man depending on your OS