Wednesday, July 01, 2009

My Fedora 11 road map

- Basic system setup
-- Adjust [/etc/resolv.conf]
-- Adjust [/etc/fstab]
-- Adjust [/etc/sysconfig/network-scripts/ifcfg-eth0]

- Add repositories:
-- RPM Fusion (free)
-- RPM Fusion (non-free)
-- Adobe (flash plugin)

-- JPackage:

#---
wget http://www.jpackage.org/jpackage17.repo -O /etc/yum.repos.d/jpackage.repo
#---


--- Edit the /etc/yum.repos.d/jpackage.repo file:

If you want to work with J2EE, JBoss, and such change it to the following:
[jpackage-generic]
name=JPackage (free), generic
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1



[update: remove before installing, thanks to a reader comment]
-- Remove things I do NOT like (do not remove xine if you prefer KDE):

--- Multimedia players that do not play divx/mp3 and stays as default for video and audio files:
#---
yum -y erase \
xine \
gxine* \
totem*
#---


--- This is REALLY annoying, it prevents mplayerplug-in from working properly:
#---
yum -y erase \
mozplugger
#---


-- Update your system:
#---
yum -y upgrade
#---


- Install additional software:
-- Multimedia:
#---
yum -y install \
mplayer \
mencoder \
live555 \
gecko-mediaplayer \
gnome-mplayer \
vlc \
grip \
flash-plugin \
AdobeReader_enu \
k3b \
k3b-extras-nonfree
#---


-- Torrent with transmission
#---
yum -y install \
transmission
#---


-- Spell-checking
#---
yum -y install \
huspell \
aspell \
gtk-spell \
aspell-en \
huspell-en
#---


--- Additional languages: German (de), Spanish (es), and Portuguese from Brazil (br)
#---
yum -y install \
aspell-de \
huspell-de \
aspell-es \
huspell-es \
aspell-br \
huspell-br
#---


-- Email with sylpheed-claws
#---
yum -y install \
bogofilter \
enchant \
enchant-aspell \
claws-mail \
claws-mail-plugins
#---



-- XMMS with its most precious plug-ins
#---
yum -y install \
xmms \
xmms-libs \
xmms-skins.noarch \
xmms-mp3 \
xmms-faad2 \
xmms-flac \
xmms-wma \
xmms-cdread \
xmms-arts \
xmms-esd \
xmms-musepack \
xmms-acme
#---


-- Pidgin, a very good IM client
#---
yum -y install \
pidgin \
pidgin-guifications \
pidgin-libnotify \
pidgin-otr \
purple-plugin_pack-pidgin \
purple-plugin_pack-pidgin-xmms
#---


-- For kernel modules
#---
yum -y install \
kernel-devel \
kernel-PAE-devel \
kernel-headers
#---


-- Nautilus plug-ins
#---
yum -y install \
nautilus-open-terminal \
nautilus-search-tool \
nautilus-flac-converter \
nautilus-extensions
#---


-- Misc
--- Diagrams and images, usually old stuff that I'm used to
#---
yum -y install \
graphviz \
dia \
gv \
xfig \
xpdf \
eog \
gnuplot \
grace
#---


--- Editors and related
#---
yum -y install \
gvim \
kile \
dictd \
diction
#---


--- My beloved spreadsheet program
#---
yum -y install \
gnumeric
#---


--- Compression related programs
#---
yum -y install \
unrar \
p7zip
#---


--- Administration related programs
#---
yum -y install \
nmap \
mc \
tsclient \
rdesktop
#---


--- NVIDA
#---
yum -y install \
kmod-nvidia-PAE \
xorg-x11-drv-nvidia
#---

-- Note about the driver:
It messes the font resolution up (IMHO). So to keep the same aspect between the normal driver and the NVIDIA driver you need to edit the file: [/etc/X11/xorg.conf] and add the following line in the section Device:

Option "DPI" "90 x 90"

My section device looks like this:

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
Option "DPI" "90 x 90"
EndSection


