Skip to content

Instantly share code, notes, and snippets.

@kuchibs
kuchibs / InstallVirtualBox.md
Last active January 19, 2018 15:10
Install Virtualbox on CentOS7.x - vbox-install.log: Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.

Install virtual box

Linux CENTOS: vbox-install.log: Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again.

    yum install epel-release -y
    uname -a
    cd /usr/src/kernels/

Here, initially, there will be nothing. Now install kernel of same number yum install kernel-devel – this will give closest one Again check cd /usr/src/kernels/

@kuchibs
kuchibs / OpenshiftOrigin.md
Last active September 11, 2019 09:11
Use Ansible to install Openshift Origin (oc) single node cluster on number of machines!

Install OpenShift Origin on one node (CENTOS) - commands:

1) Install docker

yum install docker -y 
systemctl start docker

Note:

echo "INSECURE_REGISTRY='--insecure-registry 172.30.0.0/16'" >> /etc/sysconfig/docker
systemctl enable docker
@kuchibs
kuchibs / vagrant-cheat-sheet.md
Last active January 10, 2018 05:21 — forked from wpscholar/vagrant-cheat-sheet.md
Vagrant Cheat Sheet