-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathopenshift-istio-kiali
68 lines (68 loc) · 2.38 KB
/
openshift-istio-kiali
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
1 yum update -y
2 reboot
3 top
4 hostname
5 ssh-keygen
6 hostname
7 ssh-copy-id Abuse from 103.93.55.185
8 ssh-copy-id openshift-istio-kiali.novalocal
9 ssh openshift-istio-kiali.novalocal
10 vim ~/.ssh/authorized_keys
11 vi ~/.ssh/authorized_keys
12 cat ~/.ssh/id_rsa.pub
13 vi ~/.ssh/authorized_keys
14 ssh openshift-istio-kiali.novalocal
15 yum install wget git net-tools bind-utils yum-utils iptables-services bridge-utils bash-completion kexec-tools sos psacct
16 yum update
17 yum install atomic
18 yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
19 sed -i -e "s/^enabled=1/enabled=0/" /etc/yum.repos.d/epel.repo
20 yum -y --enablerepo=epel install ansible pyOpenSSL
21 git clone https://github.com/openshift/openshift-ansible
22 cd openshift-ansible
23 git checkout release-3.11
24 yum install docker-1.13.1
25 rpm -V docker-1.13.1
26 docker version
27 dmesg
28 getenforce
29 setenforce 0
30 vi /etc/sysconfig/selinux
31 getenforce
32 dmesg
33 lsblk
34 yum install vim
35 vim /etc/sysconfig/docker-storage-setup,
36 vim /etc/sysconfig/docker-storage-setup
37 lsblk
38 vim /etc/sysconfig/docker-storage-setup
39 docker-storage-setup
40 vgs
41 lvs
42 pvs
43 lsblk
44 cat /etc/sysconfig/docker-storage
45 systemctl enable docker
46 systemctl start docker
47 systemctl is-active docker
48 yum install atomic
49 atomic trust show
50 atomic trust add --type insecureAcceptAnything 172.30.1.1:5000
51 atomic trust add --sigstoretype atomic --pubkeys [email protected] 172.30.1.1:5000/production
52 ls -lh /var/lib/docker/containers/
53 vim /etc/ansible/hosts
54 hostname
55 vim /etc/ansible/hosts
56 pwd
57 cd /usr/share/ansible/openshift-ansible
58 ls
59 yum search openshift-ansible
60 ansible-playbook -i /etc/ansible/hosts playbooks/prerequisites.yml
61 yum -y install NetworkManager
62 systemctl show NetworkManager | grep ActiveState
63 systemctl enable NetworkManager
64 systemctl show NetworkManager | grep ActiveState
65 systemctl start NetworkManager
66 systemctl show NetworkManager | grep ActiveState
67 ansible-playbook -i /etc/ansible/hosts playbooks/prerequisites.yml
68 history