tipps und tricks zu rpm paketen

Mai 12th, 2006 by admin

als erstes sollte man wissen welche pakete auf dem rechner installiert sind.

CODE:
  1. <br />
  2. rpm -qa<br />

spuckt eine ganze liste aus.

da das ganze recht unübersichtlich ist kann man mit grep eine liste anzeigen lassen in der z.B. nur das wort 'ftp' vorkommt.

das ganze könnte dann so aussehen.

CODE:
  1. <br />
  2. linux:~ # rpm -qa | grep ftp<br />
  3. yast2-tftp-server-2.12.2-2<br />
  4. pure-ftpd-1.0.20-7<br />

jetzt möchten wir aber genauere infos über das pure-ftpd packet haben

CODE:
  1. <br />
  2. linux:~ # rpm -qai |grep pure-ftpd-1.0.20-7<br />
  3. Group       : Productivity/Networking/Ftp/Servers   Source RPM: pure-ftpd-1.0.20-7.src.rpm<br />

uns reicht das aber noch nicht.

CODE:
  1. <br />
  2. linux:~ # rpm -qi pure-ftpd-1.0.20-7<br />
  3. Name        : pure-ftpd                    Relocations: (not relocatable)<br />
  4. Version     : 1.0.20                            Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany<br />
  5. Release     : 7                             Build Date: Fri Sep  9 20:27:01 2005<br />
  6. Install date: Thu May 11 13:25:30 2006      Build Host: targ.suse.de<br />
  7. Group       : Productivity/Networking/Ftp/Servers   Source RPM: pure-ftpd-1.0.20-7.src.rpm<br />
  8. Size        : 468037                           License: BSD<br />
  9. Signature   : DSA/SHA1, Fri Sep  9 21:36:45 2005, Key ID a84edae89c800aca<br />
  10. Packager    : http://www.suse.de/feedback<br />
  11. URL         : http://www.pureftpd.org<br />
  12. Summary     : A Lightweight, Fast, and Secure FTP Server<br />
  13. Description :<br />
  14. Pure-FTPd is a fast, production-quality, and standard-conforming FTP<br />
  15. server, based-on Troll-FTPd. Unlike other popular FTP servers, it has<br />
  16. ...<br />

zum schluß lassen wir uns noch alle dateien ausgeben die 'pure-ftpd-1.0.20-7' im system benutzt.

CODE:
  1. <br />
  2. linux:~ # rpm -ql pure-ftpd-1.0.20-7<br />
  3. /etc/init.d/pure-ftpd<br />
  4. /etc/openldap<br />
  5. /etc/openldap/schema<br />
  6. /etc/openldap/schema/pureftpd.schema<br />
  7. /etc/pam.d/pure-ftpd<br />
  8. /etc/pure-ftpd<br />
  9. /etc/pure-ftpd/pure-ftpd.conf<br />
  10. /etc/xinetd.d/pure-ftpd<br />
  11. /usr/bin/pure-pw<br />
  12. ...<br />

und fertig :-)

Posted in linux |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.