<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Coreos for beginners Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/coreos-for-beginners/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 15 Feb 2019 14:51:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Coreos : Your first step to docker and Kubernetes</title>
		<link>https://www.osradar.com/coreos-your-first-step-to-docker-and-kubernetes/</link>
					<comments>https://www.osradar.com/coreos-your-first-step-to-docker-and-kubernetes/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Fri, 15 Feb 2019 14:46:05 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Coreos for beginners]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10846</guid>

					<description><![CDATA[<p>The Coreos is the best Container operating system, using the Docker technology and that has been programmed to support ware-house scale massive server deployments.CoreOS offers several products in addition to Container Linux, including the Rkt container engine and a commercial enterprise version of Kubernetes named Tectonic. While Container Linux is open source, CoreOS sells support [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/coreos-your-first-step-to-docker-and-kubernetes/">Coreos : Your first step to docker and Kubernetes</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The Coreos is the best Container operating system, using the Docker technology and that has been programmed to support ware-house scale massive server deployments.CoreOS offers several products in addition to Container Linux, including the Rkt container engine and a commercial enterprise version of Kubernetes named Tectonic. While Container Linux is open source, CoreOS sells support for the OS. on January 2018 Redhat announced that it has signed a definitive agreement to acquire CoreOS, Inc., an innovator and leader in Kubernetes and container-native solutions, for a purchase price of $250 million,</p>
<p>i will show you in this tutorial to start using  Coreos in your virtual box.</p>
<h3>Coreos : Your first step to docker and KubernetesYour first step to docker and Kubernetes</h3>
<h3><strong>Post Instalation</strong></h3>
<p>from the Client Server  (Windows/Linux) , Try to  generate ssh  pub-key</p>
<p>im running  Opensuse15</p>
<pre class=" language-none">#<code class=" language-none">ssh-keygen</code></pre>
<p><img loading="lazy" class="alignnone size-full wp-image-10881" src="https://www.osradar.com/wp-content/uploads/2019/02/coreos22.png" alt="" width="689" height="376" srcset="https://www.osradar.com/wp-content/uploads/2019/02/coreos22.png 689w, https://www.osradar.com/wp-content/uploads/2019/02/coreos22-300x164.png 300w" sizes="(max-width: 689px) 100vw, 689px" /></p>
<p>Please save this key, You will use later on Coreos Configuration file.</p>
<p><strong>Boot Coreos in Virtual box or Vmware</strong></p>
<p>you are expecting to see something  like this :</p>
<p><img loading="lazy" class="alignnone size-full wp-image-10882" src="https://www.osradar.com/wp-content/uploads/2019/02/coreos23.png" alt="" width="714" height="241" srcset="https://www.osradar.com/wp-content/uploads/2019/02/coreos23.png 714w, https://www.osradar.com/wp-content/uploads/2019/02/coreos23-300x101.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/coreos23-696x235.png 696w" sizes="(max-width: 714px) 100vw, 714px" /></p>
<p><strong>Create md5  password for an user Like osradar user in my case</strong></p>
<pre>sudo openssl passwd -1 &gt; cloud-config.yaml</pre>
<p><img loading="lazy" class="alignnone size-full wp-image-10883" src="https://www.osradar.com/wp-content/uploads/2019/02/coreos24.png" alt="" width="656" height="103" srcset="https://www.osradar.com/wp-content/uploads/2019/02/coreos24.png 656w, https://www.osradar.com/wp-content/uploads/2019/02/coreos24-300x47.png 300w" sizes="(max-width: 656px) 100vw, 656px" />Please edit    the  cloud-config like described  in the   text  bellow and  don&#8217;t  forget to  use the ssh pub from the the client to be able  without  password to  core user.</p>
<p>In my case  the user osradar is part from sudo and docker group</p>
<pre>#cloud-config
users:
- name: osradar
passwd: "$1$jrZWXYCv$7xeeqlOrELkxo49vIgItK/"
groups:
- "sudo"
- "docker"

ssh-authorized-keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMLRh6JpAFS5WJgM6Wf3C6N7OZcFUwOtiRXePNW2Zoy5+4uiLQlaDwhqdqUoawQh6bO6bMOkk7Quw2ZvalBN7AuorWwOEHs0anG4qOs4FGBWjKYX+2Tif4s3KJ82TKyJdrXXgjB/uyk5OXxqM++pW2FHeSDg38NR7tp1e9qx7TCMnBYlk8PB9b6xvWldszy1cv9OsFzzrsYfnkUnmBS8f/0rdfGC24veGso2U2NcztMakWVusgWouNpnbyNk3TcfEWBZzq1AbCncixSEY1tN1m/hWDMoHjv/FtH7DlJhcMYfM4JHvNvIY6joQXXvAYZAnM6S5SZP88Q+y9UGMgdK/5 root@osradar.com"</pre>
<p>&nbsp;</p>
<p><img loading="lazy" class="alignnone size-full wp-image-10847" src="https://www.osradar.com/wp-content/uploads/2019/02/Coreos11.png" alt="" width="875" height="199" srcset="https://www.osradar.com/wp-content/uploads/2019/02/Coreos11.png 875w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos11-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos11-768x175.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos11-696x158.png 696w" sizes="(max-width: 875px) 100vw, 875px" /></p>
<p><strong>How to Validate a CoreOS cloud-config file</strong></p>
<pre>core@localhost ~ $ coreos-cloudinit -validate --from-file cloud-config.yml
2019/02/14 22:11:27 Checking availability of "local-file"
2019/02/14 22:11:27 Fetching user-data from datasource of type "local-file"</pre>
<p><strong>Now install the install  The Coreos on your DISK</strong></p>
<p>we  assume that  your  disk is  /dev/sda</p>
<pre>core@localhost ~ $ sudo coreos-install -d /dev/sda -C stable -c cloud-config.yml
2019/02/14 22:13:44 Checking availability of "local-file"
2019/02/14 22:13:44 Fetching user-data from datasource of type "local-file"
Current version of CoreOS Container Linux stable is 1967.6.0
Downloading the signature for https://stable.release.core-os.net/amd64-usr/1967.6.0/coreos_production_image.bin.bz2...
2019-02-14 22:13:47 URL:https://stable.release.core-os.net/amd64-usr/1967.6.0/coreos_production_image.bin.bz2.sig [566/566] -&gt; "/tmp/coreos-install.8wK6vnAHBT/coreos_production_image.bin.bz2.sig" [1]
Downloading, writing and verifying coreos_production_image.bin.bz2...
gpg: Signature made Tue Feb 12 21:59:20 2019 UTC
gpg: using RSA key 4D7241B14AA47290515D6A8D7FB32ABC0638EB2F
gpg: key 50E0885593D2DCB4 marked as ultimately trusted
gpg: checking the trustdb
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "CoreOS Buildbot (Offical Builds) &lt;buildbot@coreos.com&gt;" [ultimate]
Installing cloud-config...
Success! CoreOS Container Linux stable 1967.6.0 is installed on /dev/sda
core@localhost ~ $</pre>
<p><img loading="lazy" class="alignnone size-full wp-image-10848" src="https://www.osradar.com/wp-content/uploads/2019/02/Coreos12.png" alt="" width="1101" height="291" srcset="https://www.osradar.com/wp-content/uploads/2019/02/Coreos12.png 1101w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos12-300x79.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos12-768x203.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos12-1024x271.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos12-696x184.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos12-1068x282.png 1068w" sizes="(max-width: 1101px) 100vw, 1101px" /></p>
<p><strong>Now disconnect the ISO and reboot the system</strong></p>
<p><img loading="lazy" class="alignnone size-full wp-image-10850" src="https://www.osradar.com/wp-content/uploads/2019/02/Coreos13.png" alt="" width="723" height="263" srcset="https://www.osradar.com/wp-content/uploads/2019/02/Coreos13.png 723w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos13-300x109.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos13-696x253.png 696w" sizes="(max-width: 723px) 100vw, 723px" /></p>
<p>You are ready : you can login with predefined password or connect from the client ( Linux-suse)  to ssh core@coreos-IP. You should be able to login without password.</p>
<p><strong>Login wthout password</strong></p>
<pre>linux-osradar:~ # ssh core@172.18.32.51
The authenticity of host '172.18.32.51 (172.18.32.51)' can't be established.
ECDSA key fingerprint is SHA256:iEUsbUUbjkuUOohQRe+V2fjgjsLMN8dgukGvKoOQ6NQ.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.18.32.51' (ECDSA) to the list of known hosts.
Container Linux by CoreOS stable (1967.6.0)
core@localhost ~ $</pre>
<p><strong>Or login With osradar user and password u have already created.</strong></p>
<p><img loading="lazy" class="alignnone size-full wp-image-10857" src="https://www.osradar.com/wp-content/uploads/2019/02/Coreos16.png" alt="" width="1189" height="381" srcset="https://www.osradar.com/wp-content/uploads/2019/02/Coreos16.png 1189w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos16-300x96.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos16-768x246.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos16-1024x328.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos16-696x223.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos16-1068x342.png 1068w" sizes="(max-width: 1189px) 100vw, 1189px" /></p>
<p><strong>How to install packages in Coreos</strong></p>
<pre>core@localhost ~ $ /bin/toolbox
Downloading sha256:0be2a68855d [=============================] 89.9 MB / 89.9 MB
successfully removed aci for image: "sha512-5baf5573383b151df910506dade067e45455472e167e251d70b5375386786d61"
rm: 1 image(s) successfully removed
Spawning container core-fedora-latest on /var/lib/toolbox/core-fedora-latest.
Press ^] three times within 1s to kill container.
[root@localhost ~]#</pre>
<p><img loading="lazy" class="alignnone size-full wp-image-10853" src="https://www.osradar.com/wp-content/uploads/2019/02/Coreos15.png" alt="" width="934" height="166" srcset="https://www.osradar.com/wp-content/uploads/2019/02/Coreos15.png 934w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos15-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos15-768x136.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/Coreos15-696x124.png 696w" sizes="(max-width: 934px) 100vw, 934px" /></p>
<p>There is many things to do with Coreos.  we will back later in next articles how to use Coreos to deploy applications.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/coreos-your-first-step-to-docker-and-kubernetes/">Coreos : Your first step to docker and Kubernetes</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/coreos-your-first-step-to-docker-and-kubernetes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
