CINXE.COM

Personal Fedora 13 Installation Guide

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content="Personal Notes and Guide for Installation of Fedora 13"> <meta name="keywords" content="fedora,fc,f13,fc13,core,redhat,custom,guide,setup,install,installation,notes,help,notes,driver,nvidia,alsa,mp3,xmms,truetype,services,flash,java,kde,gnome,kernel,mp3,bmp,ttf,banshee,amarok,acrobat,yum,samba,rpmfusion"> <meta name="copyright" content="Copyright (c) 2010 Mauriat Miranda"> <meta name="author" content="Mauriat Miranda"> <title>Personal Fedora 13 Installation Guide</title> <style type="text/css">@import "resource.css";</style> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-310280-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-310280-1'); </script> </head> <body> <h1>Personal Fedora 13 Installation Guide</h1> <h4>Mauriat Miranda (<a href="https://www.mjmwired.net/contact/">https://www.mjmwired.net/contact/</a>)</h4> <h4>Other <a href="https://www.mjmwired.net/resources/">Guides/Resources</a></h4> <h4>Published: 25 May 2010 (<i>updated: 28 July 2010</i>)</h4> <div class="archive"> <p><b>NOTE:</b> The content of this page may be outdated. Links may not be valid and the steps detailed may no longer work. This page is saved for archival purposes only.</p> </div> <h4>New Guides: <a href="https://www.mjmwired.net/resources/mjm-fedora-f14.html">Fedora 14</a></h4> <div><a name="menu"></a></div> <table><tr><td valign="top"><ul> <li><a href="#installmedia">Installation Media</a></li> <li><a href="#install">Physical Installation</a></li> <li><a href="#network">Network Management</a></li> <li><a href="#sudo">Setup sudo</a></li> <li><a href="#yum">Setup yum</a></li> <!-- <li><a href="#nvidia">Install Nvidia Driver</a></li> !--> <li><a href="#mp3">Install MP3 Players</a></li> <li><a href="#mediaplayers">Install Media Players</a></li> <li><a href="#ttf">Install TrueType Fonts</a></li> <li><a href="#service">Modify Services/Daemons</a></li> <li><a href="#flash">Adobe Flash Plugin</a></li> <li><a href="#java">Java Runtime Environment</a></li> <li><a href="#acrobat">Install Adobe Acrobat</a></li> <li><a href="#samba">Setup Samba</a></li> <li><a href="#moreinfo">More Information and Translations</a></li> </ul></td><td valign="top"> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- resource_box --> <ins class="adsbygoogle" style="display:inline-block;width:400px;height:300px" data-ad-client="ca-pub-5258443501063629" data-ad-slot="4676972104"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </td></tr></table> <hr> <p>This guide a <i>personal</i> configuration of Fedora 13. This page is to provide some common installation tips that people may find useful. Keep in mind this works for <i>me</i>, so take care in doing proper backups to critical files whenever trying something. This guide is tested on a AMD64 Desktop running both i386 (32-bit) Fedora and x86_64 (64-bit) Fedora. (The specific system(s) also dual boot with either Windows XP or Windows 7).</p> <hr> <h3><a name="installmedia" href="#installmedia">Installation Media</a></h3> <p>Fedora 13 is provided as either CD-ROM's or DVD-ROM's for installation. You can either download the multiple CD sets or single DVD for installation. The DVD-ROM disk is the recommended method of installation. Booting the DVD or booting from CD#1 will start the installer which will allow Fedora to be installed on your computer or for you to upgrade an existing Fedora on your machine. The following steps were done with the single DVD installation.</p> <p>There are also "LiveCD's" which can be booted and will run a basic Fedora in memory while also providing a simpler method of installation (not as complete at the DVD or multi-CD method). The default LiveCD ships with Gnome (ex: <tt>F13-i686-Live.iso</tt>). There is a specific LiveCD that ships with KDE. Both provide an installer however they come with significantly less software than the DVD. Also they require more memory in order to be usable. The LiveCD may be useful for demonstration.</p> <p><b>Note:</b> To upgrade an existing Fedora installation you <em>cannot</em> use a Live disk.</p> </p> <hr> <h3><a name="install" href="#install">Physical Installation</a></h3> <p>It is <b>highly recommended</b> you read the <a href="http://docs.fedoraproject.org/en-US/Fedora/13/html/Release_Notes/index.html" target="_blank" rel="nofollow">Fedora Release Notes</a> and official <a href="http://docs.fedoraproject.org/en-US/Fedora/13/html/Installation_Guide/index.html" target="_blank" rel="nofollow">Installation Guide</a> before installing Fedora.</p> <p>An additional recommendation is to read <a href="https://fedoraproject.org/wiki/Common_F13_bugs" target="_blank" rel="nofollow">Common Problems</a> before installing.</p> <p>Obtain the Fedora 13 DVD image or multi-CD set images from a Fedora <a href="http://mirrors.fedoraproject.org/publiclist/Fedora/13/" target="_blank" rel="nofollow">mirror</a> (or use the <a href="http://torrent.fedoraproject.org/" target="_blank" rel="nofollow">torrent</a>) and burn to DVD. (For more information on <a href="https://www.mjmwired.net/resources/mjm-download-fedora.html">how to download Fedora</a> CD's or DVD).</p> <p>Boot from the DVD. <em>If you choose to use a <a href="#installmedia">LiveCD</a> please note that the following steps will differ.</em></p> <p><b><u>NOTE:</u></b> The Fedora Installer (<tt>anaconda</tt>) is very minimal and most configuration steps will need to be done <em>post-installation</em>.</p> <p>The Fedora Anaconda installer is very simple and with some minor exceptions most of the default settings are correct. The settings which are most <em>critical</em> is your <em>partitioning</em> and <em>boot loader</em> options.</p> <p>For <b>Partitioning</b></p> <ul> <li>If you have an empty hard drive or wish to delete the entire contents of your drive, then let the installer <em>Use All Space</em>.</li> <li>If you wish to dual-boot or save some contents on your drive, then select either <em>Shrink Current System</em> or <em>Use Free Space</em>.</li> <li>For my system(s) I select: <em>Create Custom Layout</em>.<br /> In this case I recommend <i>at least 3</i> partitions: an 8-12GB <tt>/</tt> main partition, a 10+GB <tt>/home</tt> partition and a 1-2GB <tt>&lt;swap&gt;</tt> partition. The main partition is where your applications will be installed. The <tt>/home</tt> partition will hold all your personal data (<i>make this as large as you can</i>). The <tt>&lt;swap&gt;</tt> should be at least as large as your physical RAM memory (1GB, 2GB, 4GB, etc.).</li> </ul> <p>For <b>Boot Loader</b></p> <ul> <li>If you have a blank harddrive or wish Fedora to be your <i>Primary Operating System</i>, then leave the default options here. This also works for dual booting with other systems (ex: Windows).</li> <li>If you wish to preserve Windows as your primary operating system, then install Grub on the <tt>/</tt> partition, <b>NOT the MBR</b>. To do this, select <u>Change Device</u> on the <u>Install boot loader</u> screen and install to <i>First sector of boot partition</i>. I use <a href="http://www.winimage.com/bootpart.htm" target="_blank" rel="nofollow">Bootpart</a> from Windows 2000/XP to load Linux. An alternative to Bootpart is the <a href="http://www.tldp.org/HOWTO/Linux+NT-Loader.html" target="_blank" rel="nofollow">NT OS Loader + Linux mini-HOWTO</a> (also <a href="http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html" target="_blank" rel="nofollow">Grub Win2K Howto</a>). <b>Vista</b> or <b>Windows 7</b> users can use the <em>Vista Boot Manager</em> following the <a href="http://port25.technet.com/archive/2006/10/13/Using-Vista_2700_s-Boot-Manager-to-Boot-Linux-and-Dual-Booting-with-BitLocker-Protection-with-TPM-Support.aspx" target="_blank" rel="nofollow">Port25 Vista Boot Manager Howto</a>. I recommend this so you do not corrupt your Windows installation in a Dual-Boot environment. <b>This method does take more work. If you do not choose this, the default option using the MBR will still work.</b></li> </ul> <p>For <b>Package Selection</b></p> <p>If you have a high speed internet connection, then you do not need to install everything during installation. The system can easily add software later. The default settings for which packages will be installed is generally acceptable. However the following options are highly recommended.</p> <ul> <li><u>Office and Productivity</u></li> <li><u>Software Development</u></li> </ul> <p>The following packages are accessible from the <u>Customize now</u> option:</p> <ul> <li>Under <em>Desktop Environments</em> select <u>KDE (K Desktop Environment)</u></li> </ul> <p>Install the selected packages and reboot.</p> <p>For users who opted to install grub on the first sector of the <tt>/</tt> partition instead of the MBR, you will be required to follow one of the above guides on either setting up Windows XP or Windows Vista/7 to boot Fedora.</p> <p>Once Fedora is booted for the first time, please follow the instructions. Make sure you create an account for yourself using <b>Create User</b>. <b>Always</b> use that account. <b>DO NOT use root</b> as your personal account. <em>The root account will <b>NOT be permitted</b> to login into the graphical desktop.</em></p> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5258443501063629" data-ad-slot="1392085799"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="network" href="#network">Network Management</a></h3> <h4>18 November 2009</h4> <p><b>Network Not Online</b></p> <p>If you install by CD or DVD the network will not be online by default. To fix this, make the either of the following changes:</p> <p>Option 1: EDIT: <tt>/etc/sysconfig/network-scripts/ifcfg-eth0</tt> and change <tt>ONBOOT=no</tt> to <tt>ONBOOT=yes</tt>.</p> <p>Option 2: In Gnome, [Right-Click] on the Networking icon in the top left of the toolbar.<br> Select <em>Edit Connections...</em>.<br> Select <em>System eth0</em> and click <em>Edit...</em><br> Check <em>Connect automatically</em> and click <em>Apply</em>.<br> Enter 'root' password when prompted. </p> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="sudo" href="#sudo">Setup sudo</a></h3> <h4>07 November 2007</h4> <p>Fedora, like all other Linux distributions, has a root user and has individual users. The root is the "superuser", somewhat similar to "Administrator" in Windows.</p> <p>Use the personal account you created at <em>First Boot</em> for daily use. You should use 'root' only for administration/configuration. To run as 'root' use <tt>su</tt> or <tt>sudo</tt> commands. However <tt>sudo</tt> requires setup. As root run:</p> <pre>echo 'loginname ALL=(ALL) ALL' &gt;&gt; /etc/sudoers Where 'loginname' is your user account. Use 'ALL=(ALL) NOPASSWD:ALL' if you don't want to be prompted a password. If you are prompted for a password with 'sudo' it is the user password, not root. </pre> <p>Example:</p> <pre>[<b>mirandam</b>@charon ~]$ su Password: <i>&lt;--- Enter root password</i> [root@charon mirandam]# echo '<b>mirandam</b> ALL=(ALL) NOPASSWD:ALL' &gt;&gt; /etc/sudoers [root@charon mirandam]# exit exit</pre> <p>The following is an example of how <tt>sudo</tt> lets you execute root commands:</p> <pre>[mirandam@charon ~]$ du -sh /root du: `/root': <b>Permission denied</b> <i>&lt;--- Fails!!!</i> [mirandam@charon ~]$ sudo du -sh /root 163M /root <i>&lt;--- Works!!!</i> </pre> <p><b>NOTE:</b> Every command provided on this page will work if you remove <tt>sudo</tt> from the command. However this requires you must be logged in as 'root' first. An alternative to using <tt>sudo</tt> is to use <tt>su</tt> to login as root, <em>before</em> executing a command.</p> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="yum" href="#yum">Setup yum</a></h3> <h4>17 November 2009</h4> <p>Fedora uses <tt>yum</tt> to install and update its software. When connected to the internet it will automatically determine application dependencies.</p> <p><b>Fedora Repositories</b></p> <p>Fedora typically has 2 repositories enabled by default: <tt>fedora</tt> (the same packages that come on any combination of the CD's or DVD's) and <tt>updates</tt> (updated packages, newer than <tt>fedora</tt> repository).</p> <p><b>YUM Plugins</b></p> <p>While <tt>yum</tt> has many plugins available. Fedora 12 and newer enable <tt>yum-presto</tt> which should try to download only updated portions of packages instead of the full package <em>during updates</em>. Additionally many users use the <tt>fastestmirror</tt> plugin which (typically) speeds up downloads by attempting to find faster sources. To install:</p> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install yum-plugin-fastestmirror</pre> <p><b>Third Party Repositories</b></p> <p>For applications that are against Fedora policies (MP3, DVD, MPEG, Binary Drivers, etc), a third party repository should be used. The recommended repository for Fedora is: <a href="http://rpmfusion.org/" target="_blank" rel="nofollow">RPMFusion</a>. For the purpose of this guide, (most) all needs are met by the RPMFusion repository, other requirements are stated.</p> <p>To set up the RPMFusion repositories:</p> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm [mirandam@charon ~]$ sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm</pre> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <div><a name="mp3"></a></div> <h3><a name="mp3" href="#mp3">Install MP3 Players</a></h3> <h4>08 June 2009</h4> <p>Fedora ships without any form of MP3 playback. In order to add MP3 playback you <b>must install from a 3rd party</b>. The following requires the use of the <a href="#yum">RPMFusion</a> repositories.</p> <p><b><u>XMMS</u></b>: simple, older GUI, minimalistic features (but still popular)</p> <ul> <li>Installation through <tt>yum</tt>:<br> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install xmms xmms-mp3 xmms-faad2 xmms-pulse xmms-skins</pre> </li> </ul> <p><b><u>Audacious</u></b>: (A fork of <b>Beep Media Player - BMP</b>). XMMS rebuilt to be a little bit more modern. Still basic but much better than XMMS.</p> <ul> <li>Installation through <tt>yum</tt>:<br> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install audacious <b>audacious-plugins-freeworld*</b> NOTE: There is a '*' at the end.</pre> </li></ul> <p><b><u>Rhythmbox/Gstreamer</u></b> - A simple audio application similar to iTunes layout.</p> <ul> <li>Most of Rhythmbox and the Gstreamer system should be installed when <a href="#install">installing Gnome</a> (mentioned above). The missing components are just the MP3 (and other media) plugins.</li> <li>Installation through <tt>yum</tt>: <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg</pre> </li> </ul> <p><b><u>Amarok</u></b> - A modern feature rich media player application.</p> <ul> <li>It is helpful to have <a href="#install">KDE installed</a> first as this will reduce the download.</li> <li>Installation through <tt>yum</tt>: <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install amarok xine-lib-extras-freeworld</pre> </li> </ul> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <div><a name="mediaplayers"></a></div> <h3><a name="mediaplayers" href="#mediaplayers">Install Media Players</a></h3> <h4>27 May 2010</h4> <p>Fedora ships with a limited set of media player for both audio and video. For audio please read the <a href="#mp3">MP3 player</a> notes. For video and other multimedia (DVD, etc.) we will also be making use of a 3rd party repository: <a href="#yum">RPMFusion</a>. Make sure to have the <a href="#yum">RPMFusion repositories</a> configured before executing the following. Note that many <em>"dependancies"</em> in libraries, plugins and codecs are shared between these applications and also the MP3 player applications.</p> <p>The most popular media players (in order) are: MPlayer, Xine and VLC. Each has its own strengths. Install whichever you prefer although the first 2 are recommended.</p> <p><b><u><a name="mplayer" href="#mplayer">MPlayer</a></u></b> - MPlayer comes in a command line only interface (<tt>mplayer</tt>) or skinable GUI and it also has a powerful encoding tool MEncoder (also great for ripping or compressing audio/video). Additionally there is a highly functional web plugin allowing for many popular formats in Firefox/Mozilla (WMV, QuickTime, etc.).</p> <ul> <li>Installation through <tt>yum</tt> with <a href="#yum">RPMFusion</a> enabled:<br> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install mplayer mplayer-gui gecko-mediaplayer mencoder</pre> </li> <li>Note that <tt>mencoder</tt> is <em>optional</em> but provides many encoding functions.</li> <li><b>Binary Codecs:</b> Please install the <a href="#binarycodecs">Binary Codecs</a> for further support of formats that MPlayer does not directly support.</li> <li>MPlayer should work automatically defaulted to PulseAudio.</li> </ul> <p><b><u><a name="xine" href="#xine">Xine</a></u></b> - Xine is similar to MPlayer in many ways however lacking the command line application and encoder. However has fully supported DVD playback with proper navigation.</p> <ul> <li>Installation through <tt>yum</tt> with <a href="#yum">RPMFusion</a> enabled:<br> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install xine xine-lib-extras xine-lib-extras-freeworld</pre> </li> <li><b>Binary Codecs:</b> Please install the <a href="#binarycodecs">Binary Codecs</a> for further support of formats that Xine does not directly support.</li> <li><b>DVD Playback:</b> To properly play DVDs please see <a href="#libdvdcss">DVD Playback</a>.</li> </ul> <p><b><u><a name="banshee" href="#banshee">Banshee</a></u></b> - Banshee is an iTunes-like media player which support sync'ing to multiple different devices.</p> <ul> <li>Installation through <tt>yum</tt> with <a href="#yum">RPMFusion</a> enabled:<br> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install banshee gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg</pre> </li> </ul> <p><b><u><a name="binarycodecs" href="#binarycodecs">Binary Codecs</a></u></b> - The MPlayer projects maintains a package full of binary codecs for which no directly open source option exists, some of these files include Windows DLL's. These are shared by both Xine and MPlayer. <b>NOTE:</b> There is significant variation depending on your architecture (i386, x86_64, ppc). This step is really only beneficial to 32bit i386 users, 64bit users may also install the i386.</p> <ul> <li>Navigate to: <a href="http://www.mplayerhq.hu/MPlayer/releases/codecs/" target="_blank" rel="nofollow">http://www.mplayerhq.hu/MPlayer/releases/codecs/</a></li> <li>Select the package (<tt>.tar.bz2</tt>) best matching your version of Fedora/Architecture. Generally 32-bit users will use: <tt><a href="http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20100303.tar.bz2" target="_blank" rel="nofollow">all-20100303.tar.bz2</a></tt>.</li> <li>Install the codecs (<i>32-bit for example</i>):<br> <pre>[mirandam@charon Download]$ <a href="#sudo">sudo</a> mkdir -p /usr/lib/codecs [mirandam@charon Download]$ sudo tar -jxvf all-20100303.tar.bz2 --strip-components 1 -C /usr/lib/codecs/</pre> </li> </ul> <p><b><u><a name="vlc" href="#vlc">VLC</a></u></b> - VLC is a simpler media player with an easy to use interface. It also supports DVD playback. While most needs should be met with Xine and MPlayer some prefer VLC.</p> <ul> <li>Installation through <tt>yum</tt> with <a href="#yum">RPMFusion</a> enabled:<br> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install vlc</pre> </li> <li><b>DVD Playback:</b> To properly play DVDs please see <a href="#libdvdcss">DVD Playback</a>.</li> </ul> <p><b><u><a name="libdvdcss" href="#libdvdcss">DVD Playback</a></u></b> - Due to non-technical reasons, the <tt>libdvdcss</tt> package currently exists in the Livna repository. Either use the Livna repository for this single package, or manually download and install it:</p> <ul> <li>Setup the Livna Repository:<br> <pre>[mirandam@charon ~]$ sudo rpm -ivh <a href="http://rpm.livna.org/livna-release.rpm" target="_blank">http://rpm.livna.org/livna-release.rpm</a> [mirandam@charon ~]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna</pre> </li> <li>Installation through <tt>yum</tt> with <em>Livna</em> enabled:<br> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install libdvdcss</pre> </li> </ul> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="ttf" href="#ttf">Install Microsoft Truetype Fonts</a></h3> <h4>08 June 2009</h4> <table><tbody><tr><td> <p>The official source for the package is <a href="http://corefonts.sourceforge.net/" target="_blank" rel="nofollow">http://corefonts.sourceforge.net/</a>, however I am using the following <a href="https://www.mjmwired.net/resources/files/msttcore-fonts-2.0-3.spec">SPEC file</a>.</p> <p>You have to build the RPM using the chosen <tt>SPEC</tt> file. For convenience I have created the RPM (<i>please do not link directly to this file</i>):<br><br> <a href="https://www.mjmwired.net/resources/files/msttcore-fonts-2.0-3.noarch.rpm">msttcore-fonts-2.0-3.noarch.rpm</a></p> <pre>[mirandam@charon Download]$ <a href="#sudo">sudo</a> rpm -ivh msttcore-fonts-2.0-3.noarch.rpm</pre> <p><b>Note:</b> Fedora encourages the use of the <a href="https://www.redhat.com/promo/fonts/" target="_blank">Liberation Fonts</a>. These are installed by default (and included on the DVD). </td><td> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5258443501063629" data-ad-slot="3607433013"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </td></tr></tbody></table> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="service" href="#service">Disable Unneeded Services/Daemons</a></h3> <h4>19 November 2009</h4> <p>Information regarding services and their functions can be found on: <a href="https://www.mjmwired.net/resources/mjm-services-f13.html">Services in Fedora 13</a> (<a href="https://www.mjmwired.net/resources/mjm-services-f13.html">https://www.mjmwired.net/resources/mjm-services-f13.html</a>).</p> <p>For information on how to manage services in Fedora please read: <a href="https://www.mjmwired.net/resources/mjm-fedora-manage-services.html">Managing Services in Fedora</a> (<a href="https://www.mjmwired.net/resources/mjm-fedora-manage-services.html">https://www.mjmwired.net/resources/mjm-fedora-manage-services.html</a>).</p> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="flash" href="#flash">Adobe Flash Plugin</a></h3> <h4>28 July 2010</h4> <p>The Adobe Flash plugin is available from Adobe's website. Users should use Adobe's YUM repository (recommended).</p> <p><b>NOTE:</b> Due to the wide usage of the Flash plugin on the web it is important to keep this software up to date. <em>It is highly recommended to use the <tt>yum</tt> method of installation <b>even if you are using 64-bit Fedora</b>.</em></p> <p><b><u>Installation on Fedora 32-bit</u></b></p> <p>Install the Adobe YUM repository:</p> <pre>[mirandam@charon Download]$ <a href="#sudo">sudo</a> rpm -ivh <a href="http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm" target="_blank">http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm</a> [mirandam@charon Download]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux</pre> <p>Install the plugin:</p> <pre>[mirandam@charon Download]$ sudo yum install flash-plugin</pre> <p><b><u>Installation on Fedora 64-bit</u></b></p> <p>Fedora 64-bit users have 2 options, either use the 32-bit plugin "wrapped" (which is recommended until Adobe officially release the native 64-bit plugin), OR install the prerelease 64-bit plugin manually.</p> <p><u>Using the 32-bit Plugin</u></p> <p>First install the Adobe YUM repository as stated above. Next install the missing dependencies and the plugin:</p> <pre>[mirandam@charon Download]$ sudo yum install nspluginwrapper.{i686,x86_64} alsa-plugins-pulseaudio.i686 [mirandam@charon Download]$ sudo yum install flash-plugin</pre> <p><u>Installing the 64-bit alpha Plugin</u></p> <p>Adobe has temporarily halted the distribution of the 64-bit alpha (as stated on <a href="http://labs.adobe.com/downloads/flashplayer10_64bit.html" target="_blank" rel="nofollow">Adobe Labs</a>).</p> <p>This file was originally distributed in the form of a <tt>TAR.GZ</tt>, however some people have created and RPM file and may still distribute it (unofficially). Please <b>do not use</b> this for security reasons. It is recommended to use the 32-bit plugin temporarily.</p> <!-- <p>Install the plugin to the Mozilla plugins directory. For example:</p> <pre>[mirandam@charon Download]$ <a href="#sudo">sudo</a> tar -zxvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz -C /usr/lib64/mozilla/plugins</pre> !--> <p>Restart Firefox or any Mozilla browsers.</p> <p>More information is available on the <a href="https://fedoraproject.org/wiki/Flash" target="_blank" rel="nofollow">Fedora Wiki</a>.</p> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="java" href="#java">Java Runtime Environment</a></h3> <h4>28 July 2010</h4> <p>The standard installation of Fedora should install <em>OpenJDK</em> (based off of Sun Java). However if not, it can be installed using YUM:</p> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin</pre> <p>With OpenJDK installed, Java application and Web applets should automatically work. Unfortunately some applets may not run properly and the OpenJDK might have some limitations. <em>Majority of user should find OpenJDK perfect for everyday use.</em></p> <p><b><u>Using Sun Java Instead</u></b></p> <p>If you require Sun Java or if OpenJDK does not work properly, you can download Sun Java and use it in Fedora.</p> <p>Download the Java package from:<br> <a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">http://java.sun.com/javase/downloads/index.jsp</a>. Always use the <b>latest update</b>.</p> <p>Select: <i>Java <b>JRE</b> 6 Update 21</i> (the JDK is for developers)</p> <p>On the next page, for Platform select <em>"Linux"</em> for 32-bit users, and <em>"Linux x64"</em> for 64-bit users.</p> <p>For Language select "Multi-language". Also accept the license agreement, and hit "Continue".</p> <p>On the next page, select the <b><tt>RPM</tt></b> option:</p> <pre>Java SE Runtime Environment 6u21 jre-6u21-linux-i586-<b>rpm.bin</b> (<em>32-bit users</em>) jre-6u21-linux-x64-<b>rpm.bin</b> (<em>64-bit users</em>) </pre> <p>To install:</p> <pre>[mirandam@charon Download]$ <a href="#sudo">sudo</a> sh jre-6u21-linux-i586-rpm.bin -OR- [mirandam@charon Download]$ sudo sh jre-6u21-linux-x64-rpm.bin</pre> <p>You will need to hit 'space' till it reaches the end, then type 'yes'. You should see the <tt>RPM</tt> installing. If it does not install, manually install it via <tt>sudo rpm -ivh</tt>.</p> <p>When running the <tt>java</tt> command, Fedora will default to using OpenJDK. In order to use Sun Java, use the <tt>alternatives</tt> command.</p> <p>To setup the Java runtime, perform the following (applies to <em>both</em> 32-bit <em>and</em> 64-bit users):</p> <pre>[mirandam@charon Download]$ sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000</pre> <p>Setup the Mozilla/Firefox browser plugin.</p> <p>For <b>32-bit</b> users:</p> <pre>[mirandam@charon Download]$ sudo /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \ libjavaplugin.so /usr/java/default/lib/i386/libnpjp2.so 20000</pre> <p>For <b>64-bit</b> users:</p> <pre>[mirandam@charon Download]$ sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \ libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000</pre> <p>You may need to restart Firefox to see the plugin take effect.</p> <p><b>Note:</b> If you wish to switch back to OpenJDK you can run the following commands one by one to switch between the OpenJDK and Sun Java:</p> <pre>[mirandam@charon ~]$ sudo /usr/sbin/alternatives --config java [mirandam@charon ~]$ sudo /usr/sbin/alternatives --config libjavaplugin.so (or for 64-bit) [mirandam@charon ~]$ sudo /usr/sbin/alternatives --config libjavaplugin.so.x86_64 </pre> <p><i>To Update:</i> If you wish update the JRE package, simply download the newest <tt>RPM</tt> package and install it as above. You will NOT need to reset <tt>alternatives</tt>, as those settings should remain intact.</p> <p>More Information: <a href="http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html" rel="nofollow" target="_blank">Install Documentation for Linux</a>.</p> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="acrobat" href="#acrobat">Install Adobe Acrobat</a></h3> <h4>10 March 2010</h4> <p>To view PDF files, Fedora recommends using either <tt>evince</tt> or <tt>okular</tt>. The following is for users requiring Adobe Acrobat Reader:</p> <p>For <tt>yum</tt> users:</p> <p>Install the Adobe YUM repository, and install through yum:</p> <pre>[mirandam@charon Download]$ <a href="#sudo">sudo</a> rpm -ivh <a href="http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm" target="_blank">http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm</a> [mirandam@charon Download]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux [mirandam@charon Download]$ sudo yum install AdobeReader_<b>enu</b> </pre> <p><b>NOTE:</b> The above uses the English version: <b>enu</b>. To see which languages are supported by Adobe's YUM repository, run the following command:</p> <pre>[mirandam@charon Download]$ yum list AdobeReader\*</pre> <p>Other languages are installed similar to english for example: <tt>AdobeReader_fra</tt>, if you are unsure which package is correct, run:<br> <tt>yum info AdobeReader_fra</tt> for more information. Otherwise install manually as described below. (<b>Note:</b> 64-bit users are recommended to use <tt>yum</tt> to resolve all the 32-bit <tt>i386</tt> dependancies.)</p> <p>The version of Adobe Acrobat Reader currently is 9.X for English and the version and download size may vary depending on your language. Not all languages are supported under Linux or may not have updated versions.</p> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="samba" href="#samba">Setup Samba - Filesharing with Windows</a></h3> <h4>18 November 2009</h4> <p>If you have other Windows computers on your LAN and want to share files from Linux with them, you must setup Samba.</p> <p>To setup Samba you must (1) install samba, (2) add you 'shares', (3) add users, (4) start Samba service and (5) manage security options (Firewall and SELinux).</p> <p><b>1. Install Samba</b></p> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> yum install samba samba-client <i>cifs-utils</i></pre> <p><b>Note:</b> The <tt>cifs-utils</tt> package is not required. However it is very small and provides some useful utilities.</p> <p><b>2. Add Shares</b></p> <p>You must edit <tt>/etc/samba/smb.conf</tt> as root: (use <tt>nano</tt> instead of <tt>gedit</tt> if you do not have a GUI)</p> <pre>[mirandam@charon ~]$ sudo gedit /etc/samba/smb.conf</pre> <p>Set your Windows Workgroup name in <tt>[global]</tt> section.</p> <p>Added shares at the end of the file. Example:</p> <pre>[c_drive] path = /media/c_drive public = yes writable = no [netshare] path = /data/ public = yes writable = yes</pre> <p>If <tt>'writable'</tt> the location <b>must be</b> writable in Linux first. Additionally permissions must match (for example: <tt>drwxrw-rw-</tt>).</p> <p>If home data (all personal files under <tt>/home/username</tt>) is to be accessible, then set <tt>'browseable = yes'</tt> under <tt>[homes]</tt> (~line 250). This configuration file is <i>very descriptive</i>, read through it to get more ideas or information.</p> <p><b>3. Add Users</b></p> <p>To access shares, you must be a valid user. Add valid <i>users AND passwords</i> using the <tt>smbpasswd</tt> command.</p> <p>This login name WILL be the login name and password you use <b>from Windows</b> to access your Linux computer. The password does <b>NOT need to match</b> your Linux password.</p> <pre>[mirandam@charon ~]$ <a href="#sudo">sudo</a> smbpasswd -a username New SMB password: Retype new SMB password: account_policy_get: (<i>warnings ignored</i>) Added user username. </pre> <p>(Note: <tt>'username'</tt> MUST be a valid account on the Fedora machine)</p> <p><b>4. Start Samba Service</b></p> <p>Run samba and check for any errors:</p> <pre>[mirandam@charon ~]$ sudo /etc/init.d/smb start Starting SMB services: [ OK ]</pre> <p>Use <tt>chkconfig</tt> or <tt>serviceconf</tt> to enable samba (<tt>smb</tt>) in both runlevels 3 and 5. This will make sure to run Samba each time Fedora boots.</p> <pre>[mirandam@charon ~]$ /sbin/chkconfig --list smb smb 0:off 1:off 2:off <b>3:off</b> 4:off <b>5:off</b> 6:off [mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 smb on [mirandam@charon ~]$ /sbin/chkconfig --list smb smb 0:off 1:off 2:off <b>3:on</b> 4:off <b>5:on</b> 6:off</pre> <p>Restart Samba for every change to users/passwords or <tt>'smb.conf'</tt></p> <pre>[mirandam@charon ~]$ sudo /etc/init.d/smb restart Shutting down SMB services: [ OK ] Starting SMB services: [ OK ]</pre> <p><b>5. Managing Security for Samba</b></p> <p><b><u>Firewall</u></b></p> <p>The <b>Firewall</b> will by default block Samba, to allow access run:</p> <pre>[mirandam@charon ~]$ system-config-firewall</pre> <p>To allow Samba access to work through the firewall you must set 'Samba' as a 'Trusted Service' and hit 'Apply'. Alternatively if you are only using the shell and do not have access to a graphical X-server, you can run:</p> <pre>[mirandam@charon ~]$ sudo system-config-firewall-tui</pre> <p>To allow Samba access to work through the firewall, use &lt;Tab&gt; to go to <i>Customize</i>. In the <i>Trusted Services:</i> scroll down to <i>Samba</i>, hit &lt;Space&gt; and use &lt;Tab&gt; again to go to <i>Close</i>, then finally to <i>OK</i>.</p> <p><b><u>SELinux</u></b></p> <p>SELinux has <em>significant control</em> over restricting different parts of Samba. Run <tt>system-config-selinux</tt>. Please read lines #23 - #51 in <tt>/etc/samba/smb.conf</tt> for a better explanation. Alternatively, you can run:</p> <pre>[mirandam@charon ~]$ system-config-selinux</pre> <p>Go to <i>Boolean</i> and type 'samba' in the <i>Filter</i> (without quotes).</p> <p>For any changes made above to the SELinux settings or smb.conf, it is recommended to restart Samba.</p> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr> <h3><a name="moreinfo" href="#moreinfo">More Information</a></h3> <ul> <li><a href="https://www.mjmwired.net/resources/mjm-services-f12.html">Fedora 12 - Services and Daemons in Fedora 12</a></li> <li><a href="https://www.mjmwired.net/linux/category/fedora/f13/">Fedora 13 Blog Entries</a></li> <li><a href="https://www.mjmwired.net/resources/mjm-fedora-nvidia.html">Fedora Nvidia Driver Install Guide</a></li> <li><a href="https://www.mjmwired.net/resources/mjm-fedora-f12.html">Fedora 12 - Personal Installation Guide</a></li> <li><a href="https://www.mjmwired.net/resources/mjm-fedora-manage-services.html">Managing Services in Fedora</a></li> </ul> <p><a href="#menu">Top</a> <a href="https://www.mjmwired.net/resources/">Resources</a></p> <hr /> <div id="helpout"> <p>Comments, suggestions, questions or any feedback welcome for this page or any of my <a href="https://www.mjmwired.net/resources/">Resources</a>. Please use the <a href="https://www.mjmwired.net/contact">contact</a> link.</p> <p><b>Help Out:</b> If you found this guide or any <a href="https://www.mjmwired.net/resources/">Resource</a> helpful, please consider <a href="https://www.mjmwired.net/support">supporting this site</a> by recommending this page to others or linking to this page. I appreciate all the support I receive. Thank you in advance.</p> <ul> <li>If you wish to thank me via <a href="https://www.amazon.com/hz/wishlist/ls/2EPXY2P66KUM1/ref=nav_wishlist_lists_1">Amazon.com wishlist</a>.</li> </ul> </div> <div><a name="disclaimer"></a></div> <div id="disclaim"> <p><b>Disclaimer:</b> The author makes no claim to the accuracy of the information provided. This information is provided in the hope that it will be useful, but WITHOUT ANY WARRANTY. There is no implied support from referencing this guide. Any help that is provided is at will. Use this information at your own risk. Always make proper backups and use caution when modifying critical system files.</p> <p><b>PLEASE DO NOT</b> mirror, translate or duplicate this page <i>without</i> contacting me.</p> <p><b><a href="https://www.mjmwired.net/copyright">Copyright &copy; 2003-2013</a> by Mauriat Miranda</b> (mjmwired.net).</p> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10