La bienvenue sur notre blog d'entreprise

Dans cet espace, nous vous proposons de partager nos découvertes et échanger autour de thèmes divers portant directement, ou indirectement, sur notre activité et les technologies que nous employons.

N'hésitez pas à intervenir, l'accès aux commentaires est libre.

Finaliser l'installation d'une Ubuntu

Portrait de Patrice
dans

Pour parfaire une installation d'une Ubuntu / Kubuntu / Xubuntu, voire une Debian, tapons :

  1. touch installation.sh
  2. chmod +x installation.sh

Éditez installation.sh et copiez-collez ce pavé.

#!/bin/sh
## Ce script va se charger d'installer les applications utiles
## Chaque ligne à partir de celle-ci peut être commentée ou décommenter en son début avec le symbole dièse # suivant vos besoins

## Système
apt-get install language-pack-kde-fr-base language-pack-kde-fr kde-i18n-fr # kde en fr
apt-get install language-pack-gnome-fr language-pack-gnome-fr-base # gnome en fr
#apt-get install aptitude aptitude-doc-fr # pour gérer ses paquets et les dépendances
apt-get install linux-generic
apt-get install linux-headers-generic build-essential linux-doc-2.6.20 # pour compiler
apt-get install linux-restricted-modules-$(uname -r)
apt-get install manpages-fr # pages d'aide en fr (man comme manu/-al/-el)
apt-get install debian-reference-fr debian-reference-common doc-debian-fr # les manuels debian, ça peut servir aussi
apt-get install doc-linux-fr-html doc-linux-fr-text
apt-get install jargoninformatique-data jargoninformatique # dictionnaire informatique 'geek'
apt-get install vim vimhelp-fr # éditeur texte spartiate mais rapide, en mode console
apt-get install htop    # liste les process en console
# Pour connaître le paquetage auquel un fichier appartient : apt-file search nom_du_fichier
# Pour connaître la lite des fichiers d'un paquetage  : apt-file list nom_du_package
apt-get install apt-file
# http://pwet.fr/blog/trouver_un_fichier_dans_le_systeme_de_paquets_apt
apt-get install lintian # Debian package checker
# lintian paquet.deb
apt-get install alien
apt-get install zsh zsh-doc zsh-lovers # un shell qui remplace avantageusement bash
# Compilation
apt-get install kommander
apt-get install checkinstall
#http://blog.bmaron.net/index.php?post/2007/05/07/Installer-proprement-vos-compilations-avec-checkinstall
apt-get install auto-apt # http://blog.sckyzo.com/2007/09/10/plus-de-problemes-de-dependances-lors-de-la-compilation-des-sources-auto-apt/

## Périphériques
apt-get install testdisk # testeur de disque dur (en cas de panne)
apt-get install smartmontools # avant que la panne de disque n'arrive
apt-get install kpowersave      # économie d'énergie (proc, disques, moniteur)
apt-get install superkaramba # affiche des infos sur le bureau avec un gui
apt-get install hddtemp # température des disques
apt-get install conky   # affiche les infos matérielles sur le bureau
apt-get install feh     # un background non noir avec conky (kde)
# feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`
apt-get install keytouch keytouch-editor # gérer les touches multimédia de son clavier
keytouch-editor
apt-get install libsane-extras sane-utils # scanner

## Utilitaires
apt-get install unrar unace par2 # archivage et contrôle d'archive
apt-get install alien # transforme les .rpm en .deb avec comme syntaxe : alien -c lenomdufichier.rpm ou alien --script lenomdufichier (en cas de besoin)
apt-get install qtparted                        # partitionnement de disque
apt-get install kteatime                        # minuteur
apt-get install qalculate qalculate-kde # calculatrice kde (existe en gtk)

## Sécurité
apt-get install clamav                  # antivirus
apt-get install rkhunter                        # rootkithunter
## http://routes-linux.scooba.org/rootkit_hunter.php
apt-get install chkrootkit                      # chkrootkit
##http://senseya.free.fr/index.php?tag/fail2ban#chkrootkit
apt-get install revelation # gestionnaire de mot de passe (en GTK)
apt-get install ssh # client ssh
apt-get install openssh-server
sed -ri 's/^(.*PermitRootLogin\ yes.*)$/PermitRootLogin\ no\ ##*modif/g' /etc/ssh/sshd_config
sed -ri 's/^(.*RSAAuthentication\ yes.*)$/#RSAAuthentication\ yes\ ##*modif/g' /etc/ssh/sshd_config
sed -ri 's/^(.*PubkeyAuthentication\ yes.*)$/#PubkeyAuthentication\ yes\ ##*modif/g' /etc/ssh/sshd_config
sed -ri 's/^(.*HostbasedAuthentication\ no.*)$/#HostbasedAuthentication\ no\ ##*modif/g' /etc/ssh/sshd_config
sed -ri 's/^(.*X11Forwarding\ yes.*)$/X11Forwarding\ no\ ##*modif/g' /etc/ssh/sshd_config
/etc/init.d/ssh restart
apt-get install gnupg2  # GnuPG
apt-get install kgpg    # front-end pour GnuPG sous kde
gpg --gen-key           # choisir DSA et Elgamal (par défaut)
#Utiliser OpenPGP et PGP/MIME avec KMail
apt-get install gnupg-agent pinentry-qt
#http://doc.ubuntu-fr.org/kmail_openpgp#prerequis

