Your SlideShare is downloading. ×
0
Unit 15Basic System Configuration
ObjectivesAfter completing this unit, you should be able to:• Discuss System Management tools• Install and deinstall addit...
Why System Configuration• Most system configuration is done during installation• Might need to change system configuration...
System Configuration Tools•Various tools have been developed to ease systemadministration •Application specific (Samba SWA...
Adding/Removing Software using RPM• Use rpm to install or upgrade software packages• Common options:-i : installing new pa...
Querying the RPM Database• Options:-i : list information -l : list all files-p : queries new packages before installing# R...
Adding/Removing Software from a .tar.gz File• .TAR.GZ (.TGZ): DEFAULT DISTRIBUTION FORMAT FOR SOURCECODE•TAR = "TAPE archi...
Printer ConfigurationON RED HAT, FEDORA AND SUSE, THE PRINTER SUBSYSTEMIS CUPS (Common UNIX Printing System)Configuration ...
Sound Card ConfigurationConfiguration usually done with dedicated tool •Red Hat, Fedora: redhat-config-soundcard•SUSE: yas...
Network Configuration• Need correct network module to be loaded into kernel• /ETC/MODULES.CONF• Need to set correct IP add...
CheckpointT/F 1. When you configure your system as a DHCPclient, you dont need to configure IP addressesand so forth yours...
Unit Summary• System configuration is necessary if the installationprogram did or could not configure your system, or if y...
Upcoming SlideShare
Loading in...5
×

15 qlx02vconfig

51

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
51
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "15 qlx02vconfig"

  1. 1. Unit 15Basic System Configuration
  2. 2. ObjectivesAfter completing this unit, you should be able to:• Discuss System Management tools• Install and deinstall additional software• Configure a printer• Configure a sound card• Configure a network adapter
  3. 3. Why System Configuration• Most system configuration is done during installation• Might need to change system configuration afterwards:• Things not configured during installation• Configuration failed during installation• Environment changed after installation•Three ways to change system configuration •Temporary -until next system reboot• Manually - changing config files by hand• Automated - using system administration tools•Typical items to be configured on a workstation:• Add/remove software• Printers •Sound Cards• Network
  4. 4. System Configuration Tools•Various tools have been developed to ease systemadministration •Application specific (Samba SWAT, ...)• Distribution specific (redhat-config-*, SUSE yast, ...)• Desktop Environment specific (gmenu, kcontrol, ...)• Generic Linux/UNIX (webmin, ...)•The "perfect" tool _does not exist (yet?)
  5. 5. Adding/Removing Software using RPM• Use rpm to install or upgrade software packages• Common options:-i : installing new packages -U :upgrading existing packages -e :removing packages$ rpm -ihv myprog-1.2-34 .I386 .RPMmyprog ###############. ...$ rpm -Uhv myprog-1.2-78 .I386 .RPMmyprog ###############.$ rpm -e myprogThe -h options shows a progress bar
  6. 6. Querying the RPM Database• Options:-i : list information -l : list all files-p : queries new packages before installing# RPM -QI MYPROGName : myprog Relocations: (not relocatable)Version : 1.0.1 Vendor: IBM Inc.# RPM -QL MYPROG/USR/BIN/MYPROG/ETC/MYPROGRC/USR/SHARE/MAN/MAN1/MYPROG.1.GZ# RPM -QLP YOURPROG-1.0- 23.i386.rpm/USR/BIN/FOO/ETC/FOORC/USR/SHARE/MAN/MAN1/FOO. 1.gz
  7. 7. Adding/Removing Software from a .tar.gz File• .TAR.GZ (.TGZ): DEFAULT DISTRIBUTION FORMAT FOR SOURCECODE•TAR = "TAPE archiver": stores a directory tree in a singlefile•gz = "GNU Zip": compression program•To unpack a .tar.gz or .tgz archive: cd /usr/srctar -zxvf archive-version.tar.gzcd <archivename>• Read INSTALL or README file for installation instructions• Should be installed under /usr/local
  8. 8. Printer ConfigurationON RED HAT, FEDORA AND SUSE, THE PRINTER SUBSYSTEMIS CUPS (Common UNIX Printing System)Configuration done through lpadmin or with abrowser (HTTP://HOSTNAME:631/) (recommended!)
  9. 9. Sound Card ConfigurationConfiguration usually done with dedicated tool •Red Hat, Fedora: redhat-config-soundcard•SUSE: yast2 or alsaconf...and modifiesyour/etc/modules.confA...checksyourhardwareSound Card support requires correct loading of kernelmodules!
  10. 10. Network Configuration• Need correct network module to be loaded into kernel• /ETC/MODULES.CONF• Need to set correct IP addresses etc.•GENERALLY DONE WITH ifconfig command• FOR DHCP, USE dhcpcd, pump or dhclient• Configuration done through scripts which are different ineach distribution• RED HAT, FEDORA:/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ETH0• SUSE: /ETC/SYSCONFIG/NETWORK/IFCFG-ETH0• Use distribution specific tool to configure• RED HAT, FEDORA: redhat-config-network•SUSE: yast
  11. 11. CheckpointT/F 1. When you configure your system as a DHCPclient, you dont need to configure IP addressesand so forth yourselves.2. The correct command to install an additional RPMwould be:a. rpm -i xpuzzles.rpmb. rpm -e xpuzzles-5.5.2-4.i386.rpmc. rpm -qip xpuzzles.rpmd. rpm -i xpuzzles-5.5.2-4.i386.rpm3. What is the proper series of commands to install a.tar.gz file?
  12. 12. Unit Summary• System configuration is necessary if the installationprogram did or could not configure your system, or if yourenvironment changed after installation• System administration can be temporary, manual orautomatic• System administration is being made easy by systemadministration tools•The perfect system administration tool does not yet exist•YOU HAVE TO FIND OUT WHICH TOOLS ARE AVAILABLE ON YOURDISTRIBUTION, AND WHICH TOOL WORKS FOR YOU• Common things to do on a workstation are: adding andremoving software, configuring printers, configuring soundcards and configuring network interfaces
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×