Installing Wordpress on a FreeNAS Jail

After creating a basic jail do this: Step 1 Configue the the Jail to Use SSH Step 2 - Setup Apache, MySQL and PHP - NOTE: Make changes for your version of PHP with minor changes from Step 3 - install workpress

Remapping the delete key on MacOS High Sierra

To change the Delete key actually delete rather than backspace, run this command: $ hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x70000004C,"HIDKeyboardModifierMappingDst":0x70000002A},{"HIDKeyboardModifierMappingSrc":0x70000002A,"HIDKeyboardModifierMappingDst":0x70000004C}]}' to change it back again, run this command: $ hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x70000002A,"HIDKeyboardModifierMappingDst":0x70000002A},{"HIDKeyboardModifierMappingSrc":0x70000002A,"HIDKeyboardModifierMappingDst":0x70000002A}]}'

My notes on how to use git

1) create a local git repo $ git init 1.5) Save username and password for github $ git config credential.helper store $ git push Username: <type your username> Password: <type your password> 2) Add all the files in the currect folder $ git add * 3) Commit the files/changes $ git commit -m "first commit" 4) Add the remote repo $ git remote add github https://github-url 5) Push the local repo to the remote repo $ git push --set-upstream github master After adding files f

Cool additions to the Gnome Desktop

Go to and install the browser extension. Use firefox, not chrome, chrome goes haywire when you install the browser extension Then look for the following extensions and install them.
  • Dash to Panel Arc Menu
see original article here:

Find and replace text within a file using sed

Find and replace text within a file using sed

The procedure to change the text in files under Linux/Unix using sed:
  1. Use Stream EDitor (sed) as follows:
  2. sed -i 's/old-text/new-text/g' input.txt
  3. The s is the substitute command of sed for find and replace
  4. It tells sed to find all occurrences of ‘old-text’ and replace with ‘new-text’ in a file named input.txt
  5. Verify that file has been updated:
  6. more input.txt

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 unzip the file that you got from your export. I unzipped it to the iocage/images folder.

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 long test # smartctl -t long /dev/sdb 4) Run badblocks # badblocks -ws /dev/sdb

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer