Fedora and Redhat look at notes « Tingan’s Weblog

Posted On Sunday, August 30th, 2009

Comments Dropped no responses

The yum carton is included on the Fedora DVD that comes with this drum up. To handling yum toinstall RPM software packages, footstep into the shoes of these chief honcho steps:1. Determine the software carton you inadequacy. Yum is delivered with the course Fedorarepository already configured. Use yum or PackageKit search tools (described later) tofind packages you inadequacy.

(Manysoftware repositories make available RPM packages that automatically configure entries in theyum.repos.d directory to matter to those repositories.)2. Or fit together more repositories in animosity of yum to search to your/etc/yum.conf apprise in or /etc/yum.repos.d directory (also described later). Configure yum. You get the election to configure the /etc/yum.conf apprise in to setoptions that rope to how you handling your yum repositories, as described in the next fraction. Then fit together any repositories, external of Fedora mostly, that you inadequacy to gain packages from.

3. Several current Fedora software repositories make available RPMs that induct the dope yumneeds to access those repositories. Run yum. The yum superintendence can be habituated to to download and induct any carton from theyum repository, including any packages the isolated you inadequacy depends on. NOTE: You can absolutely acknowledge in a straws of the materials cached on yum with the superintendence yum absolutely acknowledge all. The locations of repository directories and GPG keyscan metamorphosis without criticism. Keep in unsure that these repositories metamorphosis during one of these days, as queer ones are added, some areneglected and others are consolidated.

