Professional Documents
Culture Documents
How To Install Openshift On A Laptop or Desktop
How To Install Openshift On A Laptop or Desktop
[root@sno ~]# ls
crc-linux-2.5.1-amd64/
crc-linux-2.5.1-amd64/LICENSE
crc-linux-2.5.1-amd64/crc
[root@sno ~]# ls
[victor@sno ~]$
CRC is constantly improving and we would like to know more about usage (more
details at https://developers.redhat.com/article/tool-data-collection)
............................
INFO Using bundle path /home/victor/.crc/cache/crc_libvirt_4.10.18_amd64.crcbundle
INFO Checking if running as non-root
...............................
INFO Getting bundle for the CRC executable
INFO Downloading crc_libvirt_4.10.18_amd64.crcbundle
3.13 GiB / 3.13 GiB [----------------------------------------------------] 100.00%
...............................
Your system is correctly setup for using CRC. Use 'crc start' to start the
instance
Log in as administrator:
Username: kubeadmin
Password: W37tT-ziN3T-eE6VP-q6Yt9
Log in as user:
Username: developer
Password: developer
[victor@sno ~]$ oc
export PATH="/home/victor/.crc/bin/oc:$PATH"
# Run this command to configure your shell:
# eval $(crc oc-env)
OpenShift Client
This client helps you develop, build, deploy, and run your applications on any
OpenShift or Kubernetes cluster. It also includes the administrative
commands for managing a cluster under the 'adm' subcommand.
To familiarize yourself with OpenShift, login to your cluster and try creating a
sample application:
oc login mycluster.mycompany.com
oc new-project my-example
oc new-app django-psql-example
oc logs -f bc/django-psql-example
.............................
Login successful.
You have access to 64 projects, the list has been suppressed. You can list all
projects with 'oc projects'
You don't have any projects. You can try to create a new project, by running
oc new-project <projectname>
POST COMMENT