Created
February 28, 2019 05:51
-
-
Save sub-mod/0ef7624a323e3fe5b5b14f59ec6faf6a to your computer and use it in GitHub Desktop.
centos7_okd311
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set root password if not set | |
sudo passwd | |
sudo yum update -y | |
sudo vi /etc/ssh/sshd_config | |
Make sure below 2 lines exists with yes | |
PermitEmptyPasswords yes | |
PasswordAuthentication yes | |
sudo systemctl restart sshd | |
ssh root@localhost | |
# check if you can login | |
root># ssh root@localhost | |
Last login: Thu Feb 28 04:01:32 2019 | |
[root@instance-1 ~]# | |
yum -y install centos-release-openshift-origin311 epel-release docker git vim pyOpenSSL openssh-server openshift-ansible -y | |
git clone https://github.com/gshipley/installcentos.git | |
[root@instance-1 installcentos]# ./install-openshift.sh | |
Domain to use: (34.33.333.19.nip.io): | |
Username: (root): origin2 | |
Password: (password): | |
OpenShift Version: (3.11): | |
IP: (10.333.0.3): | |
API Port: (8443): | |
Do you wish to enable HTTPS with Let's Encrypt? | |
Warnings: | |
Let's Encrypt only works if the IP is using publicly accessible IP and custom certificates. | |
This feature doesn't work with OpenShift CLI for now. | |
1) Yes | |
2) No | |
#? 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment