Advertisement
Guest User

Untitled

a guest
Nov 1st, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Hostname node.local #make sure to use a .domain name
  2. systemctl disable NetworkManager
  3. systemctl stop NetworkManager
  4. vi /etc/selinux/config #set to disabled
  5. vi /etc/sysconfig/network-scripts/ifcfg-eth1
  6. systemctl disable firewalld
  7. systemctl stop firewalld
  8. reboot
  9. yum install -y epel-release
  10. yum install -y python-devel libffi-devel openssl-devel gcc git python-pip net-tools ntp
  11. systemctl enable ntpd.service
  12. systemctl start ntpd.service
  13. curl -sSL https://get.docker.io | bash
  14. sudo usermod -aG docker root
  15. mkdir -p /etc/systemd/system/docker.service.d
  16. tee /etc/systemd/system/docker.service.d/kolla.conf <<-'EOF'
  17. [Service]
  18. MountFlags=shared
  19. EOF
  20. systemctl daemon-reload
  21. systemctl restart docker
  22. systemctl enable docker
  23. sudo pip install -U pip
  24. pip install -U docker-py
  25. mkdir -p /etc/docker/certs.d/deployer.local:4000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement