OK I seem to be answering the same question over and over again, which I dont mind. It gives me something to do. but i figured id throw all the answers into one thread. so that i can refer people here if Im in a hurry or at least have someplace i can copy and paste from.
in the enitre post $ = user prompt and # = root prompt
this assumes you have the livna core and extras repos enabled if not see fedora faq or ask
#1
#2"su" != "su -"
if you switch user to root without the dash you do not get roots path, but your present working directory does not change.
if you switch to user root with the dash, you get roots path and your present working directory change to roots home directory.
I want to boot to text login/I don't want to boot to text login
#3as root
#gedit /etc/inittab
edit this line
id:5:initdefault:
5=graphical boot
3= text boot
note: this can also be achieved for a single session by pressing e or a at the grub screen opon reboot and adding a 5 to the end of the kernel line for a graphical boot, or a 3 to enter a text install
another note: if your xserver is not running use nano or vi instead of gedit
how to install mediaplayers/ a media plugin for firefox and their codecs
note: all players will need to install the codecs located at the bottom of this section
Ok xine is an easy one
Xine is my favorite media player to use for dvd's and files already on my hard drive
Mplayer is also pretty simple$su -
#yum -y install xine xine-lib xine-lib-extras-nonfree
#exit
I like mplayer for the plug-in, and i also use it as my default player on my mythbox. it has a lot of powerful features
totem$su -
#yum -y install mplayer mplayer-skins mplayer-fonts mplayerplug-in
#exit
if you are using either of the first two options i recommend removing totem
however if you want totem to work with the codecs this how it is done$su -
#yum remove totem
#exit
adapted from the info i got from hammel
The codecs (you need to do this for all the media players listed above)Code:$su - #yum install gstreamer-plugins gstreamer-ffmpeg #wget ftp://fr2.rpmfind.net/linux/freshrpms/fedora/linux/6/gstreamer-pitfdll/gstreamer-pitfdll-0.9.1.1-1.fc6.i386.rpm #rpm -ivh gstreamer-pitfdll-0.9.1.1-1.fc6.i386.rpm #exit
#4Code:$ wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20061022.tar.bz2 $su #mkdir /usr/local/lib/codecs/ #mkdir /usr/lib/win32 #tar xvfj all-20061022.tar.bz2 #cp ./all-20061022/* /usr/local/lib/codecs/ #chmod 755 /usr/local/lib/codecs/* #cp /usr/local/lib/codecs/* /usr/lib/win32/ #rm -rf ./all-20061022 #rm ./all-20061022.tar.bz2 #exit
madwifi drivers from source/ network manager cant see my madwifi chipset
this will allow you to activate the device ath0 from both the command line and system-config-network$su -
#yum install kernel-devel
or
#yum kernel-xen-devel
depending on what you need
#exit
$svn checkout http://svn.madwifi.org/trunk madwifi
$cd madwifi
$ make
$su
# make install
#/sbin/modprobe ath_pci
# gedit /etc/modprobe.conf
add these lines
alias wifi0 ath_pci
alias ath0 ath_pci
options ath_pci autocreate=sta
#5 chmod
i Think ill give an overview of chmod as some people seem to be having a problem with it
here it goes chmod a simplified version
# 6the permisions of linux files are set up into 3 catagories owner, group, others.
each of these three catagories has 3 options read, write, and execute
they are set by numbers coresponding to their binary values
111 in binary = 7 base 10 this gives the coresponding catagory all privilages
110in binary = 6 base 10 this gives the coresponding catagory read and write privallages
001 in binary = 1 base 10 this gives only execute permisions
101 = 5 thus = read execute and so forth
therefore a command of chmod 755 foo
would give the file foo
read write and execute permissions for the owner
and read and execute permissions for the group and others
the -R tag makes the Recursive, meaning it applies to all lower levels of the directory and files
use this with caution
my firefox only is working for some sites. this may be due to ipv6 being enabled.
ps i stole this from seve b/c im to lazy to type and i saw he just did so i figure ill just do the ole ctrl x ctrl v
# 7In the firefox address bar bype about: config
and filter for ipv
and set network.dns.disableIPv6
to true
Next
open a terminal and log in as root using
su -
yourpassword
then type
gedit /etc/modprobe.conf
and add the following lines
alias net-pf-10 off
alias ipv6 off
leave a blank line at the end save, and exit
then type
gedit /etc/sysconfig/network
and check and see if
NETWORKING_IPV6=yes
if it does change it to
NETWORKING_IPV6=no
save and exit
question: I forgot my root password, how do i reset it?
#8reboot
at grub screen press a
enter a 1
continue boot
at prompt
#passwd root
make a new password
reboot
use your new passwd
how do i set my default enviroment. / when i type startx i want to start kde, gnome, xfce, enlightenment etc
#9$rpm -qa | grep switchdesk
if nothing is found
$su
#yum install switchdesk
if it is found or you just installed it
$switchdesk "enviroment name here"
this make the specified enviroment your default, and when you startx or login through gdm it will start this enviroment
anaconda installed i586 kernell
the following will install the i686 kernel and the devel
note do NOT reboot until after you have completed all the steps.$ su -
$ Password: [Enter 'root' password]
# cp /boot/grub/grub.conf /boot/grub/grub.conf.bak
# rpm -e --nodeps kernel
# rpm -e --nodeps kernel-devel
# rpm -ivh http://redhat.secsup.org/fedora/core...8.fc6.i686.rpm
# rpm -ivh http://redhat.secsup.org/fedora/core...8.fc6.i686.rpm
# cp /boot/grub/grub.conf.bak /boot/grub/grub.conf
# 10
how do i play mp3/ what is a good mp3 player
if your wondering why fedora does not ship with mp3 support a quick trip to http://www.mp3licensing.com/
should explain why.
#11first let me state that it is a matter of opinion, that i happen to like xmms since i do, that is what i am going to describe. plus the install couldnt be any simpler, but bearing that i have got lots of questions. so here it is.
$su -
#yum -y install xmms xmms-mp3
#exit
now xmms should be able to play your mp3's by typing
$xmms filename
now to make this the default through nautalis.
there is probably a better way to do this. but i just right click on an mp3
go to properties
go to opens with
click add
click custom
type xmms
how can i install adobe acroread / arcoread wont work
go to adobe's webpage and download the rpm
http://www.adobe.com/products/acrobat/readstep2.html
save to a directory or uses system-install packages to install(reccomended)
if you saved it
$su -
#cd directroy you saved_rpm_to
#rpm -ivh A*.rpm (assuming only rpm starting with A in that dir if not type whole name)
#exit
now for everyone
$ su -
#gedit /usr/bin/acroread
change the line
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
to
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
to install the plugin
#cp /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so /usr/lib/mozilla/plugins
#exit
$ firefox
go to aboutlugins to check if it worked.
#12
how do i install sun jre/ firefox plugin
got to
http://java.sun.com/javase/downloads/index.jsp
download
J2SE(TM) Runtime Environment 5.0 Update 10 the self extracting file
$su -
#cd dir_java_downloaded_to
#mv jre-6-linux-i586.bin /opt
#cd /opt
#chmod +x jre-6-linux-i586.bin
#./jre-6-linux-i586.bin
#ln -s /opt/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
#gedit /etc/profile.d/java.sh (add these lines note the blank line at eof)
export J2RE_HOME=/opt/jre1.6.0
export PATH=$J2RE_HOME/bin:$PATH
#source /etc/profile.d/java.sh
#/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0/bin/java 2
#rm jre-6-linux-i586.bin
#exit
you should be good then.
note: to check type java -version and see what you get.
second note: I learned this from stanton finley, but this is a simplified and changed version of his how to. the original can be found here http://stanton-finley.net/
although this version is definitely different, thought i would give my source.