Difference between revisions of "RPM Repository"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 12: Line 12:
 
  perl-Compress-Raw-Bzip2-2.023-1.el5.rf.x86_64.rpm                      100%  110KB 110.3KB/s  00:00
 
  perl-Compress-Raw-Bzip2-2.023-1.el5.rf.x86_64.rpm                      100%  110KB 110.3KB/s  00:00
 
Note: be careful that you don't forget to put it in the correct architecture/OS directory (here the el5_x86_64 suffix).
 
Note: be careful that you don't forget to put it in the correct architecture/OS directory (here the el5_x86_64 suffix).
 
Another note: to work with quattor
 

Revision as of 14:46, 26 January 2010

This page is meant to provide information on how to execute common tasks on our RPM repository.

Location

The RPM repository is located on host stal.nikhef.nl, local directory

/project/quattor/www/html/

Look for example at subdirs "centos" and "mirror".

Adding files to the repository

Just put the file in the right directory (as user ndpfmgr) (but see also below). An example. For this example, the RPM had been downloaded from the DAG repository on another machine, hence copied in via scp.

stal:dag:1009$ pwd
/project/quattor/www/html/mirror/dag/el5_x86_64
stal:dag:1010$ scp templon@simeto:Downloads/perl-Compress-Raw\* . 
Warning: Permanently added 'simeto' (RSA) to the list of known hosts.
perl-Compress-Raw-Bzip2-2.023-1.el5.rf.x86_64.rpm                      100%  110KB 110.3KB/s   00:00

Note: be careful that you don't forget to put it in the correct architecture/OS directory (here the el5_x86_64 suffix).