Custom Search
Bloggers Activos
La evolución del Programador mandrake
Darwin no perdió la fe por desarrollar la teoría de la evolución blacksoul
El Dalai Lama dice: vendaval
Religión, fanatísmo o Terrorismo? blacksoul
Dani people's vaio chilicuil
Una Canción Triste vendaval
¡Lo hemos conseguido! der_teufel
Log continuacion del curso de BD.. rnstux
F.A.Q. del borracho mandrake
Logotipo de Apple mandrake
Last Download
Segunda Fundación
Segunda Fundación
Continuación del Curso de DB
rnstux
Libro de Servidores GNU/LINUX Licencia CC
vendaval
FreeBSD hacking (Kernel Modules Programming)
vendaval
Powered by Blender!
rnstux
Primer Curso de BD en IRC
rnstux
ZFS - A Smashing Hit
asarch
Screencast
aarkerio
Manda al diablo a Telcel
asarch
Seguimiento de Cuba...
vendaval
Gentoo Linux 2008.0 released
asarch
Google Groups Karamelo
Visit this group
GNU/Linux
GNU/Linux
Hacktivismo
Hacktivismo
Debian
Debian
NetBSD
NetBSD
WWW
WWW
Guia Linux
Guia Linux
Server Side
Server Side
Ofimatica
Ofimatica
Despabilando...
Despabilando...
Mundo Maya
Mundo Maya
Literatura
Literatura
Agora
Agora
Psicologia
Psicologia
Economia
Economia
Ambientalismo
Ambientalismo
Desarrollo
Desarrollo
Biologia
Biologia
Ubuntu: Linux fácil
Ubuntu: Linux fácil

Hacktivism

LinuxChix button

Server Side \ Fedora Core 4 Linux Installation
Server Side
Fedora Core 4 Linux Installation

Este artículo ha sido consultado en 418 ocasiones.

Fedora Core 4 Linux Installation Notes

by Stanton Finley, revised September 6th, 2005

It is no longer necessary to become an expert practitioner of the arcane dark arts of the Unix command line in order to get a complete Linux distribution working on your PC including all of the productivity, multimedia, and entertainment applications you will need on your desktop and a fully functional web server as well.
This web page began as some notes to myself as I installed Fedora Core and has evolved into a popular guide for the new Linux user. Enjoy.

~ Stan Finley ~

These instructions assume an i386 to i686 system (32 bit) with, an "always on" LAN or broadband connection configured "DHCP" and at least 10 GB of free disk space for the Fedora partition. Instructions for dual booting Windows and Fedora are included as well as as a section on setting up an nVidia GeForce graphics card. For the most part the steps should be followed in the order that they were written as certain programs should be installed and certain configurations made in order to facilitate later steps. However after the base installation is complete additional user selected program installations are, of course, optional.

For x86_64 processors (64-bit AMD64, EM64T) you should probably get FC4-x86_64-disc1.iso, FC4-x86_64-disc2.iso, FC4-x86_64-disc3.iso, and FC4-x86_64-disc4.iso. These instructions will not strictly apply for 64 bit computers using the 64 bit isos. 64 bit capable processors like Athlon 64, Opteron and Xeon are supposed to be backwardly compatible with 32 bit instruction sets and are known to run 32 bit editions of Linux. Therefore the i386 isos may work with these. I understand that Fedora Core for 64 bit processors still has some unresolved issues. Your mileage may vary.

Contents:

