Make an OS X Yosemite Installer USB

  1. Download the latest OSX Yosemite version from the iTunes store and, if not already done, place the app inside the Applicaitons folder
  2. open Disk Utility
  3. erase your USB drive and format your drive with partition layout "1 Partition" and the GUID option.
  4. close Disk Utility
  5. open your terminal and paste following code

    sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled\ 1 --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
  6. done. reboot your machine and boot from the USB drive

 

Removing SELINUX file attributes

Another simple commande to remove SELinux file attributes which are causing sometimes trouble with different servers:

find myfolder -exec setfattr -x security.selinux {} \;

Should there be some errors about setfattr install the attr package on CentOS.