My Fedora Core 3 installation notes

Source: Internet
Author: User
Tags gpg gstreamer rhythmbox

My Fedora Core 3
The purpose of this time is to completely discard windows-if I have a genuine version, I will still leave a partition for him. Do I have one? No, so first format and then fast...

First, experiment on my machine.
Server Configuration:
CPU: AMD athlon 1.0g
Ram: 392 M SDRAM
HDD: 40 GB
SND: Sound Blaster vibr128
Videocard: 7200
I. Initial installation
Fedora Core 3 has a total of 9 disks, of which 4 are installed with Cd, 4 are source code CD, and 1 is an emergency system disk. You can go to the fedora website to download the package, or you can buy a free installation service for 90 days at a nearby software store (no trial, huh, huh ).
The installation interface is almost the same as core1, at least I have not found any difference. The installation process is also the same as before. I chose to install it completely (it turns out that some KDE programs are still difficult in Chinese, so I deleted them later ). Hard Disk partitioning method:

Code:

/Dev/hda1 122 m/boot/dev/hda2 20786 M/home/dev/hda3 14763 M/usr/dev/hda5 1000 m swap/dev/hda6 981 m/dev /hda7 494 M/tmp/dev/hda8 510 m/var (later I found this was a mistake, so you should change to at least 1.5 GB)

The installation is completed in about three minutes. The first thought after entering is that the desktop is more beautiful than core 1. Open OpenOffice and try to find that the Chinese culture is quite good this time. You can enter Chinese directly without setting the font.
However, like any fedora version, after installation, it is only a disabled System (no? She used my 4G hard drive ??). You can use totem, helix, or xmms to open an MP3 file and try it! Why ??? Well, it's no surprise that this is e-patent.

Ii. Upgrade and complete the system
When the Fedora Core 3 system is installed, it still has many bugs. For example, if the USB flash drive has a Chinese file name, it will crash and the CDROM permission is incorrect, causing non-root users to be unable to play the video, there are many solutions on the Forum, but the best solution is to solve these problems through automatic updates.
1. Official system updates
To keep the system clean, we will first make official updates, and we will use yum for updates. To obtain updates from the fedora site, first import the GPG key of the system (Note: The following operations must be performed as root ):

Code:

rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

Then you can update it:
Yum update
Wait patiently for a while until you ask if you want to download the package, and then press y (you can skip this step through the-Y option ). Then you will roll up the gnome terminal (right-click the window in the window list and choose to roll up the terminal. How can this problem be solved ?) To IRC to chat, or go to the http://lumaqq.linuxsir.org to download a lumaqq you just need to execute Yum update again can continue from the last stop, until you find a satisfactory speed of the image. Note: Yum stores all downloaded packages in/var/Cache/yum, so make sure that your/var is large enough. In addition, if Yum update does not help you install the package, most of the reason is that some of the packages have been skipped, then you can perform the yum update operation again.
This step takes about half a day, but I spent an afternoon ~~
2. Add the fedora extras Repository
First download
Http://mpeters.us/linux/fedora-extras-pre.repo
Put the file in the/etc/yum. Repos. d/directory, which is the configuration file of the repository. Then run the following command:
Wget http://fedoraproject.org/pre-extras/RPM-GPG-KEY-Fedora-Pre-Extras
Su -- command = "rpm -- import rpm-GPG-key-fedora-Pre-EXTRAS"
Now you can get additional software packages from the repository.
For example, yum install bluefish
3. Add the rpm.livna.org Repository
Some patented packages cannot be directly placed in the two official repositories described above, such as MP3 lame, so you cannot play MP3, WMA and so on (non-users often suffer from Linux Crash ). The livna repository is unofficial and contains many patent-related packages (however, it is a legal channel, that is, your acquisition of the package does not violate the Patent Law ).
Install GPG key:
Rpm -- import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
Add image:
[User @ host ~] # Rsync rpm.livna.org ::
RlO RPM livna.org Repository
[User @ host ~] # Rsync rpm.livna.org: RlO
Drwxr-XR-x 4096 13:34:09.
Drwxr-XR-x 4096 2004/06/23 20:49:16 Fedora
Drwxr-XR-x 4096 2004/07/02 13:33:16 RedHat
Configure the Resource Warehouse:
Add the following content:

Code:

### See http://www.fedora.us/wiki/FedoraSources### And insert here the fedora.us repository configuration### And then add these lines to access rpm.livna.org repositories:[livna-stable]name=Livna.org Fedora Compatible Packages (stable)baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stablegpgcheck=1[livna-unstable]name=Livna.org Fedora Compatible Packages (unstable)baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstablegpgcheck=1[livna-testing]name=Livna.org Fedora Compatible Packages (testing)baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.testinggpgcheck=1