Installation:
  • Download and burn the five Fedora Core 4 CDs from iso images or the DVD iso image from your nearest mirror site. (You should get FC4-i386-disc1.iso, FC4-i386-disc2.iso, FC4-i386-disc3.iso, FC4-i386-disc4.iso and FC4-i386-rescuecd.iso.) The CD iso images or the DVD iso image are also available using bittorrent.
  • Partition your hard disk with something like one of the disk partition creation/editing tools on the System Rescue CD available at http://www.sysresccd.org/. You could also use a commercial product such as PartitionMagic. You may leave the partition that you wish to use for Fedora as unformatted space. The installation program will format this partition, create swap space within it, and make a directory structure.
  • Configure your bios settings to boot first from the CD drive.
  • Insert the first Fedora Core 4 CD or the DVD and reboot your machine.
  • At the "boot" prompt hit enter.
  • Hit enter for "ok" and enter again for "Test" to test your CD or DVD media or the right arrow key to select the "Continue" box and hit enter to skip this test. (I recommend testing your media to determine if your CDs or DVDs are properly burned.) If your media passes you will be given an opportunity to check additional CDs or DVDs. When you are finished testing hit enter for "ok", right arrow to the "Continue" box and hit enter to continue.
  • When Anaconda, the Fedora Core installer loads click "Next" at the "Welcome..." page.
  • Click "Next" at the "Language Selection" page for default English or select your language.
  • Click "Next" at the "Keyboard Configuration" page for default U. S. English or select your language.
  • Select "custom" on the "Installation Type" page. Click "Next".
  • Select "automatically partition" on the "Disk Partitioning Setup" page. Click "Next". If you elect to manually edit your partition with Disk Druid, double click on the partition, select the "swap" file type, and configure your swap space size to equal about twice your computer's physical memory size. Double click on the remainder of the partition to configure it as a Linux ext3 file system. At minimum you must designate this remaining space (probably /dev/hda2 or /dev/sda2) as the root "/" partition mount point.
  • If you are going to dual boot Windows and Fedora and you already have Windows installed on another partition select "keep all partitions and use existing free space" on the "Automatic Partitioning" page. Otherwise select "Remove all partitons on this system" to use all of your hard disk for Fedora or choose "Remove all Linux partitions on this system" for a fresh install over any existing Linux partitions. Click "Next".
  • Click "Next" on the "Disk Setup" page.
  • If you are dual booting Windows and Fedora Check the "other" check box on the "Boot Loader Configuration" page. Click "edit". Type "Windows" in the "label" box and uncheck the "default boot target" check box. Click "ok".
  • Click the "default" check box next to "Fedora Core" to make it your default boot operating system. Click "Next".
  • Leave "eth0" and hostname "automatically via DHCP" on the "Network Configuration" page. Click "Next".
  • Leave "Enable firewall" selected on the "Firewall Configuration" page and click the check boxes for "ssh", "http", "https", "ftp" and "smtp". Leave "Enable SELinux" "active". Click "Next".
  • Click on the map for your location on the "Time Zone Selection" page. Click "Next".
  • Set your preferred root password on the "Set Root Password" page. Click "Next".
  • You will see a message "Reading package information...".
  • Scroll down the "Package Group Selection" page and click in the "everything" box under "miscellaneous". Click "Next". (There has been some criticism from some quarters regarding the fact that I recommend doing an "everything" installation. From my point of view there are several good reasons to do so: 1. There are many wonderful packages in a Fedora Core "everything" installation including a web server and all the packages needed to make it work with modern scripting language support. Installing everything supplies the novice with a huge Linux playground containing thousands of great programs to explore. 2. If you install everything there will be no question that package dependencies and inter-dependencies are met. Everything will be there and everything will "just work". 3. Why not install everything? In this day and age bandwidth and disk space are cheap and plentiful.)
  • You will see a message "Checking dependencies..."
  • Click "Next" on "About to Install" page.
  • Click "continue" to get to the "Installing Packages" page. You will see a "Formatting / file system..." message, a "Starting install process..." message, a "Preparing to install..." message, and you will eventually be prompted to insert the remainder of the installation CDs unless you are using the DVD. (It took about an hour to install "everything" on my system.)
  • When the installation is complete remove the last CD or the DVD and click "reboot" for the first boot screen.
  • After Fedora reboots click "Next" on the "Welcome" page.
  • Click the appropriate radio button to agree to the license agreement and Click "Next".
  • If you are already connected to an "always on" LAN or broadband connection click on the "Network Time Protocol" tab, click in the "Enable Network Ttime Protocol" check box, click the down arrow in the "Server" box, select "clock.redhat.com" , click "Add" and click "Next". You will see a message "Contacting NTP Server. Please wait...".
  • On the "Display" page select your preferred screen resolution and color depth based upon the capabilities of your monitor. If your monitor's screen resolution is not available in the dialog box or if Fedora did not recognize your monitor or graphics card you will have an opportunity to configure them later. Click "Next".
  • On the "System User" page choose a user name (in lower case, not "root"), a full name (any case), and a password for that default user. Click "Next".
  • Click "play test sound" on the "Sound Card" page to test your sound system. Your should hear three chords in sequence. If you don't you can try to configure your sound card later. Click "No" or "Yes" in the "Did you hear the sample sound?" dialog box. Click "Next".
  • Click "Next" on the "Additional CDs" page.
  • Click "Next" on the "Finish Setup" page.
  • Log in as "root" with the root password you selected earlier.
  • Click "log in anyway" if a Gnome error message appears on first boot. We will correct this later.
  • When Fedora finishes booting to the graphical interface click on the top panel, hold your left mouse button down, drag the top panel to the bottom of the screen, and release the mouse button.
  • Click "Applications" > "System Tools". Right click on "Terminal" and select "Add this launcher to panel".
  • Right click on the terminal icon on the bottom panel and select "move". Move the icon to the left near the other icons and click to position it there.
  • Click on the terminal icon. This will open the terminal.
  • Type:
    gedit /boot/grub/grub.conf
  • Hit enter and gedit will open. Revise the "hiddenmenu" and "kernel" lines in grub.conf so that your file looks like this:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd0,1)
    #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
    #          initrd /initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=5
    splashimage=(hd0,1)/grub/splash.xpm.gz
    #hiddenmenu
    title Fedora Core 4 (2.6.11-1.1369_FC4)
    	root (hd0,0)
    	kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 vga=788 selinux=0
    	initrd /initrd-2.6.11-1.1369_FC4.img
    title Windows
    	rootnoverify (hd0,0)
    	chainloader +1
    
    Disabling the "hiddenmenu" with the "#" comment and removing "rhgb quiet" from the kernel line will cause the operating system selection menu to display immediately upon boot and will also disable the graphical boot screens so that you will see the boot sequence scroll by in text. You may also choose to disable SELinux here by including "selinux=0" on the kernel line. Leave out the "selinux=0" if you wish to keep SELinux enabled. If you choose to use SELinux (Security Enhanced Linux) you should search the web for information about it and how it impacts a Linux installation. Click on the "save" icon in gedit and close it. Close the terminal.
  • Click on "Desktop" > "System Settings" > "Server Settings" > "Services" and deselect system services that you will not immediately use. When you click on each of them you will see a description as to what they are for. If you're not sure, leave them in there. (I deselected "anacron", "apmd", "atd", "canna", "cpuspeed", "cups", "cups-config-daemon", "hpoj", "mDNSResponder", "mdmonitor", "nfslock", "nifd", "pcmcia", "rpcgssd", "rpcidmapd", and "sendmail".) Click the "save" icon. You should also select "Edit Runlevel" on the menu, select "Runlevel 3", deselect the same system services as you just did for run level 5, and save them as well by clicking the "save" icon. Then close the service configuration screen. (Run level 3 is for text mode only without X windows and we will use this run level later when configuring the nVidia driver.)
  • If a Gnome error message appeared on first boot and you had to click "log in anyway", open the terminal and type:
    gedit /etc/hosts
    Hit enter and gedit will open. Place your cursor after "localhost" and hit tab. Then type in the characters that appear on your root terminal screen after "root@" up to but not including the space and tilde (~). When you are finished, your hosts file should look something like this:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1		localhost.localdomain localhost	x1-6-00-04-5a-5e-ac-83
    
    Click on the "save" icon in gedit and close it. This will eliminate the Gnome error message that appears on boot-up on some systems.
  • In the root terminal type:
    gedit /etc/modprobe.conf
    Hit enter and gedit will open. Add these lines to the bottom of the file:
    alias net-pf-10 off
    alias ipv6 off
    
    Add a carriage return if required. (There should be a blank line at the bottom of these files.) Click on the "save" icon in gedit and close it. This will speed up browsing and file transfers in some cases by decreasing DNS lookup time.
  • Click on "Desktop" > "System Settings" > "Login Screen". Under the "Timed Login" section click on the "Login a user automatically after a specified number of seconds" check box. Type or select your default user name that you selected during installation (lower case, not "root") in the "Timed login username:" box and type "5" in the "Seconds before login:" box . Click "close".
  • Click "Desktop" > "Log Out" > "Restart the computer" and click "ok".
  • After boot up you should be logged in as the default user. Click on the top panel, hold your left mouse button down, drag the top panel to the bottom of the screen, and release the mouse button.
  • Click the red flashing up2date icon in the lower right. Click "Forward". Click "Forward". Click "Forward". Click "Apply". Click on the up2date icon in the lower right again. Click on the "Launch up2date..." box. Type in your root password and click "ok". Click on the "Package Exceptions" tab, click on "kernel*" and click on the "Remove" box. Click "ok" again. Click on "yes" to install the key. Click "Forward". Click "Forward" again. After the headers are downloaded click on the "select all packages" check box and click "Forward". You will see a progress dialog "Testing package set / solving RPM dependencies". Click "Yes" on each instance if you get messages "...not signed with a GPG signature..." When this is complete the updates will be downloaded. (This may take a very long time depending upon your connection speed the first time you run up2date and you may think that your installation has hung but it actually has not. If you don't have the patience for this do a "yum update" as root instead.) Click "Forward" to install the updates and "Forward" again to complete. Click "Finish". "Click "Close". Click "Activate" in the Subscription Alert box if it appears, launch up2date, and check for updates again as described above. Click "Desktop" > "Log Out" > "Restart the computer" and click "ok" to reboot. Note: If you get errors with up2date or yum regarding gnbd-kernel, dlm-kernel, and cman-kernel you should remove them. They are cluster related files that were associated with the original 2.6.12-1.1390_FC4 kernel and when you update you will be getting a later kernel. To remove them log in as root (type "su -" in a terminal, hit enter, type your root password, hit enter) then type "yum remove gnbd-kernel dlm-kernel cman-kernel", hit enter and close the terminal. Then proceed with your yum or up2date update.
Configuring your monitor:
  • If Fedora did not recognize your monitor during installation, log in as root. (If you are already logged in as your default user or a user other than root click "Actions" > "Log Out", click "OK", type "root" in the "Username:" box, hit enter, type your root password in the "Password:" box and hit enter.) Open a terminal. Alternately you may open a terminal, type, "su -", hit enter, type your root password when prompted, and hit enter again to log in as root.
  • Type:
    gedit /etc/X11/xorg.conf
    Hit enter and gedit will open. Scroll down to the "Monitor" section. Find the "HorizSync" line and enter your monitor's supported horizontal frequency range. The line should look something like "HorizSync 30.0 - 70.0". Enter your monitor's supported vertical frequency range opposite "VertRefresh". The line should look something like "VertRefresh 50.0 - 160.0". Scroll down to the "Screen" section and opposite each instance of "modes" enter you monitor's supported pixel resolution, starting with the highest. The line should look something like "Modes "1024x768" "800x600" "640x480"". You should be able to get these values from your monitor's manual or from a search for your monitor by manufacturer and model number on the Internet. Hit the "save" button in gedit and exit gedit. Reboot your machine.
  • Click "Desktop" > "System Settings" > "Display". Type your root password in the dialog box presented and hit enter. Click the down arrow on the right of the "Resolution:" box and select your preferred pixel resolution. Click the down arrow on the right of the "Color Depth:" box and select your preferred color depth. Click "OK". Reboot your machine.
  • Click "Desktop" > "Preferences" > "Screen Resolution". Click the down arrow on the right of the "Resolution:" box and select your preferred pixel resolution. Click the down arrow on the right of the "Refresh rate:" box and select the highest refresh rate available. A refresh rate of 85 Hz or more will decrease noticeable flicker significantly and may eliminate it completely. Click "Apply". Reboot your machine.
Caution! Special warning regarding mixing incompatible repositories for up2date, yum, and apt:
  • We will be using the program applications Yum, Yumex, Apt, and Synaptic below as methods to obtain software and to update your Fedora Core installation. You will be configuring these programs by adding repositories which are groups of software created by third party packagers which we use in addition to original Fedora Core repositories that come standard with your new installation. As you continue please keep the following in mind: You should not use the livna.org repository and possibly the fedora extras repository (which derives from the old fedora.us repository) in conjunction with the dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge) collection of rpms in your configuration files for automatic updates. Use one group or the other but not both. You should be made aware that there are two “schools” of rpm packagers for Fedora Core extra applications. One group consists of the livna.org/fedora.us repositories and the other group consists of the dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge) repositories. One of the most common causes of errors and failures in a new Fedora Core installation has been the mixing of these two incompatible repository collections for automatic updates. These two groups of rpm repositories have been for the most part mutually incompatible in the past and in some cases have been known to cause serious errors in Fedora Core installations if used together. It is unfortunate that these two groups have not found some common ground for consensus and have not gotten together and made their repositories compatible with one another. I myself subscribe to the RPMforge collection as you can see in my yum and apt repository selection instructions below. The dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge) repositories have provided me with all of the programs I have needed as additions to the Fedora base. If you choose to go with the RPMForge group of repositories as I have done you may have to remove the fedora extras configuration files in /etc/yum.repos.d/ in the future because they are now included by default and may result in the errors just described. This remains to be seen. For now I recommend leaving Fedora Extras as a repository in yum to test compatibility and also because we will use extras later to obtain apt. Note that up2date looks in /etc/yum.repos.d/ by default for its repositories so that if you change your yum configuration you will have changed your up2date configuration at the same time. Some additional information can be found here. To configure your Fedora Core 4 yum and apt repositories to use the RPMForge repositories proceed as follows:
