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