2012/12/11

Adobe Flash Player install in Fedora/CentOS/Red Hat

[root@localhost ~]$ su -

32bit
[root@localhost ~]$ rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
[root@localhost ~]$  rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

64bit
[root@localhost ~]$ rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
[root@localhost ~]$  rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
[root@localhost ~]$ yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl

CentOS and Red Hat
[root@localhost ~]$ yum groupinstall "Sound and Video"
[root@localhost ~]$ yum install flash-plugin nspluginwrapper curl

VirtualBox 4.2 install in Fedora 17

[root@localhost ~]$ su -
[root@localhost ~]$ # yum install gcc kernel-devel kernel-headers
[root@localhost ~]$ KERN_DIR=/usr/src/kernels/3.4.0-1.fc17.x86_64
[root@localhost ~]$ export KERN_DIR
[root@localhost ~]$ cd /etc/yum.repos.d/
[root@localhost ~]$ wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

2012/12/10

Fedora 17 修改指令

Login as a root from GUI on Fedora 17

[root@localhost ~]$ su -
Password:
[root@localhost ~]$ cd /etc/pam.d/
[root@localhost ~]$ gedit gdm-password

auth required pam_succeed_if.so user != root quiet

and change this line as below:

## auth required pam_succeed_if.so user != root quiet

Save & Exit

Logout and use root account.

VLC Player install in Fedora 17

1.login root account
$> su -
2. download vlc player
#> rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
3. #> yum install vlc
4. #> yum install mozilla-vlc

Grub Customizer Install in Fedora 17

1. Download the latest russianfedora-free-release rpm from:
http://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/releases/17/Everything/i386/os/
2. Install russianfedora-free-release rpm:
# rpm -Uvh russianfedora-free-release*rpm
3. Install grub-customizer rpm package:
# yum install grub-customizer

Fedora 17 with Xen 4.1

1. yum -y upgrade kernel
2. yum -y install xen libvirt python-virtinst
3. Open /boot/grub/menu.lst or /boot/grub2/grub.cfg to add those items:

title Fedora + Xen (3.3.4-5.fc17.x86_64)   
root (hd0,1)     kernel /boot/xen.gz
module /boot/vmlinuz-3.3.4-5.fc17.x86_64 ro root=/dev/sda1
module /boot/initramfs-3.3.4-5.fc17.x86_64.img

4. xm dmesg | head -n 5
5. /etc/init.d/libvirtd start; chkconfig libvirtd on
6. virt-install \   
--paravirt \   
--name=testvm \   
--ram=512 \   
--vcpus=4 \   
--file /dev/vmstorage/testvm \   
--graphics vnc,port=5905 --noautoconsole \   
--autostart 
--noreboot \   
--location=http://mirrors.kernel.org/debian/dists/squeeze/main/installer-amd64/