Remove RPM when duplicate exists


If you received the below error when trying to remove an RPM, simply run an RPM -e command with –allmatches.


[LIVE.DC1][root@livedeploy001 ~]# rpm -e ops-autodeploy-script-uk-1995.all-0.noarch --noscripts
error: "ops-autodeploy-script-uk-1995.all-0.noarch" specifies multiple packages:
ops-autodeploy-script-uk-1995.all-0.noarch
ops-autodeploy-script-uk-1995.all-0.noarch

rpm -e something.rpm --allmatches

apache redirect condition


If you have a blanket apache redirect but still want to redirect a specific folder or directory structure.

Try the below.

RewriteRule ^/different/directory/ https:/differentURLHERE/different/different [R=301,NC,L]
RewriteCond %{REQUEST_URI} !/different/different
RewriteRule ^(.*)$ http://BLANKETREDIRECT [R=301,NC,L]

Freenas Apple CIFS share


If you have a Freenas CIFS share and need to connect to a mac to your freenas to transfer a file.

You can connect to the CIFS share via the below to transfer files as a valid freenas, this was after attempting to add a AFP share which did not want to connect!

Click go and connect to server

smb://FREENASIP

Then login as a valid Freenas user.