Guide de Survie du Débutant sous Linux - resoo.org
Guide de Survie du Débutant sous Linux - resoo.org
Guide de Survie du Débutant sous Linux - resoo.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
format propriétaire pour lequel les détenteurs <strong>du</strong> brevet réclament <strong>de</strong>s royalties. Utilisezplutôt le png.Si Gimp ne trouve pas les fonts <strong>de</strong>s scripts−fu, installez freefonts (dézippez dans/usr/X11R6/lib/X11/fonts/, puis ajoutez :FontPath"/usr/X11R6/lib/X11/fonts/freefont/"dans votre XF86Config). Relancez X.Pour avoir gimp 1.1.x en français, allez dans le répertoire <strong>de</strong> langues, tapezmsgfmt −o gimp.mo fr.po, et copiez le résultat gimp.mo dans/usr/share/locale/fr/LC_MESSAGES.PHP ne marche pas (mandrake 8.0)Mettez les lignes « Define » en commentaire dans httpd.conf et ça marchera.LoadMo<strong>du</strong>le php4_mo<strong>du</strong>le extramo<strong>du</strong>les/libphp4.soPostgresql (base <strong>de</strong> données relationnelle) version 6.4. (Récemment 7.2)Supposons que vous avez installé les rpm <strong>de</strong> Redhat.Vérifiez que serveur postgres tourne (ps aux|grep post). Sinon, lancez−le(# /etc/(rc.d/)init.d/postgresql start).Donnez un mot <strong>de</strong> passe au root <strong>de</strong> postgresql, qui s'appelle postgres (passwd postgres).Devenez postgres (su − postgres).Créez un utilisateur ordinaire <strong>de</strong> postgresql (createuser bebert) et son mot <strong>de</strong> passe,ayant les droits <strong>de</strong> créer <strong>de</strong>s bases <strong>de</strong> données.Devenez bebert (su − bebert).Modifiez le .bash_profile <strong>de</strong> bebert en y ajoutant le path /var/lib/pgsql. Déconnectez−vouset reconnectez−vous en bebert <strong>sous</strong> X.Tapez createdb ma_base_a_moi, puis pgaccess ma_base_a_moi. Ça y est, vous êtes en mo<strong>de</strong>graphique (nécessite tcl/tk). Si ça ne fonctionne pas (mais que psql fonctionne), c'estque le lancement <strong>de</strong> postmaster ne contient pas l'option −i (cas <strong>de</strong>s Mandrake 8 et 9).Lancez−le comme ceci à la main :postmaster −i −S −D /var/lib/pgsql/data. Sinon, tapezpsql ma_base_a_moi. Vous avez accès à la base en mo<strong>de</strong> texte. (Si je vous disais que çamarche même à partir <strong>du</strong> Psion connecté par p3nfs !!!). Si vous préférez le mo<strong>de</strong> graphique,pgaccess (dans le paquetage postgres−tcl parfois) vous offre une interface sympathique,mais encore incomplète.Pgaccess est fourni avec une base <strong>de</strong> démonstration (pgaccess/<strong>de</strong>mo/form<strong>de</strong>mo.sql) trèsinstructive quant à ses capacités. Pour l'installer :Créez une base : createdb form<strong>de</strong>mo. Puis installez la démo :psql −q form<strong>de</strong>mo filename.<strong>du</strong>mp.gzRestaurer la base :createdb dbname<strong>Gui<strong>de</strong></strong> <strong>de</strong> <strong>Survie</strong> <strong>du</strong> Débutant <strong>sous</strong> <strong>Linux</strong>92/100 20.03.2003 20:58:32