<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Local usage on OpenShift Basics Training</title><link>/setup/local-usage/</link><description>Recent content in Local usage on OpenShift Basics Training</description><generator>Hugo</generator><language>en</language><atom:link href="/setup/local-usage/index.xml" rel="self" type="application/rss+xml"/><item><title>Console login</title><link>/setup/local-usage/console-login/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/setup/local-usage/console-login/</guid><description>&lt;h2 id="task-221-login-on-the-web-console">Task 2.2.1: Login on the web console&lt;/h2>
&lt;p>First of all, open your browser.
Then, log in on OpenShift&amp;rsquo;s web console using the URL and credentials provided by your trainer.&lt;/p>
&lt;h2 id="task-222-login-on-the-command-line">Task 2.2.2: Login on the command line&lt;/h2>
&lt;p>In order to log in on the command line, copy the login command from the web console.&lt;/p>
&lt;p>To do that, open the Web Console and click on your username that you see at the top right, then choose &lt;strong>Copy Login Command&lt;/strong>.&lt;/p></description></item><item><title>Verification</title><link>/setup/local-usage/verification/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/setup/local-usage/verification/</guid><description>&lt;h2 id="verify-the-installation">Verify the installation&lt;/h2>
&lt;p>You should now be able to execute &lt;code>oc&lt;/code> in the command prompt. To test, execute:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>oc version
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You should now see something like (the version number may vary):&lt;/p>
&lt;pre tabindex="0">&lt;code>Client Version: version.Info{Major:&amp;#34;1&amp;#34;, Minor:&amp;#34;18&amp;#34;, GitVersion:&amp;#34;v1.18.0&amp;#34;, GitCommit:&amp;#34;9e991415386e4cf155a24b1da15becaa390438d8&amp;#34;, GitTreeState:&amp;#34;clean&amp;#34;, BuildDate:&amp;#34;2020-03-25T14:58:59Z&amp;#34;, GoVersion:&amp;#34;go1.13.8&amp;#34;, Compiler:&amp;#34;gc&amp;#34;, Platform:&amp;#34;linux/amd64&amp;#34;}
...
&lt;/code>&lt;/pre>&lt;p>If you don&amp;rsquo;t see a similar output, possibly there are issues with the &lt;code>PATH&lt;/code> variable.&lt;/p>


&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Warning&lt;/h4>

Make sure to use at least version 1.16.x for your &lt;code>kubectl&lt;/code>

&lt;/div>

&lt;h2 id="first-steps-with-oc">First steps with oc&lt;/h2>
&lt;p>The &lt;code>oc&lt;/code> binary has many subcommands. Invoke &lt;code>oc --help&lt;/code> (or simply &lt;code>-h&lt;/code>) to get a list of all subcommands; &lt;code>oc &amp;lt;subcommand&amp;gt; --help&lt;/code> gives you detailed help about a subcommand.&lt;/p></description></item></channel></rss>