<?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>llinux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/llinux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 20 Apr 2020 10:52:04 +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>How To Subscribe CentOS Server to Katello/Foreman</title>
		<link>https://www.osradar.com/how-to-subscribe-centos-server-to-katello-foreman/</link>
					<comments>https://www.osradar.com/how-to-subscribe-centos-server-to-katello-foreman/#comments</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 29 Nov 2019 10:47:47 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[how to subscribe CentOS Server to kate;llo]]></category>
		<category><![CDATA[llinux]]></category>
		<category><![CDATA[satelite]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15950</guid>

					<description><![CDATA[<p>We&#8217;ve previously learn how to sync CentOS 8 repositories on Satellite / Foreman / Katello All of these steps can be performed on the host you want to register. Step 1: Add EPEL &#38; Foreman repositories sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpmsudo yum install -y https://yum.theforeman.org/client/2.0/el8/x86_64/foreman-client-release-2.0.0-1.el8.noarch.rpm Step 2: Install subscription manager sudo yum -y install subscription-manager [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-subscribe-centos-server-to-katello-foreman/">How To Subscribe CentOS Server to Katello/Foreman</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>We&#8217;ve previously learn <a href="https://www.osradar.com/?p=15929">how to sync CentOS 8 repositories on Satellite / Foreman / Katello</a></p>



<p>All of these steps can be performed on the host you want to register.</p>



<h3><strong>Step 1: Add EPEL &amp; Foreman repositories</strong></h3>



<pre class="wp-block-verse">sudo yum -y install <a href="https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm">https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</a><br>sudo yum install -y <a href="https://yum.theforeman.org/client/2.0/el8/x86_64/foreman-client-release-2.0.0-1.el8.noarch.rpm">https://yum.theforeman.org/client/2.0/el8/x86_64/foreman-client-release-2.0.0-1.el8.noarch.rpm</a></pre>



<h3><strong>Step 2: Install subscription manager</strong></h3>



<pre class="wp-block-verse">sudo yum -y install subscription-manager</pre>



<p>Now, download and install ca-consumer package to get a copy of the CA certificates from your Katello/Foreman Server.</p>



<pre class="wp-block-verse">export katello_fqdn="katello.example.com"</pre>



<pre class="wp-block-verse">sudo rpm -Uvh <a href="http://$[katello_fqdn]/pub/katello-ca-consumer-latest.noarch.rpm">http://$[katello_fqdn]/pub/katello-ca-consumer-latest.noarch.rpm</a></pre>



<p>You should be able to resolve <a href="https://osradar.com">katello.example.com</a> host-name in order to work for above command.</p>



<h3><strong>Step 3: Register CentOS Server on Katello Server.</strong></h3>



<p>You can register your CentOS server by running following command </p>



<pre class="wp-block-verse">sudo subscription-manager register --org="YOURORG" \</pre>



<pre class="wp-block-verse">--activationkey="ACTIVATION-KEY-NAME"</pre>



<p><strong>Note: Replace the inverted commas text to your organization &amp; key details.</strong></p>



<p><strong>Activation key must be created on foreman before running above command.</strong></p>



<h3><strong>Step 4: Install katello agent tools</strong></h3>



<p>Install the <strong>katello-host-tools</strong> and katello-agent package which reports errata &amp; package profile info, it does not allow to remotely control clients.</p>



<pre class="wp-block-verse">sudo yum -y install katello-host-tools  katello-agent katello-host-tools-tracer</pre>



<h3><strong>Step 5: Start &amp; enable the katello agent Services.</strong></h3>



<pre class="wp-block-verse">systemctl start goferd</pre>



<pre class="wp-block-verse">systemctl enable goferd</pre>



<h3><strong>Step 6: Update CentOS repositories</strong></h3>



<p>Remove or move all of your repositories except redhatrepo which are present in <strong>/etc/yum.repos.d/</strong>.</p>



<pre class="wp-block-verse">cd /etc/yum.repos.d/</pre>



<pre class="wp-block-verse">sudo mkdir old</pre>



<pre class="wp-block-verse">sudo mv CentOS-* epel* katello* old/</pre>



<p>Use Katello Dashboard to verify that katello-agent is installed.</p>



<p><strong>Hosts-&gt;Content Hosts-&gt;</strong></p>



<p>For installing a package navigate to <strong>Hosts-&gt;Content Hosts-&gt;Select Host-&gt;Packages</strong></p>



<p>Choose package action as <strong>&#8220;Package Remove&#8221;</strong> to perform action to delete.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-subscribe-centos-server-to-katello-foreman/">How To Subscribe CentOS Server to Katello/Foreman</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/how-to-subscribe-centos-server-to-katello-foreman/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
