Centos oneliners

##How to disable SELinux

echo 0 >/selinux/enforce; sed -ri 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux

remove graphic boot in centos

sed -i "s/rhgb quiet//g" /boot/grub/grub.conf