-- Development
--- My beloved debugging program
#---
yum -y install \
ddd
#---


--- Java support:
#---
yum -y install \
gcc-java \
java-1.6.0-openjdk \
java-1.6.0-openjdk-plugin \
java-1.6.0-openjdk-javadoc \
java-1.6.0-openjdk-src \
java-1.5.0-gcj \
java-1.5.0-gcj-devel \
java-1.5.0-gcj-javadoc \
java-1.5.0-gcj-src
#---


--- JBoss support:
#---
yum -y install \
jbossas
#---



--- Eclipse for Java:
#---
yum -y install \
eclipse-platform \
eclipse-ecj \
eclipse-jdt \
eclipse-cvs-client \
#---


--- For SVN support:
#---
yum -y install \
rapidsvn \
eclipse-subclipse \
eclipse-subclipse-book
#---


--- For C++ development:
#---
yum -y install \
eclipse-cdt
#---


--- Mylyn plugin:
#---
yum -y install \
eclipse-mylyn \
eclipse-mylyn-ide \
eclipse-mylyn-java \
eclipse-mylyn-bugzilla \
eclipse-mylyn-trac
#---


A note on the docs, you will find them in:

/usr/share/javadoc/java-1.5.0-gcj/
/usr/share/javadoc/java-1.6.0-openjdk/


-- Update your system:
#---
yum -y upgrade
#---


- Install and setup third-part programs
-- VirtualBox/VMware
-- Skype
-- Real Player (check for the RPM version)
-- Sun Java
-- Eclipse

- Setup printers
- Backup [/etc] and [/boot/grub]
#---
tar -czf bkp-system.`/bin/date +"%Y%m%d-%H%M"`.tgz /etc /boot/grub
#---


- Some issues:
Acrobat Reader install its Firefox/Mozilla plug-in, which has a memory leak. I recommend to remove it. To do so:

#---
rm -f /usr/lib/mozilla/plugins/nppdf.so
#---


Related posts:

- SELinux
- Road map for Fedora 10
- Making USB to work with VirtualBox (external link)

7 comments:

Lovely China said...

Please tell me why you adjust the file "/etc/sysconfig/network-scripts/ifcfg-eth0". Thanks

Gustavo said...

If you cannot or do not want to use the NetworkManager you need to set the ifcfg-eth0, because sometimes the graphical interface messes things up and does not do what it supposes (personal experience).

Summarizing: if you do use NetworkManager (default) do not bother about ifcfg-eth0

I hope this helps.

Lovely China said...

Sorry for more questions. When we do not use NetworkManager , which file will execute or call "/etc/sysconfig/network-scripts/ifcfg-eth0" during the boot process.
My notebook PC can not connect to network at boot process when using NetworkManager.
I uninstalled NetworkManager , after linux boot finished, I run something like "init.d/networking start" on command line, it can connect to networking again. I would like to know whether there is any setting that can make the network connected at boot time.
I think that the connecting time is too earlier during the boot process, is there any way to delay the network connecting to the end of the boot process.
Please give me your some advice, Thanks more.

Gustavo said...

Hi,

The service is "network". You can set the service startup with the following command:

#---
ntsysv --level 345
#---


The NetworkManager has another philosophy and it is not the objective to start the network at boot time. For most users that is not a requirement (promptly availability of network at boot time) and this "late initialization" works fine.

The start-time can be set by renaming the symbolic links in:

/etc/rc.d/rc5.d

for instance, after including the network in the initialisation process:

#---
mv S10network S20network
#---

But do not forget to change the corresponding "kill" process:

#---
mv K10network K20network
#---

Lovely China said...

Thank you very much, I will have a try .

Unknown said...

Hi
Nicly done, but do you know my skript?
http://www.suvi.org/projects/linux_fedora_supersize.php

Cheers
Suvi

Gustavo said...

Hi Suvi,

Thanks for your comment, but I'm not a big fan of "magic" scripts. I like to keep things as clear and undisclosed as possible. That is why I didn't packed my stuff into one.

But that is me.