View previous topic :: View next topic |
Author |
Message |
Desintegr l33t
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
Posted: Thu Aug 09, 2007 9:42 am Post subject: |
|
|
_Seth_ wrote: | mouaip, j'y ai pensé aussi mais j'ai l'impression qu'il n'y a pas de flag doc sur esound |
Oui, c'est vrai, j'aurais du vérifier .
Enfin, ce que Temet et moi avons dit sur le USE doc reste tout de même valable pour les autres ebuilds .
Enfin, il y a, à mon avis, quelque chose mal installé du côté de docbook.
Oneal wrote: | Je fais un Code: | emerge -vauDN world |
|
C'est inutile de tout recompiler maintenant sans le USE doc, c'est une perte de temps. Ça ne changera pas le fonctionnement de tes logiciels.
Tu le feras au fur à mesure des mises à jour.... _________________ Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Thu Aug 09, 2007 10:00 am Post subject: |
|
|
Je comprends pas pourquoi j'ai besoin d'esound ! C'est pas le serveur de son d'enlightment... c'est Gnome que j'utilise. |
|
Back to top |
|
|
Desintegr l33t
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
|
Back to top |
|
|
DidgeriDude Guru
Joined: 30 Jan 2005 Posts: 349
|
Posted: Fri Aug 10, 2007 11:17 am Post subject: |
|
|
Petite question bête :
J'ai lu plus haut que tu es passé en ~arch en ajoutant la ligne
Code: | ACCEPT_KEYWORDS="~x86" | dans ton /etc/make.conf.
Pour débuter sous Gentoo, n'est-ce pas un moyen sûr de s'attirer des emmerdes inutiles ? Pourquoi ne pas être resté en stable jusqu'à ce que ta Gentoo tourne nickel, et ensuite passer en instable ?
Tu me parais très motivé par cette distrib, et c'est bien évidemment quelque chose qu'on apprécie fort ici. D'autant que tu sembles faire des recherches sur les problèmes que tu rencontres et que tu ne considères pas ce forum comme un SAV, ce qui est encore plus apprécié !
Mais j'ai l'impression que tu te prends la tête sur des soucis qui ne te seraient pas arrivés en étant resté en stable. Et finalement, tu passes plus de temps à les régler qu'à profiter de la gigantesque puissance de configuration de Gentoo. Mais bon, d'un autre côté, ça permet aussi de progresser
Dans tous les cas, une fois que tu auras réussi à mettre en place ta distrib, et vu les multiples commandes que tu auras dû lancer pour y arriver, je ne peux que te conseiller ce lien : Gentoo Cleaning (en français) |
|
Back to top |
|
|
julroy67 Apprentice
Joined: 03 Feb 2007 Posts: 209 Location: Alsace >> /dev/null
|
Posted: Fri Aug 10, 2007 1:33 pm Post subject: |
|
|
Au moins ce topic ne sert pas uniquement à Oneal, il m'a appris que je faisais beaucoup de fautes avec le fichier World
Donc je me suis mis à la nettoyation ^^ _________________ 63n700 L1nux P0w44 !
Intel Core2Quad 6600
Abit FP-IN9 SLI Fatal1ty Nforce 580i
Nvidia GeForce 8600 GTS
2 Go RAM DDR800 Corsair
Actualité des jeux sous Linux |
|
Back to top |
|
|
DidgeriDude Guru
Joined: 30 Jan 2005 Posts: 349
|
Posted: Fri Aug 10, 2007 4:14 pm Post subject: |
|
|
Ca c'est clair !!!
Depuis 3 ans sous Gentoo, et 1er vrai nettoyage il y a seulement 2 mois !!!!
En tous cas, le pauvre Oneal va s'amuser après toutes les manips qu'il aura faites !!! |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Mon Aug 13, 2007 7:38 pm Post subject: |
|
|
Salut à tous !!
Effectivement, je suis très motivé par Gentoo.
Il faut dire que j'ai déjà plusieurs distrib Linux. Globalement, je suis satisfais de chacune de celle-ci, mais il finalement aucune ne me convenait vraiment.
-Debian : super carré, l'installeur apt très puissant. Pas mal de doc et pas de surprise quand on install les packages.
Par contre les packages en stable date de l'age de pierre !! Mixé stable, testing et unstable donne un resultat pas si génial que ça.
-Mandriva : un peu le bazard... On peut pas trop bidouillé.
-Ubuntu : pas de bidouille, le fait ne pas avoir de compte root m'a toujours troublé... bien pour le desktop, mais justement je n'ai pas envi de faire que du desktop !
-Fedora : c'était ma préférée ; stable, bien finie, pleins de package à jour, tout le support de la communauté redhat.
MAIS le fait de passer par exemple de la Fedora Core 6 à la Fedora Core 7 nécessite une réinstallation (c'est ce qui est conseillé).
Franchement, réinstallé un OS tout les 6 mois... autant prendre Windows !!
J'hésitais donc à passé sous FreeBSD... mais bon niveau support du matériel, logiciels... puis j'aime bien linux...
Puis finalement, j'ai vu que Gentoo permettait de compiler ces softs, avec portage (qui ressemble à FreeBSD).
Je savais que j'allais devoir bosser et que tout ne tomberait pas tout cuit (comme les autres distribs).
De plus, j'ai envi d'apprendre plus Linux et de pouvoir avoir a la fois des fonctionnalités avancés au niveau desktop et serveur.
J'ai également pour projet d'investir dans un nouveau PC... donc je me fais la main sur ma petite machine avec Gentoo.
La machine actuellement fera office de desktop pour ma copine (traitement texte, DVD, DivX, messagerie instantanée, email...) et de serveur pour toute la maison (SSH/SCP, hebergement et developpement d'un site web, machine de test pour le boulot, partage de fichier, proxy, postfix/Spamassassin/Amavis...).
Effectivement, j'essai de me dépatouiller avec les docs et wiki Gentoo et quand je suis dépassé je viens ici.
J'ai décidé justement de tout concentrer dans un seul topic... ceci afin de tout avoir sur la main et j'espere aidé les autres Gentoiens par la meme occasion.
Aujourd'hui, j'ai une Gentoo utilisable. Je commence à utiliser Gnome et ces applications. Et j'ai également installé Nomachine pour a ouvrir des sessions Gnome à distance (et c'est vraiment super rapide).
Il me reste pleins de chose à mettre en oeuvre encore : notamment mettre le son (alsa) et vérifier que l'ACPI fonctionne.
Alors d'après vous cela serait judicieux de virer le ~x86 ?!
Arch signifie unstable ?
Il est clair qu'il va falloir que je fasse le menage dans ma gentoo suite à toutes mes manips !! ^_^
D'ailleurs merci pour le lien. |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Mon Aug 13, 2007 8:21 pm Post subject: |
|
|
Quote: | Alors d'après vous cela serait judicieux de virer le ~x86 ?! |
Non!
Passer de stable à testing se fait sans problèmes, mais l'inverse est mission quasi impossible (très longue et contraignante).
Ceci dit, pour un serveur, c'est plutot stable qui est conseillé.
EDIT : sinon, en binaire, tu as Arch qui permet de ne pas réinstaller à chaque nouvelle version. _________________ Full Gentoo powered. |
|
Back to top |
|
|
DidgeriDude Guru
Joined: 30 Jan 2005 Posts: 349
|
Posted: Mon Aug 13, 2007 10:27 pm Post subject: |
|
|
Arch est l'abrégé d'architecture
donc ~arch signifie soit ~x86, ~amd64 etc...
Et tout à fait d'accord avec Temet : NON de NON, ne reviens pas en stable !!
Sinon, ce que tu as déjà fait va te sembler de la pure rigolade à côté de la méga prise de tête que cela va t'occasionner !! |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Tue Aug 14, 2007 12:20 pm Post subject: |
|
|
Vous m'avez convaincu !! |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Mon Aug 20, 2007 9:04 pm Post subject: |
|
|
Hello à tous !!
J'espere que vous allez tous bien.
J'ai une petite question concernant les droits sur les fichiers.
Je viens de créer un utilisateur et il a la possibilité de voir toutes l'arborescence du disque (hormis certains fichiers comme /etc/shadow, /root...).
J'ai vu que si je faisais un "touch toto" avec un compte standard celui-ci avait les droits suivant
Code: | cedric@gentoo-nec ~ $ ls -l toto
-rw-r--r-- 1 cedric cedric 0 Aug 20 23:00 toto
|
Je trouve que c'est vraiment pas restrictif !!
Les utilisateurs du systeme peuvent se ballader dans les repertoires de configurations, regarder les fichiers dans les home des autres utilisateurs...
J'ai fais une bourde ou est ce que l'on est dans le monde de Candy ? |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Tue Aug 21, 2007 6:37 am Post subject: |
|
|
Hum... bizarre, moi j'ai un groupe "users"... toi le groupe c'est le même que ton utilisateur o_O'.
Sinon, bah tu peux changer les droits ou, si tu y tiens, "use the ACL Luke" _________________ Full Gentoo powered. |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Tue Aug 21, 2007 7:00 am Post subject: |
|
|
A la limite si le probleme n'était qu'au niveau des /home, le probleme est vite réglé ! Ce qui me gene c'est le drwxr-xr-x
Mais c'est de partout !
Code: |
gentoo-nec / # ls -l /
total 139484
drwxr-xr-x 2 root root 4096 Aug 9 02:17 bin
drwxr-xr-x 3 root root 4096 Aug 15 12:11 boot
drwxr-xr-x 16 root root 3320 Aug 20 16:21 dev
drwxr-xr-x 72 root root 4096 Aug 20 18:21 etc
drwxr-xr-x 4 root root 4096 Aug 15 16:12 home
drwxr-xr-x 8 root root 4096 Aug 9 07:36 lib
drwx------ 2 root root 16384 Jul 7 18:30 lost+found
drwxr-xr-x 2 root root 4096 Jul 15 03:30 media
drwxr-xr-x 5 root root 4096 Jul 8 18:15 mnt
drwxr-xr-x 4 root root 4096 Aug 8 15:37 opt
-rw-r--r-- 1 root root 34686418 Jul 7 21:06 portage-2007.0.tar.bz2
-rw-r--r-- 1 root root 145 Jul 7 21:06 portage-2007.0.tar.bz2.DIGESTS
dr-xr-xr-x 101 root root 0 Aug 20 17:26 proc
drwx------ 12 root root 4096 Aug 20 18:24 root
drwxr-xr-x 2 root root 4096 Aug 8 17:07 sbin
-rw-r--r-- 1 root root 107915722 Jul 7 18:39 stage3-i686-2007.0.tar.bz2
drwxr-xr-x 11 root root 0 Aug 20 17:26 sys
drwxrwxrwt 36 root root 4096 Aug 21 03:10 tmp
drwxr-xr-x 17 root root 4096 Aug 7 16:52 usr
drwxr-xr-x 14 root root 4096 Jul 22 18:35 var
|
Code: | gentoo-nec / # ls -l /etc/
total 920
-rw-r--r-- 1 root root 3831 Jul 22 21:27 DIR_COLORS
drwxr-xr-x 7 root root 4096 Aug 12 13:57 X11
drwxr-xr-x 3 root root 4096 Aug 16 19:03 acpi
-rw-r--r-- 1 root root 28 Aug 20 17:27 adjtime
drwxr-xr-x 5 root root 4096 Aug 20 18:24 apache2
drwxr-xr-x 2 root root 4096 Aug 9 02:16 bash
drwxr-xr-x 2 root root 4096 Jul 15 19:07 bonobo-activation
-rw-r--r-- 1 root root 4389 Jul 22 18:28 ca-certificates.conf
drwxr-xr-x 2 root root 4096 Aug 16 19:04 conf.d
drwxr-xr-x 3 root root 4096 Aug 1 13:03 config-archive
drwxr-xr-x 2 root root 4096 Jul 8 17:42 cron.d
drwxr-xr-x 2 root root 4096 Aug 16 19:04 cron.daily
-rw-r--r-- 1 root root 220 Jul 23 05:07 cron.deny
drwxr-xr-x 2 root root 4096 Jul 8 17:42 cron.hourly
drwxr-xr-x 2 root root 4096 Jul 29 22:01 cron.monthly
drwxr-xr-x 2 root root 4096 Jul 22 20:58 cron.weekly
-rw-r--r-- 1 root root 616 Jul 23 05:07 crontab
-rw-r--r-- 1 root root 1567 Aug 20 17:50 csh.env
drwxr-xr-x 3 root lp 4096 Aug 1 13:05 cups
drwxr-xr-x 3 root root 4096 Jul 15 00:37 dbus-1
drwxr-xr-x 2 root root 4096 Apr 20 02:54 default
drwxr-xr-x 2 root root 4096 Jul 22 04:21 desktop-profiles
drwxr-xr-x 2 root root 4096 Aug 16 19:03 dhcp
-rw-r--r-- 1 root root 1079 Aug 13 22:31 dispatch-conf.conf
-rw-r--r-- 1 root root 426 Aug 7 15:07 dmtab
drwxr-xr-x 2 root root 4096 Aug 8 08:16 eclean
drwxr-xr-x 4 root root 4096 Aug 8 16:54 env.d
-rw-r--r-- 1 root root 97 Aug 7 15:46 environment
drwxr-xr-x 2 root root 4096 Aug 16 19:03 esd
drwxr-xr-x 3 root root 4096 Apr 20 01:55 eselect
-rw-r--r-- 1 root root 1695 Aug 13 22:31 etc-update.conf
-rw-r--r-- 1 root root 1246 Jul 23 02:26 fdprm
-rw-r--r-- 1 root root 399 Aug 7 14:35 filesystems
drwxr-x--- 2 firebird firebird 4096 Jul 15 23:43 firebird
drwxr-xr-x 4 root root 4096 Jul 23 05:41 fonts
-rw-r--r-- 1 root root 1366 Aug 7 14:35 fstab
-rw-r--r-- 1 root root 1110 Jul 8 17:22 fstab.INSTALL
-rw-r--r-- 1 root root 2139 Aug 9 07:18 gai.conf
drwxr-xr-x 6 root root 4096 Jul 21 21:13 gconf
-rw-r--r-- 1 root root 4808 Jul 29 21:57 genkernel.conf
-rw-r--r-- 1 root root 35 Aug 7 14:36 gentoo-release
drwxr-xr-x 3 root root 4096 Jul 21 21:13 gnome-vfs-2.0
-rw-r--r-- 1 root root 10793 Aug 7 14:13 gnome-vfs-mime-magic
drwxr-xr-x 2 root root 4096 Apr 20 02:50 gpm
-rw-r--r-- 1 root root 922 Aug 20 17:51 group
-rw------- 1 root root 908 Aug 20 17:50 group-
-r-------- 1 root root 733 Aug 20 17:50 gshadow
-rw------- 1 root root 726 Aug 20 17:50 gshadow-
drwxr-xr-x 2 root root 4096 Jul 16 00:20 gtk
drwxr-xr-x 2 root root 4096 Jul 21 20:12 gtk-2.0
drwxr-xr-x 3 root root 4096 Jul 15 03:30 hal
-rw-r--r-- 1 root root 936 Aug 9 07:18 host.conf
-rw-r--r-- 1 root root 1081 Aug 20 18:21 hosts
drwxr-xr-x 2 root root 4096 Aug 20 15:25 init.d
-rw-r--r-- 1 root root 1645 Jul 22 15:58 inittab
-rw-r--r-- 1 root root 1658 Aug 7 14:35 inputrc
-rw-r--r-- 1 root root 30 Aug 7 14:35 issue
-rw-r--r-- 1 root root 701 Aug 7 14:35 issue.logo
drwxr-xr-x 3 root root 4096 Aug 8 15:37 java-config-2
-rw-r--r-- 1 root root 362 Aug 8 01:00 kdc.conf.example
drwxr-xr-x 2 root root 4096 Jul 8 17:14 kernels
-rw-r--r-- 1 root root 786 Aug 8 01:00 krb5.conf.example
-rw-r--r-- 1 root root 67532 Aug 15 12:26 ld.so.cache
-rw-r--r-- 1 root root 339 Aug 9 06:15 ld.so.conf
-r--r----- 1 root root 262 Jul 29 23:26 ldap.conf.sudo
drwxr-xr-x 2 root root 4096 Jul 15 07:10 libgda
-rw-r--r-- 1 root root 92 Jul 8 16:07 local.gen
-rw-r--r-- 1 root root 875 Aug 9 07:18 locale.gen
-rw-r--r-- 1 root root 871 Jul 8 16:10 locale.genES
lrwxrwxrwx 1 root root 32 Aug 12 14:05 localtime -> /usr/share/zoneinfo/Europe/Paris
-rw-r--r-- 1 root root 8869 Jul 23 05:05 login.defs
drwxr-xr-x 2 root root 4096 Aug 7 15:19 logrotate.d
-rw-r--r-- 1 root root 143919 Jul 22 21:35 lynx.cfg
-rw-r--r-- 1 root root 3581 Jul 22 21:35 lynx.lss
drwxr-xr-x 3 root root 4096 Aug 1 13:05 mail
-rw-r--r-- 1 root root 2235 Jul 22 18:35 mailcap
-rw-r--r-- 1 root root 1024 Aug 9 23:10 make.conf
-rw-r--r-- 1 root root 23104 Aug 13 22:31 make.conf.example
-rw-r--r-- 1 root root 3068 Aug 13 22:31 make.globals
lrwxrwxrwx 1 root root 48 Jul 7 20:43 make.profile -> ../usr/portage/profiles/default-linux/x86/2007.0
-rw-r--r-- 1 root root 4619 Jul 22 20:57 man.conf
-rw-r--r-- 1 root root 20537 Jul 15 20:29 mime.types
-rw-r--r-- 1 root root 330 Aug 7 15:36 mke2fs.conf
-rw-r--r-- 1 root root 3001 Aug 15 13:29 modprobe.conf
drwxr-xr-x 2 root root 4096 Aug 7 15:21 modprobe.d
drwxr-xr-x 2 root root 4096 Aug 16 19:03 modules.autoload.d
-rw-r--r-- 1 root root 59 Jul 8 20:37 modules.conf
drwxr-xr-x 2 root root 4096 Aug 14 16:42 modules.d
drwxr-xr-x 2 root root 4096 Jul 24 11:29 mplayer
-rw-r--r-- 1 root root 348 Aug 20 17:27 mtab
drwxr-xr-x 2 root root 4096 Jul 15 21:59 mysql
-rw-r--r-- 1 root root 7719 Jul 22 21:39 nanorc
-rw-r--r-- 1 root root 2064 Jul 22 00:03 netscsid.conf
-rw-r--r-- 1 root root 196 Aug 7 14:35 networks
-rw-r--r-- 1 root root 1158 Aug 9 07:18 nscd.conf
-rw-r--r-- 1 root root 508 Aug 9 07:18 nsswitch.conf
-rw-r--r-- 1 root root 1451 Aug 12 12:25 ntp.conf
drwxr-xr-x 2 nx root 4096 Aug 20 17:50 nxserver
drwxr-xr-x 3 root root 4096 Jul 15 21:05 openldap
drwxr-xr-x 2 root root 4096 Apr 20 01:54 opt
drwxr-xr-x 2 root root 4096 Aug 20 17:30 pam.d
drwxr-xr-x 2 root root 4096 Aug 1 13:05 pango
-rw-r--r-- 1 root root 3 Jul 15 01:08 papersize
-rw-r--r-- 1 root root 1797 Aug 20 17:50 passwd
-rw------- 1 root root 1740 Aug 20 17:50 passwd-
drwxr-xr-x 4 root root 4096 Jul 21 18:04 php
drwxr-xr-x 5 root root 4096 Aug 13 22:06 portage
-rw-r--r-- 1 root root 2141 Aug 7 14:35 profile
-rw-r--r-- 1 root root 1717 Aug 8 16:54 profile.csh
drwxr-xr-x 2 root root 4096 Jul 21 20:32 profile.d
-rw-r--r-- 1 root root 1569 Aug 20 17:50 profile.env
-rw-r--r-- 1 root root 1623 Aug 7 14:35 protocols
-rw-r--r-- 1 root root 134 Apr 20 02:51 pwdb.conf
drwxr-xr-x 2 root root 4096 Jul 23 22:42 qt4
-rw-r--r-- 1 root root 1644 Aug 7 14:35 rc.conf
-rw-r--r-- 1 root root 1607 Jul 8 17:33 rc.conf.INSTALL
-rw-r--r-- 1 root root 86 Aug 20 18:21 resolv.conf
drwxr-xr-x 2 root root 4096 Aug 8 08:16 revdep-rebuild
-rwxr-xr-x 1 root root 273 Aug 7 15:03 rmt
-rw-r--r-- 1 root root 1615 Aug 9 07:17 rpc
-rw-r--r-- 1 root root 405 Jul 22 19:14 rsyncd.conf
drwxr-xr-x 6 root root 4096 Apr 20 01:55 runlevels
drwxr-xr-x 2 root root 4096 Jul 30 23:31 samba
-rw-r--r-- 1 root root 103 Jul 23 05:09 scrollkeeper.conf
-rw-r--r-- 1 root root 666 Aug 7 15:21 scsi_id.config
-rw------- 1 root root 262 Jul 23 05:05 securetty
drwxr-xr-x 4 root root 4096 Aug 9 01:19 security
-rw-r--r-- 1 root root 35877 Aug 7 14:35 services
drwxr-xr-x 2 root root 4096 Aug 9 16:06 sgml
-rw------- 1 root root 845 Aug 20 17:50 shadow
-rw------- 1 root root 846 Aug 20 17:50 shadow-
-rw-r--r-- 1 root root 118 Aug 7 14:35 shells
drwxr-xr-x 3 root root 4096 Aug 9 03:07 skel
drwxr-xr-x 2 root root 4096 Jul 16 00:09 snmp
drwxr-xr-x 3 root root 4096 Jul 21 21:52 sound
lrwxrwxrwx 1 root root 22 Jul 30 00:11 spamassassin -> /etc/mail/spamassassin
drwxr-xr-x 2 root root 4096 Aug 20 17:53 ssh
drwxr-xr-x 5 root root 4096 Apr 20 02:52 ssl
drwxr-xr-x 2 root root 4096 Jul 8 17:42 ssmtp
-r--r----- 1 root root 1612 Jul 29 23:26 sudoers
-rw-r----- 1 root root 1459 Aug 7 14:35 sysctl.conf
drwxr-xr-x 2 root root 4096 Aug 16 19:04 syslog-ng
drwxr-xr-x 2 root root 4096 Jul 15 23:48 t1lib
drwxr-xr-x 9 root root 4096 Apr 20 01:52 terminfo
drwxr-xr-x 13 root root 4096 Jul 23 07:44 texmf
drwxr-xr-x 3 root root 4096 Aug 16 19:04 udev
-rw-r--r-- 1 root root 586 Aug 7 15:19 updatedb.conf
drwxr-xr-x 2 root root 4096 Jul 22 12:13 vim
drwxr-xr-x 2 root root 4096 Apr 20 02:52 wget
-rw-r--r-- 1 root root 345 Aug 8 16:14 whois.conf
-rw-r--r-- 1 root root 1343 Jul 22 00:03 wodim.conf
drwxr-xr-x 3 root root 4096 Jul 21 22:51 xdg
drwxr-xr-x 2 root root 4096 Jul 15 19:45 xinetd.d
drwxr-xr-x 2 root root 4096 Jul 21 16:40 xml
|
Cela ne vous choque pas que n'importe user lambda puisse aller lire les fichiers de conf et compagnie ?
Une fois les conf en main il est possible de trouver un défaut de configuration et de l'exploiter.
Qu'en pensez vous ?
Last edited by Oneal on Tue Aug 21, 2007 7:05 am; edited 1 time in total |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Tue Aug 21, 2007 7:04 am Post subject: |
|
|
Derniere information, je viens de regarder ce qu'il y avait sur ma Debian au taf... et c'est exactement la meme chose !
Je me fais peut etre de fausse idée, mais qu'en pensez vous ? |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Tue Aug 21, 2007 7:04 am Post subject: |
|
|
Euh non, ça ne me gène pas.
La configuration de la machine n'a rien de personnel.
Et puis ça me ferait chier de me logguer en root chaque fois que je matte un fichier de conf pour aider un mec sur le forum. _________________ Full Gentoo powered. |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Tue Aug 21, 2007 7:12 am Post subject: |
|
|
OK !
J'ai quand meme bien envi de faire un chmod -R 750 /home/NOM_DE_LUTILISATEUR
Histoire que chaque user puisse avoir un peu de confidentialité
Quelqu'un y voit il un inconvénient ? |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Tue Aug 21, 2007 7:16 am Post subject: |
|
|
Oui.
Ne change pas les droits du propriétaire et du groupe comme ça, c'est bourrin.
A la limite pour le reste du monde... mais pourquoi le faire en récursif? Le faire juste sur le dossier de ton user ne suffit pas???
EDIT : si tu veux gérer finement les droits, y a toujours comme j'ai dit les ACL. _________________ Full Gentoo powered. |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Tue Aug 21, 2007 7:53 pm Post subject: |
|
|
Merci pour ton conseil !
Dans un premier temps, j'ai fais mon chmod sur le répertoire de l'utilisateur (et pas en recursif).
Je jetterais un oeil sur les ACLs plus tard. En ce moment, je suis sur LAMP et Joomla !
Bonne soirée et merci |
|
Back to top |
|
|
Oneal n00b
Joined: 19 Dec 2003 Posts: 53 Location: France (42)
|
Posted: Tue Aug 21, 2007 10:19 pm Post subject: |
|
|
Je viens d'installer apache2+MySQL+PHP+Joomla... lors de l'install tout semble s'etre bien passé.
Cependant, j'ai l'impression que mon serveur apache n'interprete pas le PHP ! J'ai créé un fichier test.php avec les balises phpinfo() et apache l'affiche comme un vulgaire fichier texte.
Voici les infos qui me semble importantes :
Code: | gentoo-nec joomla # equery l |grep apache
app-admin/apache-tools-2.2.4-r3
www-servers/apache-2.2.4-r11 |
Code: |
gentoo-nec ~ # emerge --pretend --verbose apache
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] www-servers/apache-2.2.4-r12 [2.2.4-r11] USE="ldap ssl -debug -doc -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec (-selinux) -static-modules -threads" 66 kB
|
Code: | gentoo-nec ~ # equery l php
[ Searching for package 'php' in all categories among: ]
* installed packages
[I--] [ ] app-admin/php-toolkit-1.0-r2 (0)
[I--] [ ~] app-doc/php-docs-20070202-r1 (0)
[I--] [ ] dev-lang/php-5.2.4_pre200708051230-r2 (5)
|
Voici ce que j'ai modifié dans le fichier /etc/conf.d/apache2
Code: | APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC"
|
Code: | gentoo-nec ~ # emerge --pretend --verbose php
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/php-5.2.4_pre200708051230-r2 USE="apache2 berkdb bzip2 cli crypt ctype doc gdbm iconv imap ipv6 kerberos ldap mysql mysqli ncurses nls pcre readline reflection session snmp spell spl ssl truetype unicode xml zip zlib -adabas -bcmath -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -inifile -interbase -iodbc -java-external -json -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -soap -sockets -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip-external" 0 kB |
Une chose importante !
Dans le httpd.conf, un module pose probleme
Code: | #LoadModule unique_id_module modules/mod_unique_id.so |
Je l'ai donc désactivé.
Voici le message obtenu si je l'active
Code: | [Wed Aug 22 00:14:51 2007] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "gentoo-nec"
|
Voici les modules présents dans le httpd.conf
Code: |
LoadModule negotiation_module modules/mod_negotiation.so
<IfDefine PROXY>
LoadModule proxy_module modules/mod_proxy.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_connect_module modules/mod_proxy_connect.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_http_module modules/mod_proxy_http.so
</IfDefine>
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
<IfDefine INFO>
LoadModule status_module modules/mod_status.so
</IfDefine>
#LoadModule unique_id_module modules/mod_unique_id.so
<IfDefine USERDIR>
LoadModule userdir_module modules/mod_userdir.so
</IfDefine>
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
<IfDefine LDAP>
LoadModule ldap_module modules/mod_ldap.so
</IfDefine>
<IfDefine AUTH_LDAP>
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
</IfDefine>
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
<IfDefine SUEXEC>
LoadModule suexec_module modules/mod_suexec.so
</IfDefine> |
Une idée ?
Bonne nuit |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
kwenspc Advocate
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Wed Aug 22, 2007 5:53 am Post subject: |
|
|
Oui et une recherche te trouves très rapidement la réponse car c'est un soucis courant. _________________ membre officieux du SAV Ati GEntoo |
|
Back to top |
|
|
|