Yum:
  • Open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    gedit /etc/yum.repos.d/dag.repo
    Hit enter and gedit will open. Type the following in gedit:
    [dag]
    name=Dag RPM Repository for Fedora Core
    baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/
    enabled=1
    gpgcheck=1
    
    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. Type the following in the root terminal:
    gedit /etc/yum.repos.d/freshrpms.repo
    Hit enter and gedit will open. Type the following in gedit:
    [core]
    name=FreshRPMS-Core
    baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
    enabled=1
    gpgcheck=1
    [updates]
    name=FreshRPMS-Updates
    baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
    enabled=1
    gpgcheck=1
    [freshrpms]
    name=FreshRPMS-Fresh
    baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
    enabled=1
    gpgcheck=1
    
    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. Type the following in the root terminal:
    gedit /etc/yum.repos.d/dries.repo
    Hit enter and gedit will open. Type the following in gedit:
    [dries]
    name=Extra Fedora rpms dries - $releasever - $basearch
    baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/
    enabled=1
    gpgcheck=1
    
    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. Type the following in the root terminal:
    gedit /etc/yum.repos.d/newrpms.repo
    Hit enter and gedit will open. Type the following in gedit:
    [newrpms.sunsite.dk]
    name=Fedora Core 4 i386 NewRPMS.sunsite.dk
    baseurl=http://newrpms.sunsite.dk/apt/redhat/en/i386/fc4
    enabled=1
    gpgcheck=1
    
    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit.
  • While still in the root terminal type:
    rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    Hit enter. Type:
    rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
    Hit enter. Type:
    rpm --import http://dries.studentenweb.org/ayo/RPM-GPG-KEY.dries.txt
    Hit enter. Type:
    rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
    Hit enter. Type:
    rpm --import /usr/share/doc/fedora-release-*/*GPG-KEY*
    Hit enter. You have just imported the GPG keys for your yum repositories. Type:
    yum update
    Hit enter. Your system will be updated. Answer "y" for "yes" in the appropriate places. Reboot.
  • Note: If you get errors with up2date or yum regarding gnbd-kernel, dlm-kernel, and cman-kernel you should remove them. They are cluster related files that were associated with the original 2.6.12-1.1390_FC4 kernel and when you update you will be getting a later kernel. To remove them log in as root (type "su -" in a terminal, hit enter, type your root password, hit enter) as we have been doing and do a "yum remove gnbd-kernel dlm-kernel cman-kernel". Then proceed with your yum or up2date update. If you get errors when updating with yum including the phrase "no more mirrors to try" you could temporarily re-edit the files in your /etc/yum.repos.d/ and try alternate mirrors. Here are some to try:
    [dag]
    name=Dag RPM Repository for Fedora Core
    baseurl=http://rh-mirror.linux.iastate.edu/pub/dag/fedora/$releasever/en/$basearch/dag/
    enabled=1
    gpgcheck=1
    
    [core]
    name=FreshRPMS-Core
    baseurl=http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/core
    enabled=1
    gpgcheck=1
    [updates]
    name=FreshRPMS-Updates
    baseurl=http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/updates
    enabled=1
    gpgcheck=1
    [freshrpms]
    name=FreshRPMS-Fresh
    baseurl=http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
    enabled=1
    gpgcheck=1
    
    [dries]
    name=Extra Fedora rpms dries - $releasever - $basearch
    baseurl=http://apt.sw.be/dries/fedora/fc4/$basearch/dries/RPMS/
    enabled=1
    gpgcheck=1
    
Apt and Synaptic:
  • Enable the repositories as described above for Yum (and be sure you have not removed the Extras repository as it contains apt), then open a terminal and type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum install apt
    Hit enter. Wait for the installation to complete. Type:
    yum install synaptic
    Hit enter. Wait for the installation to complete. Type:
    gedit /etc/apt/sources.list.d/dag.list
    Hit enter and gedit will open. If there is nothing in this file (blank page), type the following in gedit:
    # Name: Dag RPM Repository
    # URL: http://dag.wieers.com/apt/
    
    ### Dag RPM Repository for Fedora Core
    rpm http://apt.sw.be fedora/4/en/i386 dag
    
    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. While still in the root terminal, type:
    gedit /etc/apt/sources.list.d/freshrpms.list
    Hit enter and gedit will open. If there is nothing in this file (blank page), type the following in gedit:
    # Name: FreshRPMS
    # URL: http://ayo.freshrpms.net/
    
    ### Fedora Core
    rpm http://ayo.freshrpms.net fedora/linux/4/i386 freshrpms
    
    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. While still in the root terminal, type:
    gedit /etc/apt/sources.list.d/dries.list
    Hit enter and gedit will open. If there is nothing in this file (blank page), type the following in gedit:
    # Name: Dries RPM Repository
    # URL: http://dries.studentenweb.org/apt/
    
    ### Fedora Core
    rpm http://apt.sw.be dries/fedora/fc4/i386 dries
    
    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. While still in the root terminal, type:
    rpm --import http://dries.studentenweb.org/ayo/RPM-GPG-KEY.dries.txt
    Hit enter. Type:
    rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    Hit enter. Type:
    rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
    Hit enter. You have just imported the GPG keys for your apt repositories. Type:
    apt-get update
    Your apt repository package list will be updated. Close the terminal. Reboot.
  • After you have rebooted go to "Desktop" > "System Settings" > "More System Settings" >"Synaptic package manager". You will be asked to enter your root password. In Synaptic click on the "reload" icon to update your package list. You may now add programs to your Fedora Core installation by scrolling down the package list and checking appropriate check boxes for packages that you wish to add. When you are finished selecting them, click "apply".
Firefox and Thunderbird:
  • Firefox is now the default web browser in Fedora Core Linux and Thunderbird is included as an email client. For Thunderbird go to "Applications" > "Internet" > "Thunderbird Email". You can choose Thunderbird as your default email client by going to "Desktop" > "Preferences" > "More Preferences" > "Preferred Applications" and selecting "Thunderbird Mail" in the drop-down menu under the Mail Reader tab.
nVidia: (Use this section only if you have an nVidia GeForce graphics card.)
  • Log in as root. (If you are already logged in as your default user or a user other than root click "Actions" > "Log Out", click "OK", type "root" in the "Username:" box, hit enter, type your root password in the "Password:" box and hit enter.) Open a terminal.
  • Type:
    gedit /boot/grub/grub.conf
    Hit enter and gedit will open. If you have not already done so, remove "rhgb quiet" from the kernel line in grub.conf. Click the "save" button and then exit gedit. This will disable the "Red Hat Graphical Boot" at boot time which would otherwise interfere with the nVidia installation described below.
  • As root open the terminal and type:
    gedit /etc/X11/xorg.conf
    Hit enter and gedit will open. In the "module" section comment out (put a "#" in front of) load "dri" so that it reads # load "dri". In the "device" section change "nv" to "nvidia".
    Section "Module"
    	Load  "dbe"
    	Load  "extmod"
    	Load  "fbdevhw"
    	Load  "glx"
    	Load  "record"
    	Load  "freetype"
    	Load  "type1"
    #	Load  "dri"
    EndSection
    
    Section "Device"
    	Identifier  "Videocard0"
    	Driver      "nvidia"
    	VendorName  "Videocard vendor"
    	BoardName   "NVIDIA GeForce 4 MX (generic)"
    EndSection
    
    Click the "save" icon and exit gedit.
  • With the root terminal still open type:
    gedit /etc/rc.local
    Hit enter and gedit will open. At the end of the file add the line:
    /sbin/modprobe nvidia
    Add a carriage return as well if necessary to insure that there is a blank line at the bottom of the file. Click on the "save" icon and exit gedit. Close the terminal.
  • Click "Actions" > "Log Out" > "Restart the computer" and click "ok". When Fedora reboots it will try to load the nVidia driver (which has been downloaded but not yet installed). You will see the command line login prompt 3 or 4 times as it continues to try to load the driver and then you will see a text mode screen with the message "...cannot start the x server...". Answer "no" (right arrow and enter) to the question "would you like to view the x server output?". Answer "no" to the question "would you like me to run the x configuration program?". Answer "ok" to "...disable the x server for now...". You will then be presented with a text mode command line login prompt. Log in as root (type "root", hit enter, type your root password, hit enter), type "ls" and hit enter. You should see the nVidia driver file that you downloaded previously. If you have SELinux enabled type "/usr/sbin/setenforce 0" and hit enter. Type:
    sh *.run
    Hit enter. You will be presented with a text mode nVidia screen. Left arrow to "accept" and hit enter. Answer "yes" to "download...". Answer "ok" to "no matching kernel...". nVidia will build and install a kernel module for the nVidia driver. When the "...complete" screen appears hit enter on "ok". Type "/usr/sbin/setenforce 1" and hit enter if you had SELinux enabled when you began the nVidia installer to reenable SELinux. Type "reboot" and hit enter. You should see the nVidia splash screen when Fedora reboots indicating that the installation was successful.
  • Now if you wish to get rhgb (Red Hat Graphical Boot) working again open a terminal and type:
    su -
    Hit enter, type your root password and hit enter. Type:
    cp -a /dev/nvidia* /etc/udev/devices
    Type "y" and hit enter twice. Type:
    chown root.root /etc/udev/devices/nvidia*
    Hit enter. Type:
    gedit /etc/rc.local
    Hit enter and gedit will open. Remove the "/sbin/modprobe nvidia" line from rc.local, click on the "save" icon, and exit gedit. Type:
    gedit /boot/grub/grub.conf
    Hit enter and gedit will open. Add "rhgb quiet" back into the kernel line in grub.conf, click on the "save" icon, and exit gedit. Reboot. (If you upgrade your kernel be sure to remove "rhgb quiet" from grub.conf before you reboot into the new kernel. Then you can re-install the nVidia driver per these instructions again for the new kernel.)
True Type fonts:
  • Open Firefox. Go to http://www.mjmwired.net/resources/mjm-fedora-fc4.shtml#ttf and download (save to disk) http://www.mjmwired.net/resources/files/msttcorefonts-1.3-3.noarch.rpm. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • Click on the terminal icon. This will open the terminal. Type:
    su
    Hit enter, type your root password and hit enter. (This gives you root privileges in the terminal even though you are still in the default user's home directory.) Type:
    rpm -ivh *.rpm
    Hit enter. Wait for the installation to complete. Type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. (This deletes the downloaded RPM file in your home directory, however the program is already installed into your system.) Close the terminal. Reboot your machine.
Fedora Extras:
  • Many of the packages which were once maintained in the "Core" of the Fedora Core distribution have been moved to the "Extras" repository in FC4. It is trivially easy to install these programs because the Fedora Extras repository is enabled by default in yum. See http://fedora.redhat.com/docs/release-notes/fc4/#sn-packages-moved for the list. You should be made aware of the possibility that Fedora Extras (although now officially condoned and included in Fedora Core) may be incompatible with other third party repositories. This remains to be seen. See the warning about mixing repositories below. In the following example we install "Grip", the CD ripper from the Extras repository.
  • Click on the terminal icon. This will open the terminal. Type:
    su -
    Hit enter, type your root password and hit enter. Type:
    yum install grip
    Hit enter. Wait for the installation to complete. Reboot. Grip will now appear in "Applications" > "Sound & Video".
Yum Extender:
  • Yum Extender (yumex) is a new GUI front end for managing your updates and package installations via yum. Yum Extender is to yum as Synaptic is to apt. It is now included in Fedora Extras. To install yumex:
  • Click on the terminal icon. This will open the terminal. Type:
    su -
    Hit enter, type your root password and hit enter. Type:
    yum install yumex
    Hit enter. Wait for the installation to complete. Reboot. Yum Extender will now appear in "Applications" > "System Tools".
Java:
  • The official Fedora Core 4 Release Notes state: "Fedora Core 4 users are advised not to use the Java RPM provided by Sun. It contains Provides that conflict with names used in packages provided as part of Fedora Core 4. Because of this, Sun Java might disappear from an installed system during package upgrade operations. Fedora Core 4 users should use either the RPM from jpackage.org or manually install the Sun Java tarball into /opt. Sun Java 1.5+ is recommended for stability purposes." In order to accomplish this open Firefox, go to http://java.sun.com/j2se/1.5.0/download.jsp, click on Download JRE 5.0 Update 4, click the radio button to accept the license agreement, under "Linux Platform - J2SE(TM) Runtime Environment 5.0 Update 4" click on "Linux self-extracting file", to download jre-1_5_0_04-linux-i586.bin (save to disk). This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • You should run up2date or "yum update" as root as described above to update your kernel and then reboot your machine before you proceed with this step, then open a terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    mv *.bin /opt
    Hit enter. Type:
    cd /opt
    Hit enter. Type:
    chmod +x *-linux-i586.bin
    Hit enter. Type:
    ./*.bin
    Hit enter. Hold the enter key down until the yes/no line appears to allow you to agree to the license agreement. Type "yes" and hit enter. Wait for the installation to complete. Type:
    rm *.bin
    Hit enter. Type "y" and hit enter. Type:
    su -
    Hit enter. This gives you root privileges and also puts you in the /root directory. Type:
    ln -s /opt/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
    (Note that by default Firefox looks in /usr/lib/mozilla/plugins for its plugins. If you have trouble with your plugins in Firefox you could substitute "firefox-1.0.6" or your most recent firefox directory name in place of "mozilla" in the above command.) Hit enter. Close the terminal. Reboot your machine and restart Firefox to enable the java plugin. You could go to http://www.dslreports.com/stest?loc=97 and click the start button to test your java plugin installation.
  • If you wish to run Java applications such as JAlbum or Azureus for bittorrent and you have installed the Sun J2SE JRE as described above, open a terminal and type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    gedit /etc/profile.d/java.sh
    Hit enter. In gedit type these lines:
    export J2RE_HOME=/opt/jre1.5.0_04
    export PATH=$J2RE_HOME/bin:$PATH
    Be sure to enter a carriage return after these lines. Click on the "save" icon in gedit and exit gedit. In the terminal (which should still be open) type:
    source /etc/profile.d/java.sh
    Hit enter. Type:
    which java
    Hit enter. You should see:
    /opt/jre1.5.0_04/bin/java
    Type:
    /usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.5.0_04/bin/java 2
    Hit enter. Type:
    /usr/sbin/alternatives --config java
    Hit enter. You should see:
    There are 2 programs which provide 'java'.
    
      Selection    Command
    -----------------------------------------------
    
    *+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
       2           /opt/jre1.5.0_04/bin/java
    
    Enter to keep the current selection[+], or type selection number:
    Type:
    2
    Hit enter. Type:
    /usr/sbin/alternatives --display java
    Hit enter. You should see:
    java - status is manual.
     link currently points to /opt/jre1.5.0_04/bin/java
    ...
    You should now be able to install and run Java applications.
Flash:
  • Open Firefox. Go to http://sluglug.ucsc.edu/macromedia/site_ucsc.html and download (save to disk) the flash-plugin for Fedora Core. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • Open the terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    rpm -ivh *.rpm
    Hit enter. Click "accept" in the license agreement windows that appears. Wait for the installation to complete. Type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. Close the terminal. Close and restart Firefox to enable the flash plugin, go to to test your flash plugin installation.
RealPlayer:
  • Open Firefox. Go to http://www.real.com/linux/ and download (save to disk) the RealPlayer10GOLD.rpm package. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • Open the terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. If you have not done an "everything" installation type:
    yum install compat-libstdc++-33
    Hit enter. Wait for compat-libstdc++-33 to be installed. Type:
    rpm -ivh *.rpm
    Hit enter. Wait for the installation to complete. Type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. Type:
    rpm -e HelixPlayer
    Hit enter. Close the terminal. Close and restart Firefox to enable the RealPlayer plugin, go to http://www.npr.org/, click on "NPR Program Stream", select "Listen to NPR audio with the Real player" and complete the RealPlayer Setup Assistant to test your RealPlayer plugin installation. (If the RealPlayer option does not initially appear in the dialog box click the radio button "open with" and click the checkbox "Do this automatically for files like this form now on", then click the "browse" button in the dialog box and in the filesystem browse to /usr/bin/realplay. Click "open". Click "OK".)
Rhythmbox:
  • Rhythmbox (Music Player) is the default music player in FC4 but does not come with MP3 support out of the box because of patent issues. (If you have done an "everything" installation it is found in "Applications" > "Sound & Video" as "Music Player".) To enable MP3 support for Music Player configure apt and synaptic as described above. Go to "Desktop" > "System Settings" > "More System Settings" >"Synaptic package manager". You will be asked to enter your root password. In Synaptic click on the "reload" icon to update your package list. Find the gstreamer stuff and click in the checkboxes (then click "Mark for installation") for each of "gstreamer", "gstreamer-plugins", "gstreamer-plugins-extra-audio", and "gstreamer-tools". Click the "Apply" button in Synaptic. When the installation completes close Synaptic. You should now have MP3 support in Rhythmbox (Music Player).
Adobe Reader:
  • Open the terminal. Type:
    wget ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdobeReader_enu-7.0.0-2.i386.rpm
    Hit enter. After the download completes type:
    su
    Hit enter. Type your root password. Hit enter. If you have not done an "everything" installation type:
    yum install compat-libstdc++-33
    Hit enter. Wait for compat-libstdc++-33 to be installed. Type:
    rpm -Uvh *.rpm
    Hit enter. After the installation completes type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. Type:
    acroread
    Hit enter. Adobe Reader will open. Click the "accept" button to accept the licence agreement. Close Adobe Reader. Type:
    gedit /etc/mozpluggerrc
    Hit enter. In /etc/mozpluggerrc comment out the pdf section with "#"s so that it looks like this:
    #######################
    ###application/pdf: pdf: PDF file
    ###application/x-pdf: pdf: PDF file
    ###text/pdf: pdf: PDF file
    ###text/x-pdf: pdf: PDF file
    ###	repeat swallow(documentShell) fill: acroread -geometry +9000+9000 +useFrontEndProgram "$file"
    ###	repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
    ###	repeat noisy swallow(gv) fill: gv -safer -quiet -antialias -geometry +9000+9000 "$file"
    #######################
    Click the "save" button in gedit and close gedit. Type:
    cd /usr/lib/mozilla/plugins
    (Note that by default Firefox looks in /usr/lib/mozilla/plugins for its plugins. If you have trouble with your plugins in Firefox you could substitute "firefox-1.0.6" or your most recent firefox directory name in place of "mozilla" in the above command.) Hit enter. Type:
    ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so .
    (Be sure to include the period at the end of the line.) Hit enter. Close the terminal. Open a terminal as your regular user (not root). Type:
    cd .mozilla/firefox
    Hit enter. Type:
    rm pluginreg.dat
    Hit enter. Close the terminal. Reboot your machine. Restart Firefox. Adobe Reader is installed. (I notice that on my installation Adobe Reader won't open pdf files in Firefox if there are tabs open. It only works (for me anyway) if I open them in a single Firefox browser instance with no tabs, or if I wait long enough, presumably for the pdf file to download, it will open if I hit reload even if more than one tab is open.) You could go to http://homepage.powerup.com.au/~squadron/linuxmanual.pdf to test your Adobe Reader installation. If you wish to open Adobe Reader outside of Firefox the command is "acroread".
Xine - a DVD and multimedia player:
  • To install Xine, a DVD and multimedia player, configure yum as described above, then open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum -y install xine xine-lib xine-skins
    Hit enter. Wait for the installation to complete. Close the terminal. Then go to "Desktop" > "Preferences" > "Removeable Drives and Media", click the "Multimedia" tab, check the checkbox for "Play video DVD disks when inserted", enter "xine --auto-play --auto-scan dvd" in the "Command" box, and click "close". (If you find that you cannot eject your cd or dvd with the eject button do a "umount /dev/cdrom*" as root and try again.)
  • To get the most out of Xine and other media players such as MPlayer you will need to install additional codecs. In order to do this open Firefox, go to http://www4.mplayerhq.hu/MPlayer/releases/codecs/ and download (save to disk) all-20050412.tar.bz2. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • Open the terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    mkdir temp
    Hit enter. Type:
    mv *.bz2 temp
    Hit enter. Type:
    cd temp
    Hit enter. Type:
    tar xvfj *.tar.bz2
    Hit enter. Type:
    cd all-20050412
    Hit enter. Type:
    mkdir /usr/local/lib/codecs/
    Hit enter. Type:
    cp *.* /usr/local/lib/codecs/
    Hit enter. Type:
    cd /usr/local/lib/codecs/
    Hit enter. Type:
    chmod 755 /usr/local/lib/codecs/*
    Hit enter. Type:
    mkdir /usr/lib/win32
    Hit enter. Type:
    cp /usr/local/lib/codecs/* /usr/lib/win32
    Hit enter. Type:
    rm -rf /home/your_user_name/temp
    (Substitute the name of your home directory for "your_user_name".) Hit enter. Close the terminal. The additional codecs are now installed. You may want to reboot your machine at this time.
MPlayer - another multimedia player:
  • To obtain MPlayer configure yum as described in the yum section above and install the extra codecs as described in the Xine section above, then open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum -y install mplayer mplayer-skins mplayer-fonts
    Hit enter and wait for the installation to complete, then close the terminal. Open a terminal as your regular user (not root). Type:
    gmplayer
    Hit enter. Mplayer will open. Close it. Type:
    gedit ~/.mplayer/config
    In gedit add these lines:
    # Write your default config options here!
    vo=xv
    ao=alsa
    
    Be sure to add a carriage return at the end of the file. Click the "save" button in gedit and close gedit. Close the terminal.
  • To obtain the Mplayer plug-in for playing web-embedded movies and multimedia in your web browser install Mplayer as described above, then open Firefox, go to SourceForge.net and download (save to disk) mplayerplug-in-3.05-1.fc4.i386.rpm. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.) Then open the terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    rpm -Uvh *.rpm
    Hit enter. Wait for the installation to complete. Type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. Close the terminal. Close and restart Firefox to enable the plugin. You could go to http://www.apple.com/trailers/ to test your MPlayer plugin installation. (The mplayerplug-in for web-embedded media does not work on some systems. If it does not work for you try Kaffeine with the kaffeine-mozilla plugin as described below.)
Kaffeine - another multimedia player for web-embedded content:
  • If the mplayerplug-in does not work for you for web-embedded content Kaffeine and kaffeine-mozilla very likely will. In order to install these you must have apt and synaptic configured as described above and the extra codecs installed as described in the Xine section above as well. If you have already installed the mplayerplug-in open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum remove mplayer mplayerplug-in
    Hit enter. Type "y" and hit enter. Wait for the removal to complete. Close the terminal.
  • Go to "Desktop" > "System Settings" > "More System Settings" >"Synaptic package manager". You will be asked to enter your root password. In Synaptic click on the "reload" icon to update your package list. Find "Kaffeine" in the package list, click it and select "Mark for installation". Click the "Apply" button in Synaptic. When the installation is complete close Synaptic.
  • Open the terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    rpm -Uvh *.rpm
    Hit enter. Type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. Close the terminal. Close Firefox and reboot. Open a terminal, type "kaffeine" and hit enter to initialize Kaffeine. Select the checkbox options to enable Kaffeine to act as a plugin for the various multimedia formats available. Close Kaffeine. You could open Firefox and go to http://www.apple.com/trailers/ to test your kaffeine-mozilla plugin installation.
XMMS - a music and MP3 player:
  • XMMS (Audio Player) is available for FC4 in Fedora Extras. To install XMMS make sure that the extras repository is configured in yum, then open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum -y install xmms xmms-skins
    Hit enter. Wait for the installation to complete. Close the terminal. Log out and back in. XMMS will be available in "Applications" > "Sound & Video" as "Audio Player".
  • If you wish to add MP3 support to XMMS the Fedora Core 3 version of xmms-mp3 will work for now until the FC4 version is available. Go to http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/3/xmms/ and download (save to disk) xmms-mp3-1.2.10-9.1.1.fc3.fr.i386.rpm. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.) Open a terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    rpm -ivh *.rpm
    Hit enter. Wait for the installation to complete. Type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. Close the terminal. You may now play mp3s and streaming mp3 files with xmms. You could go to http://wholewheatradio.org/ to test your xmms mp3 installation. (The executable is /usr/bin/xmms. When the "open with" dialog box appears click in the window opposite the "open with" radio button, select "other" and in "Filesystem" browse to and select /usr/bin/xmms. You may also wish to check the box for "Do this automatically for files like this from now on". Then click "ok".)
Beep - another media player:
  • Beep is a GTK2 based port of the XMMS media player and is available for FC4 in Fedora Extras. The Dries repository has an MP3 plugin for Beep. To install Beep make sure that the Dries repository is configured in yum as described above. Open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum install bmp bmp-mp3
    Hit enter. Wait for the installation to complete. Close the terminal. Log out and back in. Beep will be available in "Applications" > "Sound & Video".
VLC - the Videolan stand-alone media player:
  • The VideoLAN Client (VLC) is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. The Dries repository has a VLC rpm for FC4. To install VLC make sure that the Dries repository is configured in yum as described above. Open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum install videolan-client
    Hit enter. Wait for the installation to complete. Close the terminal. Log out and back in. VLC will be available in "Applications" > "Sound & Video" as "VideoLAN Client".
Amarok - a KDE multimedia player:
  • Amarok is a KDE multimedia player (also works in Gnome) which is compatible with the .m3u and .pls formats for playlists. The Fedora Extras repository contains Amarok. To install Amarok and configure it to use the gstreamer engine first get all the gstreamer stuff as described in the Rhythmbox section above. Then open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum install amarok
    Hit enter. Type "y" and hit enter. Wait for the installation to complete. Close the terminal. Log out and back in. Amarok will be available in "Applications" > "Sound & Video" as "amaroK". When you first open Amarok select your music directory and drag songs from it out onto the "playlist" panel. Then go to "Settings" > "Configure amaroK" > "Engine" and make sure that the "GStreamer Engine" is selected. You should now be able to play your MP3 and other format music playlists with Amarok.
NTFS support (for mounting your Windows partition):
  • Open the terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    uname -rp
    This will output your kernel version and processor type.
  • Open Firefox. Go to http://linux-ntfs.sourceforge.net/rpm/fedora4.html and download (save to disk) the appropriate NTFS RPM for your kernel version and processor type. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • With the root terminal still open type:
    rpm -ivh *.rpm
    Hit enter. Wait for the installation to complete. Type:
    rm *.rpm
    Hit enter. Type "y" and hit enter. Type:
    su -
    Hit enter. Type:
    mkdir /mnt/windows
    Hit enter. Type:
    /sbin/fdisk -l
    Hit enter. This will output your HPFS/NTFS partition identifier. Type:
    gedit /etc/fstab
    Hit enter and gedit will open. Type the following in gedit:
    /dev/hda1	/mnt/windows	ntfs	ro,defaults,umask=0222	0 0
    If your partition identifier is not "/dev/hda1" substitute the correct characters. (For example it might be "/dev/sda1" if you have a SATA drive.) Click the "save" icon in gedit and exit gedit. Close the terminal. Reboot. Your Windows partition should now be available in the file browser under "/mnt/windows".
Bittorrent and bittorrent-gui:
  • Open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    yum install bittorrent
    Hit enter. Type "y" and hit enter when you see "Is this ok [y/N]:". Wait for the installation to complete. Type:
    yum install bittorrent-gui
    Hit enter. Type "y" and hit enter when you see "Is this ok [y/N]:". Wait for the installation to complete. Type:
    /sbin/iptables -I INPUT -p tcp --destination-port 6881:6999 -j ACCEPT
    Hit enter. This adds a rule to open TCP ports 6881 through 6999 in your firewall. These ports are required by Bittorent. Type:
    /sbin/iptables-save > /etc/sysconfig/iptables
    Hit enter. This saves the rule. Type:
    /sbin/iptables -L
    Hit enter. This will output your iptables file so you can see if the rule was saved. Type:
    gedit /etc/mailcap
    Hit enter and gedit will open. Add these lines (and a carriage return) to /etc/mailcap:
    # bittorrent
    application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"
    
    Reboot your machine to implement the new firewall rule. Now you can download ".torrent" files with Firefox.
Azureus for bittorrent:
  • In order to install Azureus you must have previously installed Java and configured it to run Java applications. (See above.) Open Firefox. Go to http://sourceforge.net/project/showfiles.php?group_id=84122 and download (save to disk) Azureus_2.3.0.4_linux.GTK.tar.bz2. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • If you have not already opened tcp ports 6881 through 6999 in your Fedora firewall for another bittorrent application such as the one described above open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    /sbin/iptables -I INPUT -p tcp --destination-port 6881:6999 -j ACCEPT
    Hit enter. This adds a rule to open TCP ports 6881 through 6999 in your firewall. These ports are required by bittorent and/or Azureus. Type:
    /sbin/iptables-save > /etc/sysconfig/iptables
    Hit enter. This saves the rule. Close the terminal. You must also open udp port 6881 for Azureus. Open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    /sbin/iptables -I INPUT -p udp --destination-port 6881:6881 -j ACCEPT
    Hit enter. This adds a rule to open UDP port 6881 in your firewall. Type:
    /sbin/iptables-save > /etc/sysconfig/iptables
    Hit enter. This saves the rule. Type:
    /sbin/iptables -L
    Hit enter. This will output your iptables file so you can see if the rule was saved. Type:
    cd /home/your_user_name
    Hit enter. Type:
    tar xvfj *.tar.bz2
    Hit enter. Type:
    rm *.bz2
    Hit enter. Type "y" and hit enter. Type:
    cd azureus
    Hit enter. Type:
    ./azureus
    Hit enter. Azureus will open. Configure your preferences in the dialog box presented and update the plugin if asked. (If you get an error later when auto-updating you may have to log in as root (type "su -" in a terminal, hit enter, type your root password, hit enter), change to your home directory (cd /home/your_user_name), and run azureus as root temporarily to successfully update.) When you click on a ".torrent" file in Firefox you will be presented with a dialog box. Click the radio button "open with" and click the checkbox "Do this automatically for files like this form now on", then click the "browse" button in the dialog box (or the down arrow on the left side of the text window and select "other") and browse to "home" > "azureus", double click on "azureus" and select "azureus". Click "open". Click "OK". This will allow you to download ".torrent" files from within Firefox. Note: If you choose to download your files into a hidden directory such as the /home/your_user_name/.Azureus/shares folder you will have to click on "View" > "Show hidden files" in "Places" > "Home Folder" to get to them in the file browser.
Web Server:
  • Apache 2.0.54 is available in Fedora Core 4 because we have done the "everything" installation previously. Go to "Desktop" > "System Settings" > "Security Level". Provide your root password, click "ok" and on the "Firewall Options" tab make sure the checkbox next to "WWW (HTTP)" is checked. On the "SELinux" tab under (expanded) "HTTPD Service" make sure all the checkboxes are checked except "Disable SELinux protection for httpd daemon" unless you wish to disable SELinux for just the web server installation in which case you should check that box. Check the checkbox next to "Relabel on next reboot". Click "ok". If you have enabled SELinux in your Fedora Core installation and you wish to serve web pages from your user's home "public_html" directory as well as from your /var/www/html directory or if you wish to run a more complex web server with scripting language support you will probably have to disable SELinux for the httpd daemon in order for your web server to work properly. Although the situation is getting better with each release there are still issues with SELinux and full web server implementations in Linux. In order to do this go to "Desktop" > "System Settings" > "Security Level", provide your root password, click "ok" and on the "SELinux" tab under (expanded) "HTTPD Service" click the checkbox for "Disable SELinux protection for httpd daemon". Also under (expanded) "SELinux Service Protection" click the checkbox for "Disable SELinux protection for mysqld daemon". Check the checkbox next to "Relabel on next reboot". Click "ok". Reboot your machine.
  • Subscribe to a service such as https://www.dyndns.org/ or http://www.easydns.com/ to register a new domain name (such as your-name.org) and to have their DNS service map your computer's IP address to your new registered domain name. (The command "ifconfig" at the root prompt will output your IP address.) If you have a "dynamic" (changeable) IP address you can use their dynamic DNS service.
  • If you are using a router you may have forward ports 80, 8080, and 443 in order for your web server to work through your router's firewall. See http://www.portforward.com/routers.htm for instructions.
  • Open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type "ifconfig". Hit enter. This will output the IP address of your machine (the numbers after "inet addr:"). Type:
    gedit /etc/hosts
    Hit enter. In gedit edit your /etc/hosts file to include a line containing your IP address, your domain name, and your short domain name (the characters before the dot). Be sure to include a carriage return after this line. When you are finished your hosts file should look something like this:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1		localhost.localdomain localhost
    67.172.236.37		stantonfinley.org stantonfinley
    
    Click on the "save" icon in gedit and exit gedit. Type:
    gedit /etc/sysconfig/network
    Hit enter. In gedit edit your /etc/sysconfig/network file and replace "localhost.localdomain" with your domain name. When you are finished your network file should look something like this:
    NETWORKING=yes
    HOSTNAME=stantonfinley.org
    
    Click on the "save" icon in gedit and exit gedit. Type:
    gedit /etc/httpd/conf/httpd.conf
    Hit enter. In gedit scroll down to the "ServerAdmin" section and enter your email address instead of "root@localhost". Scroll down to the "#ServerName" section and uncomment it (take out the "#"). Then enter the registered DNS name of your web site ("whatever.com") or your server's IP address instead of "www.example.com". (If you don't know your IP address type "ifconfig" at the root prompt.) Scroll down and change "UseCanonicalName Off" to "UseCanonicalName On". Scroll down to the "Options" line and change "Options Indexes FollowSymLinks" to "Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews". Change "AllowOverride None" to "AllowOverride Options FileInfo AuthConfig Limit" in case you want to use .htaccess files in any of your web subdirectories. Change "DirectoryIndex index.html index.html.var" to "DirectoryIndex index.html index.html.var index.shtml index.cgi index.php index.phtml index.php3 index.htm home.html welcome.html". Under the "AddType application/x-compress .Z" and "AddType application/x-gzip .gz .tgz" lines add the line: "AddType application/x-httpd-php .php .phps .php3 .phtml .html .htm .shtml .fds". Uncomment the line "#AddHandler cgi-script .cgi" and add ".pl" so that it reads "AddHandler cgi-script .cgi .pl". If you wish to enable support to serve web pages from user's home directories as well comment (add a "#" in front of) "UserDir disable" so that it reads "#UserDir disable" and uncomment "#UserDir public_html" so that it reads "UserDir public_html". Then uncomment and edit the control access stanza for user directories below it so that it look something like this:
    <Directory /home/*/public_html>
        AllowOverride Options FileInfo AuthConfig Limit
        Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        <Limit GET POST OPTIONS>
            Order allow,deny
            Allow from all
        </Limit>
        <LimitExcept GET POST OPTIONS>
            Order deny,allow
            Allow from all
        </LimitExcept>
    
    </Directory>
    Click on the "save" icon in gedit to save your httpd.conf file and exit gedit. Close the terminal.
  • Open a terminal as your regular user (not root). Type:
    mkdir public_html
    Hit enter. Type:
    chmod -R 755 public_html
    Hit enter. Close the terminal.
  • Open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    cd /home
    Hit enter. Type:
    chmod 711 your_user_name
    (Use the name of the user's home directory you are working with in place of "your_user_name".) Hit enter. Close the terminal.
  • If you have a favicon.ico copy it to /var/www/html while still logged in as root (cp favicon.ico /var/www/html).
  • Go to "Desktop" > "System Settings" > "Server Settings" > "Services". Type in your root password in the dialog box that appears and click on "OK". Scroll down the list and check the check box for "httpd". Click on the "save" icon in the Service Configuration window and then close the window. Do this for runlevel 3 as well as for runlevel 5. Reboot your machine.
  • Open Firefox and type "http://localhost/" in the URL window and hit enter. You should see the default Apache/Fedora Core test page. Type your server's IP address in the URL window and hit enter. You should see the test page again. Type the registered DNS name of your web site ("whatever.com") in the URL window and hit enter. You should see the test page yet again.
  • While still logged in as root copy or move your web site index.html and any other HTTP content you may have to /var/www/html and/or to /home/your_user_name/public_html. Change permissions on these files to be viewable and executable as appropriate on the web (usually "chmod 755 *"). You are now serving web pages from your Fedora Core web server. You will find your server log files in /etc/httpd/logs and you will be able to view them while logged in as root.
PHP and Perl:
  • PHP 5.0.4 and Perl v5.8.6 are available in Fedora Core 4 because we have done the "everything" installation previously. If you have enabled the Apache web server (see above) you can test your PHP and Perl installations by doing the following: Open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    gedit /var/www/html/phpinfo.php
    Hit enter and gedit will open. In gedit type:
    <?php phpinfo();?>
    Click the "save" icon in gedit and close gedit. While still in the root terminal type:
    gedit /var/www/html/printenv.pl
    Hit enter and gedit will open. In gedit type:
    #!/usr/bin/perl
    ##
    ##  printenv -- demo CGI program which just prints its environment
    ##
    
    print "Content-type: text/plain\n\n";
    foreach $var (sort(keys(%ENV))) {
        $val = $ENV{$var};
        $val =~ s|\n|\\n|g;
        $val =~ s|"|\\"|g;
        print "${var}=\"${val}\"\n";
    }
    
    Click the "save" icon in gedit and close gedit. Type:
    chmod 755 /var/www/html/printenv.pl
    Hit enter. Then type:
    chmod 755 /var/www/html/phpinfo.php
    Hit enter. Now when you open these files from your web server (http://whatever.com/phpinfo.php and http://whatever.com/printenv.pl) you will be able to prove the functionality of your PHP and Perl installations. (In order to allow cgi scripts to execute outside of the cgi-bin directory configure your httpd.conf as described in the web server section above.)
  • Special note on configuring sendmail for PHP using your email provider's SMTP (simple mail transport protocol): Your /etc/php.ini file uses sendmail as the default transport agent for sending email from PHP applications ("sendmail_path = /usr/sbin/sendmail -t -i"). If you have not already done so edit (with gedit as we have been doing) "/etc/hosts" as root (type "su -" in a terminal, hit enter, type your root password, hit enter) and add the line "your.ip.address whatever.org whatever" where "your.ip.address" is the IP address of your web server, "whatever.org" is the registered DNS name of your web site (your canonical domain name), and "whatever" is your short domain name (the characters before the dot). Separate the IP address from the domain name with a couple of tabs. Edit "/etc/sysconfig/network" and change "localhost.localdomain" to "whatever.org" where "whatever.org" is the registered DNS name of your web site (your canonical domain name). Reboot. Edit "/etc/mail/local-host-names" and include your domain name. Edit "/etc/mail/sendmail.mc" and change "dnl define(`SMART_HOST',`smtp.your.provider')dnl" to "define(`SMART_HOST',`smtp.your.provider')dnl" where "smtp.your.provider" is the smtp host that you use to send mail from your email client. Also change "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl" to "dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl". Also change "dnl MASQUERADE_AS(`mydomain.com')dnl" to "MASQUERADE_AS(`your.provider.com')dnl" where "your.provider.com" is the host that you use to send mail from your email client (the characters after the "@"). Add these lines (near the bottom of /etc/mail/sendmail.mc but above "MAILER"): "FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl" and "GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl". Edit or create if required: "/etc/mail/generics-domains". Include in "/etc/mail/generics-domains" your canonical domain name. (Be sure to add a carriage return.) Edit or create if required: "/etc/mail/genericstable". Include in "/etc/mail/genericstable" the line:"username mailusername@your.provider.com" where "username" is your non-root Fedora user name and "mailusername@your.provider.com" is your email address that you use with your email client. (Be sure to add a carriage return.) As root execute the command: "make -C /etc/mail". This will regenerate "/etc/mail/sendmail.cf". Reboot or start (or restart) sendmail from "Desktop" > "System Settings" > "Server Settings" > "Services". (See http://www.linuxhomenetworking.com/linux-hn/sendmail.htm.)
MySQL:
  • MySQL Ver 14.7 Distrib 4.1.11 is available in Fedora Core 4 because we have done the "everything" installation previously. Go to "Desktop" > "System Settings" > "Server Settings" > "Services". Type in your root password in the dialog box that appears and click on "OK". Scroll down the list and check the check box for "mysqld". Click on the "save" icon in the Service Configuration window and then close the window. Do this for runlevel 3 as well as for runlevel 5.
  • If you have enabled SELinux in your Fedora Core installation you will probably have to disable SELinux for the httpd and mysqld daemons in order for MySQL and your LAMP (Linux, Apache, MySQL, PHP/Perl) web server to work properly. Although the situation is getting better with each release there are still issues with SELinux and full web server implementations in Linux. In order to do this go to "Desktop" > "System Settings" > "Security Level", provide your root password, click "ok" and on the "SELinux" tab under (expanded) "HTTPD Service" click the checkbox for "Disable SELinux protection for httpd daemon". Also under (expanded) "SELinux Service Protection" click the checkbox for "Disable SELinux protection for mysqld daemon". Check the checkbox next to "Relabel on next reboot". Click "ok". Reboot your machine.
  • Open the terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    gedit /etc/my.cnf
    Hit enter. In the mysqld section of my.cnf add the line:
    skip-innodb
    Your my.cnf should now look something like this:
    [mysqld]
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock
    # Default to using old password format for compatibility with mysql 3.x
    # clients (those using the mysqlclient10 compatibility package).
    old_passwords=1
    skip-innodb
    
    [mysql.server]
    user=mysql
    basedir=/var/lib
    
    [mysqld_safe]
    err-log=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid
    
    Click the "save" icon in gedit and close gedit. While still in the root terminal type:
    mysql -u root
    Hit enter. You will see the mysql> query prompt. Type:
    select user, host, password, select_priv, update_priv, delete_priv, insert_priv from mysql.user;
    Hit enter. You will see something like this:
    +------+------------------------+----------+-------------+-------------+-------------+-------------+
    | user | host                   | password | select_priv | update_priv | delete_priv | insert_priv |
    +------+------------------------+----------+-------------+-------------+-------------+-------------+
    | root | localhost              |          | Y           | Y           | Y           | Y           |
    | root | stantonfinley.org      |          | Y           | Y           | Y           | Y           |
    |      | localhost              |          | N           | N           | N           | N           |
    |      | stantonfinley.org      |          | N           | N           | N           | N           |
    +------+------------------------+----------+-------------+-------------+-------------+-------------+
    4 rows in set (0.17 sec)
    
    mysql>
    
    Type:
    set password for 'root'@'localhost' = password ('newpassword');
    where "newpassword" is the password that you want to use for the root MySQL super user. Hit enter. Type:
    set password for 'root'@'host' = password ('newpassword');
    where "host" is the name of your host as reported in the "host" column above and "newpassword" is the password that you want to use for the root MySQL super user. Hit enter. Type:
    select user, host, password, select_priv, update_priv, delete_priv, insert_priv from mysql.user;
    Hit enter. You will see something like this with your password hash-encrypted in the "password" column:
    +------+------------------------+------------------+-------------+-------------+-------------+-------------+
    | user | host                   | password         | select_priv | update_priv | delete_priv | insert_priv |
    +------+------------------------+------------------+-------------+-------------+-------------+-------------+
    | root | localhost              | 1e36745e3c0f99b0 | Y           | Y           | Y           | Y           |
    | root | stantonfinley.org      | 1e36745e3c0f99b0 | Y           | Y           | Y           | Y           |
    |      | localhost              |                  | N           | N           | N           | N           |
    |      | stantonfinley.org      |                  | N           | N           | N           | N           |
    +------+------------------------+------------------+-------------+-------------+-------------+-------------+
    4 rows in set (0.00 sec)
    
    mysql>
    
    Type:
    exit
    Close the terminal. Reboot your machine. Open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    mysql -u root -p
    Hit enter. MySQL should ask for your MySQL super user password. Type it in. Hit enter. Type:
    exit
    You have successfully set up MySQL.
phpMyAdmin:
  • Configure and enable your web server, PHP, and MySQL as described above. Open Firefox. Go to http://www.phpmyadmin.net/ and download (save to disk) the latest stable version in bzip2 format (phpMyAdmin-2.6.3-pl1.tar.bz2). This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your "Home" folder. (Left mouse click on the file and drag it on top of your "Home" folder while holding the left mouse button down. Then release the mouse button.)
  • If you have enabled SELinux in your Fedora Core installation you will probably have to disable SELinux for the httpd and mysqld daemons in order for MySQL and your LAMP (Linux, Apache, MySQL, PHP/Perl) web server to work properly. Although the situation is getting better with each release there are still issues with SELinux and full web server implementations in Linux. In order to do this go to "Desktop" > "System Settings" > "Security Level", provide your root password, click "ok" and on the "SELinux" tab under (expanded) "HTTPD Service" click the checkbox for "Disable SELinux protection for httpd daemon". Also under (expanded) "SELinux Service Protection" click the checkbox for "Disable SELinux protection for mysqld daemon". Check the checkbox next to "Relabel on next reboot". Click "ok". Reboot your machine.
  • Open a terminal. Type:
    su
    Hit enter. Type your root password. Hit enter. Type:
    mv *.tar.bz2 /var/www/html
    Hit enter. Type:
    cd /var/www/html
    Hit enter. Type:
    bzip2 -dc *.tar.bz2 | tar -xvf -
    Hit enter. Type:
    mv phpMyAdmin-2.6.3-pl1 phpmyadmin
    Hit enter. Close the terminal. Open the terminal again. Type:
    su -
    Hit enter. Type:
    gedit /var/www/html/phpmyadmin/config.inc.php
    Hit enter and gedit will open. In /var/www/html/phpmyadmin/config.inc.php change "$cfg['PmaAbsoluteUri'] = '';" to "$cfg['PmaAbsoluteUri'] = ' http://whatever.com/phpmyadmin/';", change "$cfg['blowfish_secret'] = ''; to "$cfg['blowfish_secret'] = 'passphrase';" where "passphrase" is some arbitrary string of characters that the blowfish algorithm will use to encrypt your password when using cookie type authentication. Under "Server(s) configuration" change "$cfg['Servers'][$i]['auth_type'] = 'config';" to "$cfg['Servers'][$i]['auth_type'] = 'cookie';". Click on the "save" icon in gedit and close gedit. Close the terminal. Open http://whatever.com/phpmyadmin/ in Firefox (where "whatever.com" is your web site). Type "root" in the "Username:" box and your MySQL super user password in the "Password:" box. Click the "Login" button. You should see the " Welcome to phpMyAdmin" web page. Open a terminal. Type:
    su -
    Hit enter. Type your root password. Hit enter. Type:
    mysql -u root -p
    Type in your MySQL super user password. Hit enter. For MySQL versions 4.0.2 and above (FC4) type:
    GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapassword';
    GRANT SELECT (
        Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
        Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
        File_priv, Grant_priv, References_priv, Index_priv, Alter_priv,
        Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv,
        Execute_priv, Repl_slave_priv, Repl_client_priv
        ) ON mysql.user TO 'pma'@'localhost';
    GRANT SELECT ON mysql.db TO 'pma'@'localhost';
    GRANT SELECT ON mysql.host TO 'pma'@'localhost';
    GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)
        ON mysql.tables_priv TO 'pma'@'localhost';
    GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'pma'@'localhost';
    
    where "pmapassword" is the password for the pma user that you select for the special "controluser" that has only the SELECT privilege on the mysql.user (all columns except "Password"), mysql.db (all columns), mysql.host (all columns) and mysql.tables_priv (all columns except "Grantor" & "Timestamp") tables. Hit enter. Hit enter. For MySQL versions 4.1.2 or later (FC4) open Firefox, go to http://whatever.org/phpmyadmin/scripts/create_tables_mysql_4_1_2+.sql. (Substitute "whatever.org" for your web site registered DNS name or IP address.) Click "edit" > "select all", click "edit" > "copy", go back to the terminal and click "edit" > "paste". Hit enter. The entire query should be executed at the "mysql>" prompt. If the entire query did not execute and put you back at the "mysql>" prompt carefully examine where it stopped compared to the text in "create_tables_mysql_4_1_2+.sql" and then copy the exact characters to the end of the file that need to be finished, paste them in the terminal at the location where the query stopped and hit enter again. When the query finishes type "exit" at the mysql> prompt. Type:
    gedit /var/www/html/phpmyadmin/config.inc.php
    Hit enter and gedit will open. In /var/www/html/phpmyadmin/config.inc.php change "$cfg['Servers'][$i]['controluser'] = '';" to "$cfg['Servers'][$i]['controluser'] = 'pma';", change "$cfg['Servers'][$i]['controlpass'] = '';" to "$cfg['Servers'][$i]['controlpass'] = 'pmapassword';" where "pmapassword" is the password for the pma user that you selected earlier, change "$cfg['Servers'][$i]['pmadb'] = '';" to "$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';", change "$cfg['Servers'][$i]['bookmarktable'] = '';" to "$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';", change "$cfg['Servers'][$i]['relation'] = '';" to "$cfg['Servers'][$i]['relation'] = 'pma_relation';", change "$cfg['Servers'][$i]['table_info'] = '';" to "$cfg['Servers'][$i]['table_info'] = 'pma_table_info';", change "$cfg['Servers'][$i]['table_coords'] = '';" to "$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';", change "$cfg['Servers'][$i]['pdf_pages'] = '';" to "$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';", change "$cfg['Servers'][$i]['column_info'] = '';" to "$cfg['Servers'][$i]['column_info'] = 'pma_column_info';", change "$cfg['Servers'][$i]['history'] = '';" to "$cfg['Servers'][$i]['history'] = 'pma_history';". Click on the "save" icon in gedit and close gedit. Close the terminal. Open Firefox and go to http://whatever.com/phpmyadmin/ where "whatever.com" is your web site registered DNS name or IP address. Log into phpMyAdmin as root. Click on the down arrow in the "Database:" selection dialog box in the left column. You should see the "mysql", "phpmyadmin", and "test" databases listed. You may delete ("drop") the "test" database if you wish. You have now successfully configured phpMyAdmin.
Resources:
Printable Version | 147368 unique hits since June 14th, 2005 | Revision History





Última actualización: 2007-04-29 10:56:59-05

Printable version

Add comment:



Captcha




Que estas haciendo?
rnstuxrnstux está:
checa esto!! agregale lógica y listo. http://tinyurl.com/5s7ttw
1 hour, 52 minutes ago

rnstuxrnstux está:
WTF?..
1 hour, 55 minutes ago

chilicuilchilicuil está:
Algun mononeuron sabra como agregar excepciones al firewall de win xp sp2 con vb6?
5 hours, 33 minutes ago

mandrakemandrake está:
Aarkerio como va el cyber? con linux
5 hours, 51 minutes ago

asimovasimov está:
Tremulous, Tremulous!
10 hours, 12 minutes ago

vendavalvendaval está:
OpenArena or AlienArena or Tremulous or others?
1 day ago

Que estuvimos haciendo >>
Chipotle Software

Uso OpenOffice.org
Una vez a la semana
Nunca
Uso otra ofimática
Todos los días
Una vez al mes
Rapiditas
Problemas de Lenguaje en niños
13656 lecturas