Advertisement
sandervanvugt

Untitled

Apr 12th, 2021
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. userdel -f ansilbe
  2. 2 sudo userdel -f ansilbe
  3. 3 sudo yum install -y git vim bash-completion
  4. 4 git clone https://github.com/sandervanvugt/rhce8-live
  5. 5 git clone https://github.com/sandervanvugt/rhce8-book
  6. 6 git clone https://github.com/sandervanvugt/rhce8
  7. 7 cd rhce8
  8. 8 ls
  9. 9 cd ..
  10. 10 history
  11. 11 ip a
  12. 12 sudo vim /etc/hosts
  13. 13 ping control
  14. 14 ping ansible1
  15. 15 ping ansible2
  16. 16 sudo yum install -y epel-release
  17. 17 sudo yum install -y ansible
  18. 18 ansible --version
  19. 19 id
  20. 20 sudo visudo
  21. 21 ssh ansible1
  22. 22 ssh root@ansible1
  23. 23 ssh root@ansible2
  24. 24 sudo vim /etc/hosts
  25. 25 rm .ssh/known_hosts
  26. 26 ssh-keygen
  27. 27 ssh-copy-id ansible1
  28. 28 ssh-copy-id ansible2
  29. 29 ssh ansible1 ls /root
  30. 30 ssh ansible1
  31. 31 ssh ansible2
  32. 32 history
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement