Advertisement
Guest User

gecko01

a guest
Jun 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. 1 yum
  2. 2 vi /etc/selinux/config
  3. 3 more /etc/selinux/config
  4. 4 vi /etc/selinux/config
  5. 5 reboot
  6. 6 yum update
  7. 7 yum install net-tools vim bash-completion wget curl lsof
  8. 8 reboot
  9. 9 vi /etc/sysctl.d/disable-ipv6.conf
  10. 10 sysctl -p
  11. 11 vi /etc/hosts
  12. 12 vi /etc/ssh/sshd_config
  13. 13 systemctl restart sshd.service
  14. 14 history
  15. 15 history > H180620_2031.txt
  16. 16 vi /etc/postfix/main.cf
  17. 17 nmtui
  18. 18 netstat -tulp
  19. 19 reboot
  20. 20 cd /usr/local/src/
  21. 21 ./VBoxLinuxAdditions.run
  22. 22 umount /media
  23. 23 more ./VBoxLinuxAdditions.run
  24. 24 reboot
  25. 25 history
  26. 26 yum install epel-release
  27. 27 yum update
  28. 28 yum install gcc dkms make kernel-devel kernel-geaders bzip2
  29. 29 history
  30. 30 cd /usr/local/src/
  31. 31 ./VBoxLinuxAdditions.run
  32. 32 reboot
  33. 33 yum update
  34. 34 vi /etc/sysconfig/selinux
  35. 35 systemctl get-default
  36. 36 yum groupinstall "X Window system"
  37. 37 yum groupinstall "MATE Desktop"
  38. 38 rpm -Va --nofiles --nodigest
  39. 39 yum groupinstall "MATE Desktop" --skip-broken
  40. 40 rpm -Va --nofiles --nodigest
  41. 41 history > H180620_2129.txt
  42. 42 history
  43. 43 reboot
  44. 44 yum install yumex
  45. 45 cd /opt/
  46. 46 wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept
  47. -securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-
  48. x64.tar.gz"
  49. 47 history > ~/H180620_2139.txt
  50. 48 tar xzf jdk-8u171-linux-x64.tar.gz
  51. 49 cd /opt/jdk1.8.0_171/
  52. 50 alternatives --install /usr/bin/java java /opt/jdk1.8.0_171/bin/java 2
  53. 51 alternatives --config java
  54. 52 alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_171/bin/jar 2
  55. 53 alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_171/bin/javac 2
  56. 54 alternatives --set jar /opt/jdk1.8.0_171/bin/jar
  57. 55 alternatives --set javac /opt/jdk1.8.0_171/bin/javac
  58. 56 java -version
  59. 57 export JAVA_HOME=/opt/jdk1.8.0_171
  60. 58 export JRE_HOME=/opt/jdk1.8.0_171/jre
  61. 59 export PATH=$PATH:/opt/jdk1.8.0_171/bin:/opt/jdk1.8.0_171/jre/bin
  62. 60 history > ~/H180620_2146.txt
  63. 61 yum update
  64. 62 history
  65. 63 history > ~/H180621_1135.txt
  66. 64 cd /tmp
  67. 65 rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
  68. 66 cd /etc/yum.repos.d/
  69. 67 vi elasticsearch.repo
  70. 68 yum install elasticsearch
  71. 69 yum install -y kibana
  72. 70 yum install -y logstash
  73. 71 sudo service elasticsearch restart
  74. 72 curl http://127.0.0.1:9200/
  75. 73 service elasticsearch restart
  76. 74 curl http://127.0.0.1:9200/
  77. 75 history > ~/H180621_1139.txt
  78. 76 curl 'http://127.0.0.1:9200/?pretty'
  79. 77 history > ~/H180621_1140.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement