Thursday, April 8, 2010

About Dual Boot

Optimizing Your Single Hard Drive Installation
There is a different setup for a single drive.
You can check any detected drive by using:
&] sudo fdisk -l
&] sudo blkid
&] ls -l /dev/disk/by-uuid

You can mount any FAT{16,32} by doing:
$] $myusb=/media/SHAR ; sudo mkdir $myusb
$] sudo mount -t vfat -o defaults,user,exec,uid=1000,gid=100,umask=000 /dev/sda8 $myusb

You can check the disks using the following command line:
&] sudo /sbin/fdisk -lu /dev/{h,s}d{a,b}

Optimizing Your Fedora
There are different ways.
You may check your Hard Drive with the following command:
&] sudo /sbin/fdisk -lu /dev/{h,s}d{a,b}

1st backup your files:
&] su
&] cp /etc/sudoers /etc/sudoers.orig
&] cp /etc/group /etc/group.orig

2nd become a sudoer:
  •  enable group wheel in /etc/sudoers
  •  add your username in wheel in /etc/group

3rd optimize yum:
&] sudo yum -y install yum-plugin-fastestmirror
&] sudo rpm -ivh
&] sudo rpm -ivh

4th optimize Network
&] sudo cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.orig
&] sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0

5th optimize mp3 players
&] sudo yum -y install xmms xmms-mp3 xmms-faad2 xmms-pulse xmms-skins
&] sudo yum -y install audacious audacious-plugins-freeworld*
&] sudo yum -y install banshee rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg
&] sudo yum -y install amarok xine-lib-extras-freeworld

6th optimize Media players
&] sudo yum -y install mplayer mplayer-gui gecko-mediaplayer mencoder
&] sudo yum -y install xine xine-lib-extras xine-lib-extras-freeworld
&] sudo wget
&] sudo mkdir -p /usr/lib/codecs
&] sudo tar -jxvf all-2010303.tar.bz2 --strip-components 1 -C /usr/lib/codecs/
&] sudo yum -y install vlc
&] sudo rpm -ivh
&] sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
&] sudo yum -y install libdvdcss
&] wget
&] sudo rpm -i RealPlayer11GOLD.rpm

7th optimize your fonts
&] sudo wget
&] sudo rpm -ivh msttcore-fonts-2.0-3.noarch.rpm

8th optimize Adobe
&] sudo rpm -ivh
&] sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
&] sudo yum -y install flash-plugin AdobeReader_enu

9th optimize GNU Java
&] sudo yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-plugin

10th optimize Sun Java @ (rpm or bin)
&] sudo sh jdk-6u19-linux-i586-rpm.bin
&] sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000
&] sudo /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/ /usr/java/default/lib/i386/ 20000
&] sudo /usr/sbin/alternatives --config java
&] sudo /usr/sbin/alternatives --config

11th optimize Samba
&] sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig
&] sudo nano /etc/samba/smb.conf
&] sudo smbpasswd -a $username
&] sudo /etc/init.d/smb.conf start
&] /sbin/chkconfig --list smb
&] sudo /sbin/chkconfig --list smb
&] /sbin/chkconfig --level 35 smb on
&] sudo /sbin/chkconfig --list smb
&] sudo /etc/init.d/smb.conf restart
&] system-config-firewall
&] sudo system-config-firewall-tui
&] system-config-selinux

12th optimize Network configuration
&] sudo system-config-network
you can change localhost to any name
you can change .localdomain to any account (i.e.

17th optmize with Wine:
&] yum list|grep ^wine|awk '{print $1}'|xargs sudo yum -y install

Optimizing Your Kubuntu
There are different ways to do it, The Kunutnu installation is minimal.

1rst your software manager:
&] sudo apt-get -y install synatic

2nd edit your grub.cfg for a propet time out at login
&] grep time /boot/grub.cfg

3rd allow mount of ntfs:
&] apt-cache search ntfs|grep ntfs|awk '{print $1}' | grep -v dev | xargs sudo apt-get -y install

4th allow medibuntu:
&] sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
&] sudo apt-get --yes install app-install-data-medibuntu apport-hooks-medibuntu
&] wget -c
&] sudo dpkg -i libdvdcss2_1.2.9-2medibuntu4_i386.deb
&]  sudo apt-get -y install libdvdcss2 w32codecs alsa-firmware app-install-data-medibuntu hot-babe rmconverter realplayer non-free-codecs mplayer mplayer-gui mplayer-doc mencoder libavcodec-extra-52 libavdevice-extra-52 libavfilter-extra-0 libavformat-extra-52 libavutil-extra-49 libdvdcss2 libpostproc-extra-51 libswscale-extra-0

5th optimize with AdobeReader:
&] apt-cache search acroread|grep acroread|awk '{print $1}' |xargs sudo apt-get -y install

6th optimize using snort:
  • after installing snort,  answer the configuration prompt
  • Address range for the local network (router followed by /16 as
7th optimize using debian-med port to ubuntu med-*

8th optimize using R:
&] apt-cache search r | awk '{print $1}' | grep ^r- | grep -v dbg | sudo xargs apt-get -y install

19th optimize with Wine (windows emulator) using apt-get

No comments:


HTMLCode Content