2009年6月29日 星期一

secure your grub with md5 password

1.create md5 password with grub
#grub-md5-crypt
Password:
Retype password:
$1$hQxw5/$VV.DSdXzWeHQjwrumXB9D/

2.modify the grub config
#vi /boot/grub/grub.conf
add new line below
password --md5 $1$hQxw5/$VV.DSdXzWeHQjwrumXB9D/

3.reboot system to confirm password

install livan repository

1.install livan.repo with command line
#su -c "rpm -ivh http://rpm.livna.org/livna-release.rpm"

2.install freshrpm.repo with command line
#sudo rpm -ivh freshrpms-release-1.1-1.fc.noarch.rpm

Install adobe reader

1.get adobe reader bin file
#wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1./en/AdbeRdr9.1.1-1_i486linux_enu.bin

2.change file mode to execute
#chmod 777 AdbeRdr9.1.1-1_i486linux_enu.bin

3.install adobe reader
#sudo ./AdbeRdr9.1.1-1_i486linux_enu.bin

2009年6月28日 星期日

Install java (openjdk)

1.Install java-jre-1.6
#yum install java-1.6.0-openjdk-plugin

2.Install java-jdk-1.6
#yum install java-1.6.0-openjdk-devel

Install new add-on on firefox

1.Install flash plugins
#yum install flash-plugin

2.Install flahs-audio playback
#yum install libflashsupport

install the Fusion repository and mplayer

1.Install fusion repository
#su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

2.Install mplayer-gui
#yum install -f mplayer-gui

3.Install xine player
#yum install -f xine

4.Install xine extra codes
#yum -y install xine-lib-extras-nonfree

5.Install vlc player
#yum -y install vlc

6.Install Dvd-Playback
#yum -y install libdvdread

7.Install windows codes
#wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
#tar -jxvf all-20071007.tar.bz2
#su -c 'mkdir -p /usr/local/lib/codecs'
#su -c 'cp all-20071007/* /usr/local/lib/codecs'
#su -c 'ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf \
/usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs '

8.Install mp3-playback
#su -c 'yum -y install gstreamer-plugins-ugly libmad libid3tag id3v2'

2009年6月26日 星期五

install gcc tools

1.Install kernel and gcc tools for develop
#yum install kernel-devel gcc