Skip to content

Instantly share code, notes, and snippets.

@ishuverma
Last active February 6, 2018 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishuverma/23d3e53eebc4b1aab411230e62e182dc to your computer and use it in GitHub Desktop.
Save ishuverma/23d3e53eebc4b1aab411230e62e182dc to your computer and use it in GitHub Desktop.
Bos-Milan
Download Openshift
https://github.com/openshift/origin/releases/tag/v3.6.1
oc cluster up with persistent storage
create dir mydata
oc cluster up --host-data-dir=mydata --use-existing-config
Install OpenShift
docker install
subscription-manager repos --enable=rhel-7-server-extras-rpms
sudo yum install docker
systemctl enable docker
systemctl start docker
yum install centos-release-openshift-origin
yum install wget git net-tools bind-utils iptables-services bridge-utils bash-completion origin-clients
Docker registry
[redhat@localhost ~]$ cat /etc/sysconfig/docker
# /etc/sysconfig/docker
# Modify these options if you want to change the way the docker daemon runs
OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false --insecure-registry 172.30.0.0/16'
if [ -z "${DOCKER_CERT_PATH}" ]; then
DOCKER_CERT_PATH=/etc/docker
fi
Disconnected install
http://cloud.sudhaker.com/
Disable SELinux
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security-enhanced_linux/sect-security-enhanced_linux-enabling_and_disabling_selinux-disabling_selinux
Configure SELINUX=disabled in the /etc/selinux/config file
$ getenforce
Show process tree
$ ps -ejH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment