Skip to content

Instantly share code, notes, and snippets.

View Kegn's full-sized avatar

kegan Kegn

View GitHub Profile
@Kegn
Kegn / .bashrc
Last active July 21, 2017 07:33
.bashrc
if [ -f /etc/bashrc ]; then
source /etc/bashrc
fi
export GITHOME="/home/k/development/github/"
export EDITOR=vim
export HISTCONTROL=ignoredups
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\[$(tput setaf 7)\]\u\[$(tput setaf 6)\]@\[$(tput setaf 5)\]\h \[$(tput setaf 6)\]\W\[$(tput setaf 2)\]]\[$(tput setaf 6)\]\\$ \[$(tput setaf 7)\]"
# colored man pages
@Kegn
Kegn / kvm-support.info
Created May 31, 2017 07:28
check your hardware for kvm compatibility
[k@arx ~]$ #check cpu for virtualization support, virtual router, support vector machine
[k@arx ~]$ egrep --color=auto 'vmx|svm|0xc0f' /proc/cpuinfo
<long output...>
[k@arx ~]$ #check that kernel kvm modules are available (m or y)
[k@arx ~]$ zgrep CONFIG_KVM /proc/config.gz
CONFIG_KVM_GUEST=y
# CONFIG_KVM_DEBUG_FS is not set
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y