To the/etc/yum. conf file
OK, yum install lame!
However, MP3 still cannot be used ......
4. gstreamer and yjl warehouses
From FC2, there is a new thing called gstreamer.
Gstreamer is a framework for audio and video applications. When any program using gsreamer does not change its binary code, you only need to add an appropriate plug-in for gstreamer to enhance its capabilities! It is very similar to Mac's qtime, and will undoubtedly be the hope of Linux desktop applications.
However, although FC2 includes gstreamer, it has not released a program using the framework, and its totem is still the front-end of the traditional xine-by the way, in many forums, the FC3 audio stream playback solution is to reinstall the xine-totem, obviously, this will lose the benefits of gstreamer-FC3, while the drastic changes to rhythmbox/totem/sound juicer Based on the gstreamer framework. However, this also brings about a problem. The gstreamer plug-in on FC3 is not yet official (including quasi-official fedora. extra) and livna released, how to play MP3, WMA becomes very confusing to users. Of course, GNU/Linux developers all over the world can solve this small problem. Here I recommend yjl warehouse (http://mpeters.us/linux)
Add Repository:
Wget http://mpeters.us/YJL_GPG-KEY
Su -- command = "rpm -- import YJL_GPG-KEY"
And then the http://mpeters.us/linux/yjl.repo
Copy to/etc/yum. Repos. d/

Http://mpeters.us/linux/fc3_gstreamer.php
What we need

Simple:
Yum groupinstall GST-plugins-extras
You can.
More content to http://mpeters.us/linux/fc3_gstreamer.php
Let's take a look. There is also an audio sampling program similar to goldwave!

Note:
I found that there was a problem with the gstreamer VCD plug-in, and there was no way to do it later. Yum install mplayer-Gui reminds me that gmplayer needs to buffer the VCD, so it will be suspended for more than a dozen seconds, be patient and don't force it off.

5. Multiple audio streams
How do you get more and more confidence in Linux? However, if you enable totem and rhthmbox at the same time, you will find that you cannot play at the same time... The original FC3 default audio system adopts the exclusive mode.
You need to http://www.alsa-project.org/
Download the source code of ALSA-driver and ALSA-OSS. The version I downloaded is alsa-driver-1.0.8rc2, ALSA-OSS-1.0.8rc2, but I found a problem if the Yum-updated kernel is used for compilation, the compilation will fail due to header file changes, so for the time being, I can only start and compile it with the FC self-replaced Kernel 2.6.9-1.667 (which of the following methods can be used to compile it in the new kernel ).
Compilation Method:
1. Tar drops two packages and Su is the root user.
2. Into alsa-driver-1.0.8rc2
./Configure
Make
Make install
3. Enter the alsa-oss-1.0.8rc2
./Configure -- With-aoss = Yes
Make
Make install
Then you need to set the dmix plug-in of ALSA to implement soft multi-audio streams.
Create the/etc/asound. conf file. The file content is as follows:

Code:

pcm.!default {        type plug        slave.pcm "dmixer"}pcm.dmixer {        type dmix        ipc_key 1024        slave {                    pcm "hw:0,0"                    period_time 0                    period_size 1024                    buffer_size 8192                    rate 44100        }        bindings {                    0 0                    1 1        }}ctl.dmixer {        type plug        slave.pcm "dmixer"}pcm.mixin {        type dsnoop        ipc_key 5978293 # must be unique for all dmix plugins!!!!        ipc_key_add_uid yes        slave {                pcm "hw:0,0"                channels 2                period_size 1024                buffer_size 4096                rate 44100                periods 0                 period_time 0        }        bindings {                0 0                0 1        }}

Save it! You can test this by creating a new testsound file as a normal user:

Code:

#!/bin/shaplay /usr/share/sounds/startup3.wavaplay /usr/share/sounds/startup3.wavaplay /usr/share/sounds/startup3.wavaplay /usr/share/sounds/startup3.wav

Chmod A + x testsoud
Then run the two scripts simultaneously on different terminals. Hey hey, are you talking together?
Haha, here's a metamorphosis. I opened xmms at the same time (note that you must select the Alsa device in the options), totem, and rhythmbox. They can be put together!
Of course, this must ensure that the software uses the Alsa driver. For example, lumaqq cannot work well, and it cannot sound when playing music.

The last two images are attached. I wish you a pleasant Linux experience:

I. Start xmms and stardict with the Oxford English-Chinese dual-solution. use IRC to chat on freenode # Linux and open lumaqq ......

Ii. Watching the matrix and listening to three music ......... Pure BT

This article is completed with gedit in Fedora Core 3.
Author: hellwolf
E-mail: hellwolf@seu.edu.cn
QQ: 406418169
MSN: hellwolf_ OK @hotmail.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.