Difference between revisions of "SUSE Manager/Sync RHEL media"

From MicroFocusInternationalWiki
Jump to: navigation, search
(Created page with "* Create the channel in SUSE Manager. * Copy the ISO to your SUSE Manager in /tmp * Create a directory: # mkdir -p /srv/www/htdocs/pub/rhel * mount the iso: # mount -o l...")
 
Line 1: Line 1:
* Create the channel in SUSE Manager.
+
[[SUSE_Manager|SUSE Manager Main Page]]
* Copy the ISO to your SUSE Manager in /tmp
+
= Import RHEL media into a SUSE Manager Channel =
 +
The goal of this procedure is having a RHEL media as a SUSE Manager channel. This mean that you will find the packages from your RHEL DVD or ISO into a regular SUSE Manager channel.
 +
== On the SUSE Manager Web UI ==
 +
* Create the channel in SUSE Manager
 +
In the Admin web UI, go to "Channels" -> "Manage Software Channels" - > "Create channel" and fill the basic channel details.
 +
== On the CLI of SUSE Manager ==
 +
* Copy the ISO to your SUSE Manager server in /tmp
 
* Create a directory:
 
* Create a directory:
 +
<pre>
 
   # mkdir -p /srv/www/htdocs/pub/rhel
 
   # mkdir -p /srv/www/htdocs/pub/rhel
 +
</pre>
 
* mount the iso:
 
* mount the iso:
 +
<pre>
 
   # mount -o loop /tmp/name_of_iso /srv/www/htdocs/pub/rhel
 
   # mount -o loop /tmp/name_of_iso /srv/www/htdocs/pub/rhel
 +
</pre>
 
* Start spacewalk-repo-sync:
 
* Start spacewalk-repo-sync:
 +
<pre>
 
   # spacewalk-repo-sync -c your_channel_name -u https://127.0.0.1/pub/rhel/Server/
 
   # spacewalk-repo-sync -c your_channel_name -u https://127.0.0.1/pub/rhel/Server/
 +
Repo URL: https://127.0.0.1/pub/rhel/Server/
 +
Packages in repo:              3690
 +
Packages already synced:          0
 +
Packages to sync:              3690
 +
1/3690 : texlive-latex-2007-57.el6_2-0.x86_64
 +
2/3690 : boost-filesystem-1.41.0-18.el6-0.i686
 +
3/3690 : policycoreutils-newrole-2.0.83-19.39.el6-0.x86_64
 +
[...]
 +
</pre>
 
* After this is finished you can clone.
 
* After this is finished you can clone.

Revision as of 09:08, 29 April 2014

SUSE Manager Main Page

Import RHEL media into a SUSE Manager Channel

The goal of this procedure is having a RHEL media as a SUSE Manager channel. This mean that you will find the packages from your RHEL DVD or ISO into a regular SUSE Manager channel.

On the SUSE Manager Web UI

  • Create the channel in SUSE Manager

In the Admin web UI, go to "Channels" -> "Manage Software Channels" - > "Create channel" and fill the basic channel details.

On the CLI of SUSE Manager

  • Copy the ISO to your SUSE Manager server in /tmp
  • Create a directory:
   # mkdir -p /srv/www/htdocs/pub/rhel
  • mount the iso:
   # mount -o loop /tmp/name_of_iso /srv/www/htdocs/pub/rhel
  • Start spacewalk-repo-sync:
   # spacewalk-repo-sync -c your_channel_name -u https://127.0.0.1/pub/rhel/Server/
Repo URL: https://127.0.0.1/pub/rhel/Server/
Packages in repo:              3690
Packages already synced:          0
Packages to sync:              3690
1/3690 : texlive-latex-2007-57.el6_2-0.x86_64
2/3690 : boost-filesystem-1.41.0-18.el6-0.i686
3/3690 : policycoreutils-newrole-2.0.83-19.39.el6-0.x86_64
[...]
  • After this is finished you can clone.