## Gravage
apt-get install k3b k3b-i18n libk3b2-mp3 libk3b2
apt-get install openoffice.org-base # semblent pas installés sous Feisty
apt-get install kicker-contactsmenu # applet de contact
#http://www.kde-apps.org/content/show.php/Contacts+applet+for+Kicker?content=34479&PHPSESSID=e51c8f8015f11f2f91d2138f728883a3

## Bureautique
apt-get install openoffice.org-help-fr openoffice.org-l10n-fr openoffice.org-spellcheck-fr-fr openoffice.org-hyphenation-fr

## Codecs
# permet la lecture de formats Microsoft sous linux (wma, wmv, sans DRM)
apt-get install w32codecs
# permet la lecture de DVD crypté sous linux
apt-get install libdvdcss2
# permet la lecture de DVD avec les menu sous linux
apt-get install libdvdread3
# permet d'avoir accès à la lecture d'un maximum de format de média sous Kubuntu
apt-get install libxine-extracodecs
# permet la lecture de DVD crypté sous linux
apt-get install libdvdcss2
# permet de graver des Cd audio depuis K3B
apt-get install libk3b2-mp3
# permet de compléter les tags de fichier mp3 dans Amarok
apt-get install libtunepimp5-mp3
# plugin java pour les navigateurs web
apt-get install sun-java6-plugin
# plugin flash pour les navigateurs web
apt-get install flashplugin-nonfree

## Imagerie
apt-get install gimp gimp-data gimp-data-extras gimp-help-fr gimp-helpbrowser gimp-print gimp-python gimp-resynthesizer gimp-svg
gimp-texturize grokking-the-gimp # gimp
apt-get install digikam digikam-doc digikamimageplugins digikamimageplugins-doc  kipi-plugins kipi-plugins-doc # gérer ses collec. photos
apt-get install inkscape # dessin vectoriel
apt-get install imagemagick # convertir, éditer et composer des images
apt-get install konq-kim                               - image service menu for Konqueror

## Internet
apt-get install firefox firefox-dom-inspector mozilla-firefox-dom-inspector mozilla-firefox-locale-fr-fr # navigateur
apt-get install mozilla-thunderbird mozilla-thunderbird-locale-fr # courielleur
apt-get install myspell-fr-fr # avoir le correcteur orthographique dans Thunderbird
apt-get install webhttrack # aspirateur web
# http://www.httrack.com/page/21/en/index.html

## P2P
apt-get install klibido # newsgroup
apt-get install amule amule-utils # p2p généraliste
apt-get install nicotine python-pyvorbis # p2p musique pointue

## Player et viewer
apt-get install kaffeine kaffeine-mozilla kaffeine-xine
apt-get install kmplayer kmplayer-base kmplayer-konq-plugins
apt-get install mplayer mplayer-doc mplayer-fonts mplayer-skin mplayer-skin-blue mplayer-skins
apt-get install mozilla-mplayer # codec pour FF
# http://forum.kubuntu-fr.org/viewtopic.php?id=84379
apt-get install mplayerthumbs # si n'existe pas dans les dépôts voir avec un deb en local
## Autre
apt-get install aspell-fr aspell-bin
apt-get install msttcorefonts # fontes Windows
fc-cache -f -v # reconstruit les fichiers de cache d'information de polices

## Développement
apt-get install cssed # éditeur de css
apt-get install meld # éditeur de diff(rérences) en GTK
apt-get install kompare # bof
apt-get install kdiff3  # mieux
apt-get install amaya
apt-get install agave

## Postfix
## http://doc.ubuntu-fr.org/serveur/mail?s=postfix
apt-get install postfix courier-imap
cd ~
maildirmake Maildir
apt-get install mailutils
/etc/init.d/postfix restart && /etc/init.d/courier-imap restart && /etc/init.d/courier-authdaemon restart

## Le look
apt-get install kdmtheme # gestionnaire de thème KDE
apt-get install kde-kdm-themes kdeartwork-theme-icon kdeartwork-theme-window # thèmes supplémentaires
apt-get install kwin-style-crystal kwin-style-powder kwin-style-blended kwin-style-serenity kwin-baghira kwin-style-alphacube kwin-style-knifty kwin-style-suse2 # contours des fenêtres
apt-get install kde-style-comix kde-style-polyester kde-style-klearlook kde-style-lipstik kde-style-serenity kwin-baghira # style de fenêtre
apt-get install kwin-style-powder kwin-style-blended kwin-style-serenity kwin-style-alphacube  kwin-style-suse2 kde-style-comix kde-style-polyester kde-style-klearlook kde-style-lipstik kde-style-serenity kwin-baghira # thème de couleur
apt-get install kde-icons-crystal kde-icons-gorilla kde-icons-mono kde-icons-nuovext kde-icons-crystalclear kde-icons-korilla kde-icons-noia kde-icons-nuvola # thème d'icône
apt-get install chameleon-cursor-theme comixcursors crystalcursors industrial-cursor-theme # pointeur de souris

## Son
apt-get install soundkonverter

## ----------------------------------
apt-get install most #
update-alternatives --config pager # et choisir most
kgtk
# http://www.sim07.net/2007/06/09/kgtk-ou-comment-ameliorer-lintegration-de-firefox-dans-kde/


## Un peu de sécurité
chkrootkit
rkhunter --update
rkhunter -c
Lancez par : sudo sh installation.sh