Installation ubuntu

Cette page est un aide mémoire pour réinstaller ubuntu avec ma configuration rapidement.
Téléchargement:
http://cdimages.ubuntu.com/releases/9.04/release/

Paquets à installer


A ajouter:
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
dans /etc/apt/source.list:
deb http://packages.medibuntu.org/ intrepid free non-free
apt-get install fslint sox libsox-fmt-all fetchmail procmail \
bbdb latex2html texlive-doc-fr texlive-lang-french latex2rtf \
amsn ctwm xdaliclock mysql-server mysql-doc-5.0 mencoder \
mplayer vlc xpaint zsh audacity dosemu dict dictd dict-gcide \
texi2html texinfo a2ps dict-freedict-eng-fra dict-freedict-fra-eng \
rar unrar cfv jed curl vim emacs22-el stow xfonts-100dpi-transcoded \
xawtv tv-fonts apache2 apache2-doc lm-sensors tetex-frogg \
tetex-frogg-doc texlive-formats-extra gv verbiste xkeycaps gnomebaker \
vorbis-tools chkrootkit hddtemp manpages-fr manpages-fr-dev \
manpages-fr-extra most units gqview php-mode \
ttf-xfree86-nonfree t1-xfree86-nonfree unace-nonfree ifstat dstat \
sysstat dia nmap spamassassin mailutils gawk lynx qiv xpdf \
ccd2iso weblint-perl wipe wine cabextract virtualbox-ose \
mldonkey-server amule doxygen php5 phpmyadmin loop-aes-utils xlockmore \
sitecopy rkhunter gparted transfig lame tidy sun-java6-jdk xchat \
gecko-mediaplayer non-free-codecs le-dico-de-rene-cougnenc festival \
festvox-don mpg123 php5-curl \
openoffice.org-java-common antiword openoffice.org-writer2latex \
texlive-latex-extra libjpeg-progs pidgin qemu \
flashplugin-nonfree ffmpeg aspell-fr libxvidcore4 avifile-xvid-plugin \
pinfo figlet xcalib xosd-bin gocr tiemu \
msttcorefonts skype aumix mp3check screenlets mpd mpc sonata \
traceroute mpage giftrans


Configuration


Ajouter dans :
cryptoloop
(http://forum.ubuntu-fr.org/viewtopic.php?pid=1428697) Divers:
adduser levant video
addgroup levant audio
update-alternatives --config pager
(man en couleur)
localedef -i fr_FR -f ISO-8859-15 fr_FR
(Creation des locales)
sensors-detect
(Ajouter resultat dans /etc/modules)
(ou copier le contenu du /etc/modules precedent)
/etc/X11/xorg.conf
Dans /etc/passwd, remplacer bash par zsh

Ajouter dans /etc/sudoers:
supersun  ALL=(ALL)NOPASSWD: ALL
Editer le /etc/fstab. (Utiliser blkid pour lister les partitions). Ajouter un noatime pour les SSD.

Logiciels


VirtualBox

Installer en suivant la procédure ubuntu ou:
cp /old/usr/share/virtualbox/VBoxGuestAdditions.iso /usr/share/virtualbox/
Installer le module (e.g.: virtualbox-ose-modules-2.6.24-19-generic)
A installer avec stow

Opera

Télécharger opera : http://www.opera.com

IEs 4 Linux

http://www.tatanka.com.br/ies4linux/page/Main_Page

dictd

recopier les nouveaux fichiers *.dict.dz et *.index dans /usr/share/dictd/
editer /etc/dictd/dict.conf commenter tout sauf localhost
editer /var/lib/dictd/db.list  et ajouter nouveaux fichiers
/etc/init.d/dictd restart

Materiel


Imprimante HP PSC1510

la brancher...
dans admin->imprimante, selectionner "En faire l'imprimante par defaut"

souris logitech G5

Voir http://doc.ubuntu-fr.org/souris_logitech_g5

Carte TV Leadtek Winfast Xpert TV 2000

Résolution bug du kernel 2.6.22-14-generic, module cx8800 (consommation de cpu).
Les solutions (au choix) :
  • Passer l'option nohz=no au kernel (ce que j'ai fait, il suffit d'éditer le /boot/grub/menu.lst)
  • Supprimer la carte TV (forcement après ça ne fonctionne plus)
  • Faire un rmmod sur le module cx8800 (pareil qu'au dessus)
  • Passer du kernel 2.6.22-14-generic au kernel 2.6.22-14-386 (non testé) : apt-get install linux-image-2.6.22-14-386 (et en cas de driver NVIDIA) : apt-get install linux-restricted-modules-2.6.22-14-386
Liens :
http://forums.virtualbox.org/viewtopic.php?t=1189
http://ubuntuforums.org/showthread.php?t=584221
https://bugs.launchpad.net/ubuntu/+sour bug/150515

Divers


Recopier la config d'apache / BDD Mysql.