sandervanvugt

Untitled

Jun 26th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. [root@openstack Downloads(keystone_admin)]# history
  2. 1 yum install -y git
  3. 2 cd /var/log
  4. 3 ls -lrt
  5. 4 tail -f messages
  6. 5 cd /var/tmp/
  7. 6 ls
  8. 7 cd packstack/
  9. 8 ls
  10. 9 free -m
  11. 10 yum install -y https://rdoproject.org/repos/rdo-release.rpm
  12. 11 systemctl disable --now NetworkManager
  13. 12 systemctl disable firewalld --now
  14. 13 setenforce 0
  15. 14 vim /etc/sysconfig/selinux
  16. 15 yum install -y centos-release-openstack-train
  17. 16 yum install -y openstack-packstack openstack-utils
  18. 17 packstack --gen-answer-file /root/answers.txt
  19. 18 vim answers.txt
  20. 19 packstack --answer-file /root/answers.txt
  21. 20 vim answers.txt
  22. 21 packstack --answer-file /root/answers.txt
  23. 22 reboot
  24. 23 nmtui
  25. 24 ip a
  26. 25 history | grep pack
  27. 26 packstack --answer-file /root/answers.txt
  28. 27 ip a
  29. 28 ip netns list
  30. 29 openstack network list
  31. 30 source keystonerc_admin
  32. 31 openstack network list
  33. 32 ip netns list
  34. 33 source /home/student/Downloads/myproject-openrc.sh
  35. 34 less /home/student/Downloads/myproject-openrc.sh
  36. 35 neutron floatingip-create publicnet
  37. 36 pwd
  38. 37 ls
  39. 38 git clone https://github.com/sandervanvugt/luth
  40. 39 luth/countdown 13
  41. 40 cd /tmp
  42. 41 wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
  43. 42 ls -l
  44. 43 ls -l cirros-0.4.0-x86_64-disk.img
  45. 44 free -m
  46. 45 cd /home/student/Downloads/
  47. 46 ls
  48. 47 ssh -i mykey1.pem cirros@192.168.4.21
  49. 48 ip netns
  50. 49 ip netns exec qdhcp-c94691e3-f86b-4d6c-9b22-86a6c1abfcea ip a
  51. 50 ip netns exec qrouter-8cbabeba-130c-4749-90cb-80b277466741 ip a
  52. 51 sysctl -a | grep ip_forward
  53. 52 ip netns exec qrouter-8cbabeba-130c-4749-90cb-80b277466741 ip route show
  54. 53 ip netns exec qrouter-8cbabeba-130c-4749-90cb-80b277466741 ping 192.168.100.121
  55. 54 ls
  56. 55 ip netns exec qrouter-8cbabeba-130c-4749-90cb-80b277466741 ssh -i mykey1.pem 192.168.100.121
  57. 56 ip netns exec qrouter-8cbabeba-130c-4749-90cb-80b277466741 ssh -i mykey1.pem cirros@192.168.100.121
  58. 57 history
Add Comment
Please, Sign In to add comment