Please download to get full document.

View again

of 13
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.

RPM,YUM - bleskove zaklady Jiri Kubina Ver. 1.0 unor PDF

Category:

Word Search

Publish on:

Views: 12 | Pages: 13

Extension: PDF | Download: 0

Share
Related documents
Description
RPM,YUM - bleskove zaklady Jiri Kubina Ver. 1.0 unor 2006 Obsah 1.RPM 2.YUM 3.Pouzite zdroje a nastroje Upozorneni: Vetsina popisovanych ukazek je zjednodusena, nebo zkracena z vyukovych duvodu. Pro ziskani
Transcript
RPM,YUM - bleskove zaklady Jiri Kubina Ver. 1.0 unor 2006 Obsah 1.RPM 2.YUM 3.Pouzite zdroje a nastroje Upozorneni: Vetsina popisovanych ukazek je zjednodusena, nebo zkracena z vyukovych duvodu. Pro ziskani kompletnich informaci pouzijte man. 1.RPM Neumi vyresit zavislosti mezi balicky. Je nutne instalovat balicky v presnem poradi. Instalace balicku rpm -i iftop el4.rf.i386.rpm Odstraneni balicku rpm -e iftop Pokud nastanou problemy se zavislostmi a rpm tvrdi neco jineho nez je pravda, lze provest rebuild rpm databaze. rpm --rebuilddb Import GPG klice pro kontrolu integrity balicku. rpm --import umisteni_klice Napriklad import GPG klice pro repozitar DAG provedeme timto prikazem: rpm --import KEY.dag.txt Dotazy na balicek /]# rpm -q iftop iftop el4.rf /]# rpm -qi iftop Name : iftop Relocations: (not relocatable) Version : 0.16 Vendor: Dag Apt Repository, Release : 0.2.el4.rf Build Date: Thu 17 Feb :59:26 PM CET Install Date: Thu 02 Feb :03:51 AM CET Build Host: lisse.leuven.wieers.com Group : Applications/System Source RPM: iftop el4.rf.src.rpm Size : License: GPL Signature : DSA/SHA1, Thu 17 Feb :10:05 PM CET, Key ID a20e52146b8d79e6 Packager : Dag Wieers URL : Summary : Display bandwidth usage on an interface Description : iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts. Handy for answering the question why is our ADSL link so slow? . /]# rpm -ql iftop /usr/sbin/iftop /usr/share/man/man8/iftop.8.gz /]# rpm -qf /usr/sbin/iftop iftop el4.rf /]# rpm -qa grep if libtiff libexif diffstat libungif el4.2 iftop el4.rf startup-notification diffutils 2.YUM Umi vyresit zavislosti mezi balicky. Balicky vyhledava v prednastavenych repozitarich. Tzn. kolik repozitaru mu zadame, tolik jich bude prohledavat. V nasem pripade je konfiguracni soubor umisten zde: /etc/yum.repos.d/centos-base.repo Pridame si do nej slusne zasobeny repozitar, ktery nam usetri spoustu práce. Na konec souboru doplnime tyto radky /repo DAG/: [dag] name=dag RPM Repository for Red Hat Enterprise Linux and CentOS baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 Instalace balicku Pokud nevime jak se balicek presne jmenuje hledame. /]# yum list grep wifi python-wifi.noarch el4.rf dag wifidog.i el4.rf dag wifidog-devel.i el4.rf dag wifiscanner.i el4.rf dag Pro vyhledani stejneho balicku v ruznych repozitarich. /]# yum search ebtables Pokud zname jmeno balicku pak instalujeme. /]# yum install wifidog Setting up Install Process Setting up repositories dag 100% ========================= 1.1 kb 00:00 update 100% ========================= 951 B 00:00 base 100% ========================= 1.1 kb 00:00 addons 100% ========================= 951 B 00:00 extras 100% ========================= 1.1 kb 00:00 Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies -- Populating transaction set with selected packages. Please wait. --- Downloading header for wifidog to pack into transaction set. wifidog el4.rf. 100% ========================= 17 kb 00:00 --- Package wifidog.i386 0: el4.rf set to be updated -- Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: wifidog i el4.rf dag 220 k Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 220 k Is this ok [y/n]: y Downloading Packages: (1/1): wifidog % ========================= 220 kb 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: wifidog ######################### [1/1] Installed: wifidog.i386 0: el4.rf Complete! Update systemu A pomoci nastroje YUM se nam pomerne snadno udrzuje system aktualni. Pokud se chceme nejdrive podivat co vsechno se bude aktualizovat. yum check-update Nasledne pro samotnou aktualizaci. yum update 9.Pouzite zdroje a nastroje Zdroje man rpm man yum Nastroje rpm yum Dekuji za pozornost
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks