User Tools

Site Tools


create_your_repository

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
create_your_repository [2015/05/03 23:01]
stephdl [Create Repoview]
create_your_repository [2019/06/05 21:48] (current)
Line 60: Line 60:
 Now we will use repomanage, this command is only made to list either old or new package, matter of choice. Now we will use repomanage, this command is only made to list either old or new package, matter of choice.
  
-  repomanage --keep=2 --old /var/www/vhosts/de-labrusse.fr/​mirror/​smeserver+  repomanage --keep=2 --old /your/path/to/folder
 or or
-  repomanage --keep=1 --new /var/www/vhosts/de-labrusse.fr/​mirror/​smeserver+  repomanage --keep=1 --new /your/path/to/folder
  
 here I want to list and keep only two versions of each rpm. Put this command in a cron job  here I want to list and keep only two versions of each rpm. Put this command in a cron job 
  
-  rm $(repomanage --keep=2 --old /var/www/vhosts/de-labrusse.fr/​mirror/​smeserver) -rf+  rm $(repomanage --keep=2 --old /your/path/to/folder) -rf
  
 =====Sign your RPM===== =====Sign your RPM=====
create_your_repository.txt ยท Last modified: 2019/06/05 21:48 (external edit)