#!/bin/sh clear echo " "; echo "============================================="; echo " Installation des programmes ... "; echo " Version 1.2 - By MOUS "; echo " "; if [ "$1" = "" ]; then echo "Erreur, pas de paramettre >:-( "; echo " "; echo " web = Installe tous les programmes utile pour le web"; echo " media = Installe tous les programmes utile pour le multi-media"; echo " serveur = Installe tous les programmes utile pour les serveurs "; echo " graphisme = Installe tous les programmes utile pour le graphisme"; # echo " autre = Installe tous les programmes utile mais qui ne ce trouve pas dans des catégories"; fi if [ "$1" = "web" ]; then echo " Web > amsn, amule, gftp, skype, "; echo " wifi-radar, netspeed "; echo " "; fi if [ "$1" = "media" ]; then echo " media > k3b, amarok, kaffeine, vlc, xmms "; echo " kguitar "; echo " "; fi if [ "$1" = "serveur" ]; then echo " serveur > openssh-server, proftpd, apache2 "; echo " Mysql Serveur5, Phpmyadmin, PHP5 "; echo " "; if [ "$1" = "graphisme" ]; then echo " Graphisme > blender, gpaint "; echo " "; fi #if [ "$1" = "autre" ]; then # echo " Autres > Vmware-Player "; # echo " "; #fi #----------------> if [ "$1" = "all" ]; then echo " Web > amsn, amule, gftp, skype, "; echo " wifi-radar, netspeed "; echo " "; echo " media > k3b, amarok, kaffeine, vlc, xmms "; echo " kguitar "; echo " "; echo " serveur > openssh-server, proftpd, apache2 "; echo " Mysql Serveur5, Phpmyadmin, PHP5 "; echo " "; echo " Graphisme > blender, gpaint "; echo " "; # echo " Autres > Vmware-Player "; # echo " "; fi echo "============================================="; echo " "; #----------------> echo " "; echo "Auto installation des programmes de base Linux " ; echo " "; if [ "$2" = "-u" ]; then echo " "; else echo "Mise à jour du système... "; sudo apt-get update && sudo apt-get upgrade echo " Done..."; echo " "; fi # Code de l'installation if [ "$1" = "web" ]; then echo " installation des programmes orientée web... "; sudo apt-get install amsn sudo apt-get install amule sudo apt-get install gftp sudo apt-get install skype sudo apt-get install wifi-radar sudo apt-get install netspeed echo " [ DONE ]"; fi if [ "$1" = "media" ]; then echo " installation des programmes orientée multimédia... "; sudo apt-get install k3b sudo apt-get install amarok sudo apt-get install kaffeine sudo apt-get install vlc sudo apt-get install acidrip sudo apt-get install audacity sudo apt-get install kguitar sudo apt-get install xmms echo " [ DONE ]"; fi if [ "$1" = "serveur" ]; then sudo apt-get install openssh-server sudo apt-get install proftpd sudo apt-get install apache2 apache2-doc sudo apt-get install mysql-server-5.0 sudo apt-get install php5 libapache2-mod-php5 php5-mysql sudo apt-get install phpmyadmin echo " [ DONE ]"; fi if [ "$1" = "graphisme" ]; then echo " installation des programmes orientée graphisme..."; sudo apt-get install blender sudo apt-get install gpaint echo " [ DONE ]"; fi if [ "$1" = "autre" ]; then echo " installation d'autres programmes..."; sudo apt-get install vmware-player echo " [ DONE ]"; fi if [ "$1" = "all" ]; then echo " installation des programmes orientée web... "; sudo apt-get install amsn sudo apt-get install amule sudo apt-get install gftp sudo apt-get install skype sudo apt-get install wifi-radar sudo apt-get install netspeed echo " [ DONE ]"; echo " installation des programmes orientée multimédia... "; sudo apt-get install k3b sudo apt-get install amarok sudo apt-get install kaffeine sudo apt-get install vlc sudo apt-get install acidrip sudo apt-get install audacity sudo apt-get install kguitar sudo apt-get install xmms echo " [ DONE ]"; echo " installation des rogrammes orientée serveur... "; sudo apt-get install openssh-server sudo apt-get install proftpd sudo apt-get install apache2 apache2-doc sudo apt-get install mysql-server-5.0 sudo apt-get install php5 libapache2-mod-php5 php5-mysql sudo apt-get install phpmyadmin echo " [ DONE ]"; echo " installation des programmes orientée graphisme..."; sudo apt-get install blender sudo apt-get install gpaint echo " [ DONE ]"; # echo " installation d'autres programmes..."; # sudo apt-get install vmware-player # echo " [ DONE ]"; fi