tipps und tricks zu rpm paketen
Mai 12th, 2006 by admin
als erstes sollte man wissen welche pakete auf dem rechner installiert sind.
CODE:
-
<br />
-
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:
-
<br />
-
linux:~ # rpm -qa | grep ftp<br />
-
yast2-tftp-server-2.12.2-2<br />
-
pure-ftpd-1.0.20-7<br />
jetzt möchten wir aber genauere infos über das pure-ftpd packet haben
CODE:
-
<br />
-
linux:~ # rpm -qai |grep pure-ftpd-1.0.20-7<br />
-
Group : Productivity/Networking/Ftp/Servers Source RPM: pure-ftpd-1.0.20-7.src.rpm<br />
uns reicht das aber noch nicht.
CODE:
-
<br />
-
linux:~ # rpm -qi pure-ftpd-1.0.20-7<br />
-
Name : pure-ftpd Relocations: (not relocatable)<br />
-
Version : 1.0.20 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany<br />
-
Release : 7 Build Date: Fri Sep 9 20:27:01 2005<br />
-
Install date: Thu May 11 13:25:30 2006 Build Host: targ.suse.de<br />
-
Group : Productivity/Networking/Ftp/Servers Source RPM: pure-ftpd-1.0.20-7.src.rpm<br />
-
Size : 468037 License: BSD<br />
-
Signature : DSA/SHA1, Fri Sep 9 21:36:45 2005, Key ID a84edae89c800aca<br />
-
Packager : http://www.suse.de/feedback<br />
-
URL : http://www.pureftpd.org<br />
-
Summary : A Lightweight, Fast, and Secure FTP Server<br />
-
Description :<br />
-
Pure-FTPd is a fast, production-quality, and standard-conforming FTP<br />
-
server, based-on Troll-FTPd. Unlike other popular FTP servers, it has<br />
-
...<br />
zum schluß lassen wir uns noch alle dateien ausgeben die 'pure-ftpd-1.0.20-7' im system benutzt.
CODE:
-
<br />
-
linux:~ # rpm -ql pure-ftpd-1.0.20-7<br />
-
/etc/init.d/pure-ftpd<br />
-
/etc/openldap<br />
-
/etc/openldap/schema<br />
-
/etc/openldap/schema/pureftpd.schema<br />
-
/etc/pam.d/pure-ftpd<br />
-
/etc/pure-ftpd<br />
-
/etc/pure-ftpd/pure-ftpd.conf<br />
-
/etc/xinetd.d/pure-ftpd<br />
-
/usr/bin/pure-pw<br />
-
...<br />
und fertig ![]()
Posted in linux |