In in actuality, the RPM Fusion Project (http://rpmfusion.org) isgearing up to coalesce the Dribble, Freshrpms and Livna repositories. NOTE: I subscribe to on the contrary adding repositories you necessity. Adding dispensable respositories can late downthe exhibition of yum. This is a allowable angle to gain audio and video players (such as xine, mplayer,ffmpeg, mind, and so on) that may not coordinate the licensing requirements adhered to on RedHat, Inc. ” Livna.org (http://rpm.livna.org) - Begun as an expansion of the Fedora.ussite, rpm.livna.org contains RPM software packages that are external of the FedoraProject. By installing the livna-release RPM, yum is configured to access therpm.livna.org repository.

Look in animosity of the Fedora 10 livna-release RPM at the followingURL:http://rpm.livna.org/rlowiki/” Dag (http://dag.wieers.com/packages) - This neighbourhood contains more than 45,000RPMs from more than 2400 abundant projects. Currently, the repository has not beenupdated in animosity of the latest Fedora publicity release and there is no RPM to automatically jot down up accessthat repository from yum. ” FreshRPMs (http://freshrpms.net) - Another neighbourhood with a allowable preference ofhigh-quality RPMs is FreshRPMs.net. You can, all, look in animosity of Dag packages from the mergedRPMForge.net neighbourhood. This neighbourhood has a allowable preference of audio and videoplayers that are external of the mainstream Fedora repositories.

By installing thefreshrpms-release RPM, yum is configured to access the FreshRPMs repository. ” Dribble (http://dribble.org.uk) - RPM packages focused on jollity software arecontained in the Dribble repository. Look in animosity of a dribble-release carton, which you can handling to automaticallyenable the Dribble repository in animosity of your Fedora practice, at this URL:http://dribble.org.uk/listrpms1.html” ATRPMs (http://atrpms.net/dist/f10) - This neighbourhood has RPMs containingmany drivers in animosity of video cards, wireless cards, and other metal goods not included withFedora. Many of the packages are in animosity of games and consolegame emulators.

If you inadequacy to prove in a in the flesh video recorder, this neighbourhood also has RPMs in animosity of theMythTV cook up. By installing the atrpms-package-config RPM, yum is configured toaccess the ATRPMs.net repository. Look in animosity of the Fedora 10 atrpms-package-config RPMat the following URL:http://atrpms.net/dist/f10″ RPMforge.net (http://rpmforge.net) - This neighbourhood represented a coalesce of threeseparate repositories that offered Fedora RPM packages: http://dag.wieers.com,http://freshrpms.net, and http://dries.ulyssis.org. During thetransition, RPMforge offers packages in animosity of RHEL and CentOS(https://rpmrepo.org/RPMforge/Using).

This repository istransitioning to the RPMrepo cook up (http://www.rpmrepo.org).
Using yum in animosity of listing packagesBesides downloading and installing queer RPM packages, yum can also be habituated to to book availablepackages as justly as those that are already installed. The following examples gewgaw someuses of yum.

If you inadequacy to confer with a book of all packages that are bright in animosity of download from the repositoriesyou get configured, standard the following:# yum book, lessAdding the less superintendence to the unoccupied lets you scroll thoroughly the book of software (it could associated, depending on which repositories you matter to). To search software descriptions in repositories in animosity of a rigorous cheat, handling the search election. If you prove to induct a carton and it failswith a articulation like carton xyzpackage needs xyzfile (not provided), youcan verification in animosity of packages that horde the missing apprise in using the provides election as follows:# yum provides missingfileWith the provides election, yum compel search your repositories in animosity of whatever apprise in you enter(instead of missingfile) and advent the esteem of any packages it finds that horde that apprise in.

For gauge, the following superintendence searches in animosity of arcade in any carton succinct sketch (thissearch compel espy some games):# yum search arcadeBecause yum packages are not automatically deleted after being installed, you lead inadequacy togo thoroughly on call up and absolutely acknowledge them in. To lambently in packages from subdirectories of the/var/cache/yum directory, standard the following:# yum absolutely acknowledge packagesIf you would like to verification to confer with RPMs that were installed from repositories external of themain Fedora repository, you can do so using the book extras election. Here is an gauge:# yum book extrasGetting instructions updates with yumAt any one of these days you can verification whether updates are bright in animosity of RPM packages installed on yourFedora or RHEL practice.

(For more dope refer tohttp://www.clamav.net and http://klamav.sourceforge.net.)Available emulation programs horde:” DOSBox (http://www.dosbox.com), in animosity of event tons admirable DOS applicationsthat won’t run out on queer computers. Before doing updates with yum, all, you should eternally updateyum itself description:# yum update yum(including virus scanners like klamav and clamscan) are already bright in animosity of any Linuxsystem that chooses to horde them. (Install it from Fedora on typing yum installdosbox as predecessors.)” DOSEMU, also in animosity of event admirable DOS applications.

(Refer to the DOSEMU neighbourhood athttp://dosemu.sourceforge.net in animosity of dope. Select the Stable Releases linkto espy RPM binaries of DOSEMU that run out in Fedora.)” WINE, which lets you run out Windows 3.1, Windows 95, Windows 98, Windows 2000,Windows NT, and Windows XP binaries. However, because tons Windows applications are written to produce in earlierWindows systems (why limit their Stock Exchange self-satisfied to handling a body a two of XP-specific calls?),they compel run out self-satisfied ornate in WINE as justly. Windows NT and XP programs are not as wellsupported. Check the documentation in animosity of the Windowsapplication. If it on the contrary requires Windows 95 or Windows 98, it compel in many cases run out in WINERunning Microsoft Windows applications in LinuxThere are particular full of promise approaches you can make off to gain your Windows applications towork during a event Linux assembly. Here are a two of them:” WINE - The WINE cook up (http://www.winehq.org) has been making greatstrides in getting applications that were created in animosity of Microsoft Windows to run out in Linuxand other operating systems.

Instead, because it implements Win32 applicationprogramming interfaces (APIs) and Windows 3.x interfaces, the WINE cook up is moreof a “Windows compatibility layer.” WINE doesn’t inadequacy that Windows be installed. WINE is not as a matter of fact an emulator because it doesn’t emulatethe undiminished Windows operating practice. Itcan, all, make off better of Windows mostly.dll files if you get some to fit together. ” Win4Lin - Win4Lin (http://www.win4lin.com) is a commercial offshoot forrunning a Windows practice in Linux. You can prove the software free in animosity of 14 days. It can either emulate a satiated practice or produce in alcohol modeemulation (where it can be habituated to to probe processes compiled in animosity of abundant CPUs). QEMU - QEMU (http://bellard.org/qemu/) is an downright begetter cook up thatacts as a processor emulator.

In fullsystem emulation, QEMU can run out a variation of operating systems, including Windows3.11, 95, 98SE, ME, 2000, and eye any circumstances XP. The intermission of this fraction describes how to gain and handling WINE to run out Windows applications inLinux. To gain WINE in animosity of your Fedora practice, you can go to pieces to the following places:” WINE in Fedora-As of Fedora 7, WINE became degree of the electric cable Fedora softwarerepository. AdditionalWINE mainstay comes in the following packages: wine-capi (ISDN support), wine-cms(color management), wine-esd (ESD good support), wine-jack (JACK good support),wine-ldap (LDAP support), wine-nas (NAS good support), wine-tools (useful Windowsutilities), and wine-twain (scanner support). The wine and wine-core packages are needed to handling WINE. Add wine-docs in animosity of queer documentation orwine-devel, in animosity of WINE gain components. ” Cedega - A commercial idea of WINE called Cedega (formerly called WineX) isavailable from TransGaming, Inc.

(http://www.transgaming.com). See Chapter 7 fordescriptions of Cedega. TransGamingfocuses on event Windows games in Linux, using WINE as its menial. ” CodeWeavers - If you necessity Microsoft Office or Web browser plug-ins, CodeWeavers(http://www.codeweavers.com) offers CrossOver Linux. Although CrossOverLinux costs some coins, it offers convivial interfaces in animosity of installing and managing theWindows software. A 30-day free probationary is bright.

The following fraction takes you thoroughly thesteps of installing and configuring the wine RPM bright from Fedora. Running Windows Applications in WINEFor WINE to jot down free you run out Microsoft Windows applications, it needs to get an mise en action setup that looks like a Microsoft Windows practice. You can induct wineover the Internet on typing the following:# yum induct wine wine-tools wine-core wine-docsAlthough you on the contrary necessity the wine and wine-core packages, wine-tools offers some nicegraphical tools in animosity of working with your WINE mise en action and wine-docs offers some usefuldocuments in the /usr/share/doc/wine-docs* directory in animosity of developing software andusing WINE. The yum superintendence spiel shown in surely of compel also go in other wine packages fromthe Fedora repository (such as those that horde additional mainstay in animosity of good, scanners, andother features mentioned earlier). The place of the chief honcho Microsoft Windows operating-system directories in animosity of WINE is the$HOME/.wine/drive_c directory in animosity of each alcohol, which looks like the C: design to wine. Figure 5-5 showsan gauge of the Wine configuration window.

The$HOME/.wine directory is created automatically in your haven directory the description you runWine Configuration (select Applications фЂѓ† Other фЂѓ† Wine фЂѓ† Wine Configuration) or standard thewinecfg superintendence:$ winecfgThis opens the Wine configuration window, where you can do most of your activities to addapplications, configure the operating practice, and crease with the desktop. Text processing with GroffThe nroff and troff quotation formatting commands were the description interfaces bright forproducing typeset nobility documents with the UNIX practice. They aren’t editors; less, theyare commands that you send your quotation thoroughly, with the end result being formatted pages:” nroff Ї Produces formatted bare quotation and includes the cleverness to do pagination,indents, and quotation justification, as justly as other features.

” troff Ї Produces typeset quotation, including the by shooting master nroff can do, profit the cleverness toproduce abundant fonts and spacing. The groff superintendence is the foremost unoccupied in animosity of producing nroff/troff documentation. The troff superintendence also supports kerning. BecauseLinux irons pages are formatted and end result in Groff, most of the examples here better you createand language irons pages with Groff. People infrequently handling loutish nroff/troff markup.

Instead, there are community macropackages that untangle the the cosmos of nroff/troff-formatted documents:” irons - The irons macros are habituated to to originate Linux irons pages. ” mm - The mm macros (memorandum macros) were created to originate memos, letters,and complex snow-white papers. You can layout a manpage using the -man election to the groff superintendence. This macro carton includes macros in animosity of creating a eatables ofcontents, lists of figures, references, and other features that are functional in animosity of producingtechnical documents.

You can layout an mm authenticate using the -mm groff optionme - The me macros were current in animosity of producing memos and complex papers onBerkeley UNIX systems. Format an me authenticate using the -me groff optionThere are also a variation of graphics formats. The following is a book ofdocument and graphics conversion utilities:” dos2unix - Converts a DOS quotation apprise in to a UNIX (Linux) quotation apprise in. Fedora and RHEL be broached with lots of utilities toconvert documents and graphics from isolated layout to another.

A goal you mightwant to handling this superintendence is that DOS quotation files horde double-character carriagereturns, whereas Linux (UNIX) quotation files get a single-character linefeed. ” fax2ps - Converts TIFF dupe similarity files to a compressed PostScript layout. ThePostScript end result is optimized to send to a printer on a low-speed spiel. (In those cases, tiff2psmight be more operative.)” fax2tiff - Converts fax materials (Group 3 or Group 4) to a TIFF layout. This layout isless competent in animosity of images with a straws of blackguardly or Loosely continual tones. The end result iseither low-resolution or medium-resolution TIFF layout.

” gif2tiff - Converts a GIF (87) apprise in to a TIFF layout. ” man2html - Converts a irons chapter to an HTML layout. ” pdf2dsc - Converts a PDF apprise in to a PostScript authenticate DSC apprise in. ” pal2rgb - Converts a TIFF similarity (palette color) to a full-color RGB similarity. The PostScript fileconforms to Adobe Document Structuring Conventions (DSC). The end result enablesPostScript readers (such as Ghostview) to deliver assign to the PDF apprise in a chapter at a one of these days.

” pdf2ps - Converts a PDF apprise in to a PostScript apprise in (level 2). ” pk2bm - Converts a TeX pkfont font apprise in to a bitmap (ASCII file). ” pfb2pfa - Converts Type 1 PostScript font (binary MS-DOS ) to ASCII-readable. ” ppm2tiff - Converts a PPM similarity apprise in to a TIFF layout.

” ps2ascii - Converts PostScript or PDF files to ASCII quotation. ” ps2epsi - Converts a PostScript apprise in to Encapsulated PostScript (EPSI). Output is in many cases base-born nobility. Some wordprocessing and bare programs can deliver assign to EPSI.

” ps2pdf - Converts a PostScript apprise in to Portable Document Format (PDF). ” ps2pk - Converts a Type 1 PostScript font to a TeX pkfont. ” ras2tiff - Converts a Sun raster apprise in to a TIFF layout.

” tiff2ps - Converts a TIFF similarity to PostScript. ” tiff2bw - Converts an RGB or Palette color TIFF similarity to a grayscale TIFF similarity. ” unix2dos - Converts a UNIX (Linux) quotation apprise in to a DOS quotation apprise in.

Using text-based Web browsersIf you appropriate in animosity of a Linux administrator or power alcohol, during one of these days you compel inevitably espy yourselfworking on a computer from a far-removed login or where there is no desktop GUI bright. Atsome matter while you are in that official, you compel clearly inadequacy to verification an HTML apprise in or aWeb chapter. With text-based Web browsers, any HTML apprise in bright from the Web, your adjoining apprise in practice,or a computer where you’re remotely logged in can be accessed from your prang pay out. To unravel the puzzler, Fedora and RHEL horde particular text-based Web browsers.

There’s noneed to be someone the bounce up your GUI or deliver assign to pages of HTML markup if you self-satisfied inadequacy to make off a desquamate at thecontents of a Web chapter. Besides letting you smite up Web pages, wake up dark with those pages,and footstep into the shoes of links to other pages, some of these text-based browsers calm beat the drum for graphics rightin a Terminal window!Which text-based browser you handling is a concreteness of which you are more carefree with. Browsers that are bright horde:” links - With links (elinks package), you can downright a apprise in or a URL, and then traverselinks from the pages you downright. Use up and down arrows to go to pieces aid and backamong links.

Use search aid (/string) and assist (?string)features to espy quotation strings in pages. Then ladies Enter to go to pieces to the course concatenate. Use the ethical and mutinous arrow keysto go to pieces aid and assist among pages you get visited. Press Esc to confer with a menu coffee bar offeatures to Вlite from.

You also get theoption of economization the similarity to your adjoining crude disk. While links doesn’t permit you to beat the drum for images inline, if you Вlite an similarity it compel bedisplayed on your desktop in gThumb similarity viewer (by default). lynx,w3mUsing Remote Login, Copy, and ExecutionThis fraction describes some features in animosity of allowing users to handling resources across a network. They are the telnet, ssh, ftp, and wget commands. $ suPassword: ******#When you are prompted, standard in the predecessors user’s catchword. At this matter, you get satiated liberty to run out anycommand and handling any apprise in on the practice. The exhort in animosity of the methodical alcohol ($)will be changed to the wonderful alcohol exhort (#).

However, isolated item that the su superintendence doesn’t dowhen habituated to this means is deliver assign to in the predecessors user’s mise en action. As a end result, you may standard acommand that you identify is bright and gain the articulation “command not jot down.” To coordinate d fettle thisproblem, you can handling the su superintendence with the run out (-) election less than, as follows:$ su -Password: ******#You stationary necessity to standard the catchword, but after you do that, the by shooting master that normally happens atlogin in animosity of the predecessors alcohol compel befall after the su superintendence is completed. Your course directorywill be root’s haven directory (probably /root), and things like the predecessors user’s PATH variablewill be habituated to. TIP: When you appropriate in animosity of wonderful alcohol during someone else’s assembly, a community make off the out of line means is to forget files ordirectories in the user’s directories that are owned on predecessors. If you became the predecessors alcohol on self-satisfied typing su, less than su -, you would nothave changed directories or the mise en action of the course login assembly.

If you do this, be unwavering to handling the chown orchmod superintendence to establish the files and directories you impede downright to the alcohol that you inadequacy to own them. Otherwise, you compel clearly gain a phone smite in a abruptly one of these days, asking you to be broached assist and coordinate d fettle it. You can also handling the su superintendence to appropriate in animosity of another alcohol than predecessors. As predecessors alcohol, all,after you standard the su superintendence to appropriate in animosity of another alcohol, you don’t necessity a catchword tocontinue. For gauge, to get thepermissions of a alcohol named master, you could standard the following:$ su - chumEven if you were predecessors alcohol in the expected you typed this superintendence, you would on the contrary get thepermission to downright files and run out programs that are bright to master.

If you standard that superintendence as a methodical alcohol, you be required to standard the queer user’s catchword. Besides job a prang pay out assembly using su (to run out a shove of commands as root), you caninstead self-satisfied on predecessors liberty to a isolated superintendence or window. This hustle isconsidered more make off possession of than leaving a prang pay out downright with predecessors liberty if you are self-satisfied doingone administrative recriminate.

If a GUI government instrument fails and doesn’tprompt you in animosity of a catchword, refer to the sidebar “Becoming Super User in X.”" sudo superintendence - You can run out the visudo superintendence to configure a alcohol in/etc/sudoers to be allowed to run out administrative commands. For gauge:” GUI admin tools - When you run out GUI government tools as a methodical alcohol, you areusually prompted in animosity of the predecessors catchword (as described the fraction “Using graphicaladministration tools” later in this chapter). After that is done, thatuser can run out the sudo superintendence, followed on a isolated administrative superintendence, to runthat superintendence as predecessors would. When that isolated superintendence completes, the predecessors permissionto run out that superintendence ends as justly.
” Server Settings - This submenu accesses the following server configuration windows:” Domain Name System (system-config-bind) - Create and configure zones if yourcomputer is acting as a DNS server. You may also confer with thisunder the System Tools menu eye the Applications menu. ” FTP (system-config-vsftpd) - Configure the vsftpd FTP server.

” HTTP (system-config-httpd) - Configure your computer as an Apache Web server. You may also confer with this eye the System Tools menu eye the Applications menu. ” NFS (system-config-nfs) - Set up directories from your practice to be shared with othercomputers on your network using the NFS handling.

Usually, Shadow Passwords and MD5 Passwords are selected. ” Authentication (authconfig-gtk) - Change how users are authenticated on yoursystem. However, if yournetwork supports LDAP, Kerberos, SMB, NIS, or Hesiod authentication, you can selectto handling any of those authentication types. ” Boot Loader (system-config-boot) - Configure the commence abruptly boot inlet and timeoutvalue (in seconds) in animosity of your GRUB boot loader. ” Date & Time (system-config-date) - Set the out-moded and one of these days or on to get an NTPserver imprison practice one of these days in sync. Display (system-config-display) - Change the settings in animosity of your X desktop, includingcolor depth and constancy in animosity of your beat the drum for. Figure 10-2 shows the Date/Time Properties window.

You can also on settings in animosity of your videocard and audit. ” Firewall (system-config-firewall) - Configure your firewall to permit or disclaim servicesto computers from the network. ” Keyboard (system-config-keyboard) - Choose the standard of keyboard you are using,based on gobbledegook. ” Logical Volume Management (system-config-lvm) - Display and run out logicalvolumes and kin disk partitions. ” Language (system-config-language) - Select the commence abruptly gobbledegook habituated to in animosity of the practice. ” Network (system-config-network) - Manage your course network interfaces, as wellas fit together interfaces. ” Printing (system-config-printer) - Configure adjoining and network printers.

” Root Password (system-config-rootpassword) - Change the predecessors catchword. (Toconfigure other Samba features, you can handling the SWAT window. ” Samba (system-config-samba) - Configure Windows (SMB) apprise in sharing.

SWAT is described inChapter 18.)” Services (system-config-services) - Display and metamorphosis which services are event onyour Fedora or RHEL practice at abundant run out levels. ” Users & Groups (system-config-users) - Lets you fit together, beat the drum for, and metamorphosis alcohol andgroup accounts in animosity of your Fedora or RHEL practice The following tools associated with practice government can be started from the SystemTools menu (Applications фЂѓ† System Tools):” Configuration Editor (gconf-editor) - Change settings associated with your GNOMEdesktop practice. Disk Usage Analyzer (gnome-utils) - Displays and analyzes materials on the handling of yourcomputer’s crude disks.

(Install the hwbrowser carton to confer with this rigorous.)” Kickstart (system-config-kickstart) - Create a Kickstart configuration apprise in that can beused to induct multiple Fedora or RHEL systems without alcohol intervention. ” Hardware (hwbrowser) - View dope apropos your crude drives, network devices,sound cards, and other metal goods. ” System Log (gnome-system-log) - Displays messages (by date) in animosity of log files stored inthe /var/log directory.

” System Monitor (frysk-gnome) - Shows dope apropos event processes andresource habit.

Leave a response and help improve reader response. All your responses matter, so say whatever you want. But please refrain from spamming and shameless plugs, as well as excessive use of vulgar language.