Difference between revisions of "HowTo Create A Public Repo"

From NST Wiki
Jump to navigationJump to search
(Create Top Level Local Directory Paths For RPMs To Be Published)
(Copy RPM To Be Publish Over To These Directories)
Line 10: Line 10:
  
 
= '''Copy RPM To Be Publish Over To These Directories''' =
 
= '''Copy RPM To Be Publish Over To These Directories''' =
Copy already created RPMs from the NST Pro Repo 34.
+
Copy already created RPMs from the NST Pro Repo 34. This example includes RPMs: nstwui, nstwui-filesystem and snort.
  
 
  cp /home/nst/repo34/yum/repo/noarch/nstwui-34-1010.nst34.noarch.rpm /home/nst/f34/x86_64/noarch;
 
  cp /home/nst/repo34/yum/repo/noarch/nstwui-34-1010.nst34.noarch.rpm /home/nst/f34/x86_64/noarch;
 
  cp /home/nst/repo34/yum/repo/noarch/nstwui-filesystem-34-1010.nst34.noarch.rpm /home/nst/f34/x86_64/noarch;
 
  cp /home/nst/repo34/yum/repo/noarch/nstwui-filesystem-34-1010.nst34.noarch.rpm /home/nst/f34/x86_64/noarch;
 
   
 
   
  cp repo34/yum/repo/x86_64/snort-2.9.18-62.nst34.x86_64.rpm /home/nst/f34/x86_64/x86_64;
+
  cp /home/nst/repo34/yum/repo/x86_64/snort-2.9.18-62.nst34.x86_64.rpm /home/nst/f34/x86_64/x86_64;

Revision as of 16:43, 23 June 2021

Overview

This page briefly shows example steps on how to create a Public Repo for selective RPMs. An example public repo creation for NST 34 will be shown hosted at a2host.

Create Top Level Local Directory Paths For RPMs To Be Published

These paths mimic that on the public repo server (e.g., a2host).

mkdir -p /home/nst/f34/x86_64/noarch;
mkdir -p /home/nst/f34/x86_64/x86_64;

Copy RPM To Be Publish Over To These Directories

Copy already created RPMs from the NST Pro Repo 34. This example includes RPMs: nstwui, nstwui-filesystem and snort.

cp /home/nst/repo34/yum/repo/noarch/nstwui-34-1010.nst34.noarch.rpm /home/nst/f34/x86_64/noarch;
cp /home/nst/repo34/yum/repo/noarch/nstwui-filesystem-34-1010.nst34.noarch.rpm /home/nst/f34/x86_64/noarch;

cp /home/nst/repo34/yum/repo/x86_64/snort-2.9.18-62.nst34.x86_64.rpm /home/nst/f34/x86_64/x86_64;