Click to See Complete Forum and Search --> : procedure for a full featured fedora install


Zubir
01-13-2004, 07:28 AM
WARNING: I AM ASSUMING THAT YOU HAVE A BROADBAND CONNECTION.

i am posting this in hope that it will help a newbie get a fedora install that will do 95% of what windows will do. now, on to it...

1) download and install fedora core 1. DO NOT accept the default packages. install the development tools, kernel development and system tools packages by choosing them from the menu. procede with the install.

2) after the first boot procedure, log in as root, then type the following commands in a terminal:

pwconv (this encrypts and hides your root password.)
hdparm -c3 -u1 -a64 -k1 /dev/hda (this speeds up the access of your hard drive. i'm assuming that you have an ultra dma drive.)
emacs /etc/rc.d/rc.local ( opens the rc.local file.)

a box will open, with a config script in it. retype the hdparm command above in the box, then click "save current buffer" under the "file" menu. this loads the hdparm command every time you reboot.

4) in the terminal, type:

mkdir /usr/lib/win32 (this is the location of the codecs that totem and mplayer use to view wma, mpeg, and quicktime movies will be.)

5) click on the redhat menu, then go to "system settings > server settings > sevices." scroll all the way down, the check the "yum" box. click "save," then exit.

6) log out, the log back in under your user account.

7) go to www.freshrpms.net, click on pacakges, click fedora, then download the yum package.

8) got to the directory where you saved the yum rpm, then double click it. you will be prompted for the root password.

9) after the rpm installs, open a terminal, su root, then type:

yum upgrade

yum will then upgrade all the packages on your system to the newest versions in the fedora and freshrpms repositories.

10) reboot your machine, as a new kernel will be installed.

11) go back to www.freshrpms.net, then download the apt, apt-devel, and synaptic packages for fedora, then install them as instructed with the yum package.

12) open a terminal, su root, then type:

cat /etc/apt/sources.list
apt-get update
apt-get -f install

13) click the redhat menu, go to "system tools > synaptic." open the "applications/multimedia" menu, then install "alsa-utils, alsa-driver, alsa-lib." then, open the "system environment/kernel" menu, and install the the "alsa-kernel module" for the kernel that you are using. (type uname -r to find out what kernel you have running.)

14) in the terminal, su root, then type:

emacs /etc/modules.conf

write down everything in this box, as the method i use for setting up alsa overwrites this file, and will make the system unusable if certain things are not re-entered. make sure to write down the eth0 setting, and the usb-controller settings.

15) go to http://ccrma-www.stanford.edu/planetccrma/software/, scroll down the to the "configuring the alsa sound driver" link, then click it. on the page that opens, you will see the link "alsaconf." click on it, then click "save page as" under the "file" menu in mozilla.

16) go to where you saved the "alsaconf" file, right click it, then go to "properties > permissions." click the "write" box under permissions. then close the window.

17) hold down the ctrl and alt keys, then press f1. log in as root, then type:

telinit 3 (the system will appear to freeze. press enter or return, then the prompt will reappear.)
cd to the directory where you saved the "alsaconf" file, then type:

./alsaconf

just follow the default prompts here. when alsa installs, you will see a message that the "device is missing or busy." ignore this. when it has finished, type:

telinit 5

18) open a terminal, su root, then type:

emacs /etc/modules.conf

here, re-enter the eth0 and usb settings you wrote down from earlier. put them BEFORE the alsa settings. under the alsa settings, type this:

post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :

these commands save the volume settings when you restart your machine, then restores them at boot time. save the buffer, close emacs, then restart your machine.

19) after logging back in as user, right click the speaker icon, then set the pcm, cd, video, and igain sliders at 75%, then save the settings. your sound should now be working, and alsa is much better than the default sound driver.

20) start synaptic back up, then install the following from "applications/multimedia."

gstreamer-plugins-extras
gstreamer-plugins-mp3
mplayer
totem
xmms-alsa
xmms-mp3

after this, you have the ability to play movie files, mp3's, and dvd's.

to be continued....

Zubir
01-13-2004, 07:29 AM
21) log out as user, log in as root, then go to http://ftp3.mplayerhq.hu/MPlayer/releases/codecs/ and download the following codecs:

latest win32 codecs
quicktime 6 dlls
quicktime extra dlls
realplayer 9 codecs
realplayer 9 win32 codecs
xanim codecs

go to the directory where you saved the codecs, then double click each one, and extract them to the /usr/lib/win32 directory you made earlier. MAKE SURE that you have the "recreate folders" option UNCHECKED, and that you are extracting them to the right directory!

22) go to a site that you know has both windows and mpeg video files, NOT quicktime. click on one of each, and a box will pop up asking you what to do. i use totem to watch movies, so i type this in the "open with" box:

/usr/bin/totem-xine

23) log out as root, then back in with the user account. start synaptic again, then install "mozplugger."

24) open a terminal, su root, then type:

emacs /etc/mozpluggerrc

a window with the mozplugger script config will open. comment out (put a "#" symbol in front of) each line UP TO the paragraph with the quicktime settings, which i think is the 4th paragraph. click "save current buffer," then exit.

25) click the redhat menu, then go to "preferences > more preferences > file management." click the box that says "show hidden and backup files."

26) go to your /home directory, then open the ".mozilla." folder. delete the file named "pluginreg.dat." you can go back and uncheck the "show hidden..." box if you wish.

27) go to www.apple.com, then go to the "quicktime" tab. click on one of the movie trailers. you should be able to watch the movie embedded in the page.

28) go to java.sun.com, then download the java runtime .rpm for linux. go to where you downloaded the file, right click it, and check the "write" box under permissions for owner. double click the file, then click "run in terminal." hold the enter or return key down until you see a prompt to type "yes" or "no." type "yes." an .rpm will now be built. double click on it to install it. open a terminal, su root, then type this:

ln -s /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-1.4.1/plugins/libjavaplugin_oji.so

29) go to www.macromedia.com, then download the flash tar package.

30) extract the flash tar file you downloaded, open the terminal, su root, then type:

cd install_flash_player_6_linux
./flashplayer-installer

press return key until you get a prompt asking what directory to install to. type:

/usr/lib/mozilla-1.4.1

31) if you still have the terminal open, and are logged in as root, type:

mozilla

mozilla will open, then go to the following sites to see if java and flash are working:

http://members.aol.com/IcedPinky/se...ava_search.html
www.homestarrunner.com

finally finished! this is the exact procedure i use to set up a new fedora install, that allows me to watch dvd's, listen to mp3's, and watch almost any video file available. if anyone has any trouble, feel free to ask any questions, and/or point out any errors i may have made typing this.

mdwatts
01-13-2004, 03:58 PM
Thanks and I've moved this to the correct forum (How I did it).

Zubir
01-13-2004, 03:59 PM
sorry for posting in the wrong forum!

mdwatts
01-13-2004, 06:00 PM
Originally posted by Zubir
sorry for posting in the wrong forum!

Not a problem... That's why us moderators get paid the BIG bucks. ;)

ultimatebilla
04-13-2004, 10:22 PM
Fantastic walkthrough/tutorial on this. You dont even know how great you've helped me. Ive been trying to do all of this so I could leave windows completely for a long time.

Although I did have 1 small problem. I did everything you said about the quicktime thing for mozilla. It plays but unfortunately I get absolutely no sound whatsoever. Everything else gets sound just not that. Hopefully you can help.

Zubir
04-16-2004, 04:49 PM
hi. glad the walkthrough could help you. however, i have no idea about no sound in quicktime, as it's never happened to me. if you started a post about the problem, maybe someone else would know. sorry again. best of luck!