Outils pour utilisateurs

Outils du site


issue73:q_et_r

Table des matières

1

Q In FCM#37, you talked about helping a new user. However, the Ubuntu Forums have changed. What is the new procedure? A Open the Ubuntu Forums. Click on “Activity Page.” Click on “New Posts.” On the right, near the top, it will show “1 2 3 4,” click on 4, then click on 7, then click on 10. Look for messages with “Replies: 0”. Some of the people have not provided enough information, ask them for more. Some of them are “English as a second language,” ask for clarification. Some are asking questions which were solved eons ago, Google them a link. And some have complex questions about rare hardware/software combinations, ask them a question which will keep the conversation moving. It's even possible that you will see a question which you can answer, and that's the best feeling of all!

Q Dans le FCM n° 37, vous avez parlé d'aider un nouvel utilisateur. Toutefois, les forums Ubuntu ont changé. Quelle est la nouvelle procédure ?

R Ouvrez les forums Ubuntu. Cliquez sur « Page d'activité. » Cliquez sur « Nouveaux messages ». Sur la droite, vers le haut, il va y avoir « 1 2 3 4 » ; cliquez sur 4, puis cliquez sur 7, puis cliquez sur 10. Recherchez les messages avec « Réponses: 0 ». [Ndt : Ce n'est plus la façon de faire, ni sur Forum Ubuntu.fr ni sur Ubuntu Forums en anglais. Chacun a un fil dédié aux utilisateurs débutants ou « Absolute beginners ».]

Certaines personnes n'ont pas fourni suffisamment d'informations, leur demander plus. Certains d'entre eux ont « l'anglais comme seconde langue », leur demander des éclaircissements. Certains se posent des questions qui ont été résolues il y a des lustres, leur envoyer un lien Google. Et certains se posent des questions complexes concernant un matériel rare/une combinaison de logiciels, leur poser une question qui va garder la conversation en activité.

Il est même possible que vous voyiez une question à laquelle vous pouvez répondre, et c'est la meilleure sensation de toutes !

2

Q I've heard a new term, “restricted boot,” but I don't understand it. A Here's a nice writeup by Matthew Garrett: http://mjg59.dreamwidth.org/23817.html

Q J'ai entendu un nouveau terme, « démarrage restreint », mais je ne comprends pas.

R Voici une bonne explication par Matthew Garrett : http://mjg59.dreamwidth.org/23817.html

3

Q I have just upgraded two computers to Xubuntu 13.04. Now the External USB drive connected to the Modem/Router cannot be mounted. A (Thanks to Alan.Brown in the Ubuntu Forums) This is due to the new kernel version. Add the option sec=ntlm in the fstab entry. To mount it manually in my case: sudo mount -t cifs -o sec=ntlm,uid=1000,gid=1000,guest,_netdev /192.168.0.1/USB /home/user/USB

Q: Je viens de mettre à niveau deux ordinateurs vers Xubuntu 13.04. Maintenant, le lecteur USB externe connecté au modem/routeur ne peut pas être monté.

R (Merci à Alan.Brown sur les forums Ubuntu.) Cela est dû à la nouvelle version du noyau. Ajoutez l'option sec=NTLM dans l'entrée fstab. Pour le monter manuellement, dans mon cas :

sudo mount-t cifs -o sec=NTLM,uid = 1000,gid = 1000,invité,_netdev /192.168.0.1/USB /home/user/USB

4

Q How can I get an in-depth understanding of Linux? A Install Linux From Scratch on a spare machine. http://www.linuxfromscratch.org Don't expect a working system in the first week.

Q Comment approfondir mes connaissances de Linux ?

R Installer Linux From Scratch sur une machine de secours. http://www.linuxfromscratch.org

Ne vous attendez cependant pas à un système fonctionnel dès la première semaine.

5

Q I want to set up a media server, but I don't know where to begin. A Linux Magazine had a recent article which might help: http://www.linux-magazine.com/Online/Blogs/Productivity-Sauce/Set-up-a-DLNA-Server-in-a-Minute

Q Je veux mettre en place un serveur de médias, mais je ne sais pas par où commencer.

R Il y avait un article récent dans Linux Magazine, qui pourrait vous aider : http://www.linux-magazine.com/Online/Blogs/Productivity-Sauce/Set-up-a-DLNA-Server-in-a-Minute

6

Q Every time I eject a device (CD, Zip disk, flash drive, whatever), I get this message and I have to click OK on it: “The device “ZIP100” is being ejected. This may take some time.” I use Xubuntu 12.10. How can I get it to stop doing this? It's unnecessary and annoying. A (Thanks to LewisTM in the Ubuntu Forums) You should try to remove notify-osd, and install xfce4-notifyd, then reboot. To configure the Xfce notification daemon, run xfce4-notifyd-config.

Q Chaque fois que je veux éjecter un périphérique (CD, disque Zip, lecteur flash, peu importe), je reçois ce message et je dois cliquer sur OK : « Le dispositif “Zip100” s'éjecte. Cela peut prendre un certain temps. ». J'utilise Xubuntu 12.10. Comment puis-je arrêter cela ? C'est inutile et ennuyeux.

R (Merci à LewisTM sur les forums Ubuntu.) Vous devriez essayer d'enlever notify-osd et installer xfce4-notifyd, puis redémarrer. Pour configurer le démon de notification Xfce, exécutez xfce4-notifyd-config.

7

Q I'm trying to write a script that would loop through the files of a directory and add the names of each file to a text file. A (Thanks to r-senior in the Ubuntu Forums) You don't need a script, just use this command: ls -1 > files.txt

Q J'essaie d'écrire un script qui parcourrait les fichiers d'un répertoire et ajouterait le nom de chaque fichier à un fichier texte.

R (Merci à r-senior sur les forums Ubuntu.) Vous n'avez pas besoin d'un script ; il suffit d'utiliser la commande suivante :

ls -1> files.txt

8

Q Let me first give you my NAS setup: Ubuntu 12.10 on a single system drive, RAID5 setup over 5 hard drives for data. If my system drive fails, is it possible to reinstall Ubuntu and have the NAS (i.e. the RAID5 array) back up and running with hopefully all data intact? A (Thanks to rubylaser in the Ubuntu Forums) On my home server (media server), since the base OS doesn't change much, I occasionally dd the OS disk to a backup disk. That way, if the hard drive dies, I throw the new disk in, turn the computer on, and I'm right back where I was previously. (Gord notes: dd copies things. See http://www.howtogeek.com/howto/19141/clone-a-hard-drive-using-an-ubuntu-live-cd/)

Q D'abord, permettez-moi de vous donner ma configuration NAS : Ubuntu 12.10 sur un seul disque système, configuration RAID5 sur 5 disques durs pour les données. Si le disque système tombe en panne, est-il possible de réinstaller Ubuntu et avoir le NAS (c-à-d la matrice RAID5) à nouveau opérationnel avec, espérons-le, toutes les données intactes ?

R (Merci à rubylaser sur les forums Ubuntu.) Sur mon serveur domestique (serveur multimédia), puisque l'OS de base ne change pas beaucoup, je dd parfois le disque contenant le système sur un disque de sauvegarde. De cette façon, si le disque dur meurt, je rajoute le nouveau disque, redémarre l'ordinateur et tout est redevenu comme avant. (Gord note : dd copie des trucs. Voir http://www.howtogeek.com/howto/19141/clone-a-hard-drive-using-an-ubuntu-live-cd/)

9

Q I do not know how to use my android mobile's internet on my laptop, through USB. A (Thanks to 3dmatrix in the Ubuntu Forums) I just needed to check USB tethering ON in my phone.

Q Je ne sais pas comment utiliser l'internet de mon mobile Android sur mon portable, via le port USB.

R (Merci à 3dmatrix sur les forums Ubuntu.) J'avais juste besoin d'activer « tethering USB » sur mon téléphone.

10

Q When I go to a site which has Flash videos, I get a message about having an old version of Flash installed. A In your favorite software installer, search for “flashplugin,” and install it. (I have seen adobe-flashplugin and flashplugin-installer, they both work.)

Q Quand je vais sur un site qui a des vidéos Flash, je reçois un message signifiant que j'ai une ancienne version de Flash installée.

R Dans votre installeur de logiciels préféré, recherchez « flashplugin », et installez-le. (J'ai vu adobe-flashplugin et flashplugin-installer, ils fonctionnent tous les deux.)

11

Q Skype doesn't work in Ubuntu 13.04. A See this fix: http://www.webupd8.org/2013/04/fix-skype-not-working-in-ubuntu-1304.html

Q Skype ne fonctionne pas sous Ubuntu 13.04.

R Voir ce correctif : http://www.webupd8.org/2013/04/fix-skype-not-working-in-ubuntu-1304.html

12

Q A program I'm looking at says I need Mono. When I searched Synaptic for Mono about 50 entries came up. Which one do I need? A mono-runtime

Q Un programme que je regarde me dit que j'ai besoin de Mono. Quand j'ai cherché Mono dans Synaptic environ 50 entrées sont ressorties. Laquelle est nécessaire ??

R Un mono-runtime.

13

Q Can I use the COBOL programming language in Ubuntu? A Yes, install open-cobol.

Q Puis-je utiliser le langage de programmation COBOL sous Ubuntu ?

R Oui, installez open-cobol.

14

Q I'm trying to compile a c++ program in Ubuntu. However I am getting errors using “gcc testcpp.cpp -x c++ -o test” A (Thanks to steeldriver in the Ubuntu Forums) To compile C++ it's preferable to explicitly invoke g++ rather than gcc: g++ testcpp.cpp -o test

Q J'essaie de compiler un programme C++ sous Ubuntu. Cependant, je reçois des erreurs quand j'utilise « gcc testcpp.cpp-x c + +-o test ».

R (Merci à steeldriver sur les forums Ubuntu.) Pour compiler C++, il est préférable d'appeler explicitement g++ plutôt que gcc : g++ testcpp.cpp -o test.

15

Q I have a current generation System76 Lemur Ultra. I have a KomputerBay 128 GB 400X Class 10 UHS-1 SDXC card. I want to use LUKS volume encryption. Adding several gigabytes of new data to the SDXC card results in input/output errors. A (Thanks to System76 support staff) Our card readers don't support 128 GB SDXC cards with LUKS encryption. Going with a 64 GB card is better.

Q J'ai un System76 Lemur Ultra de la génération actuelle. J'ai une carte SDXC Komputerbay 128 Go 400X Class 10 UHS-1. Je veux utiliser le cryptage de volume LUKS. L'ajout de plusieurs gigaoctets de données nouvelles à la carte SDXC provoque des erreurs d'entrée/sortie.

R (Merci au personnel de soutien de System76) Nos lecteurs de cartes ne supportent pas les cartes SDXC 128 Go avec chiffrement LUKS. Préférer une carte de 64 Go est mieux.

16

Q I wanted to change my password, and used the command: sudo passwd However, my password was not changed. A (Thanks to Cheesemill in the Ubuntu Forums) By using sudo, you have changed root's password, which is usually disabled, not your own. Use the command: passwd

Q J'ai voulu changer mon mot de passe, et ai utilisé la commande :

sudo passwd

Cependant, mon mot de passe n'a pas été modifié.

R (Merci à Cheesemill sur les forums Ubuntu.) En utilisant sudo, vous avez changé le mot de passe root, qui est généralement désactivé, pas le vôtre. Utilisez la commande : passwd.

17

Q I want to change the login screen background. A (Thanks to grahammechanical in the Ubuntu Forums) Replace usr/share/backgrounds/warty-final-ubuntu.png.

Q Je veux changer le fond d'écran de connexion.

R (Merci à grahammechanical sur les forums Ubuntu.) Remplacez usr/share/backgrounds/warty-final-ubuntu.png.

18

Tips and Techniques Upgrade time for some By the time you read this, three versions of Ubuntu have fallen into the “not supported” bin: 8.04 Server, 10.04 Desktop and 11.10. Not only that, but there have been changes to the duration of support for new versions. As of 12.04, “Long Term Support” (LTS) means five years of support. Effective with 13.04, support for “standard” releases has been reduced to nine months. Makes sense to me. If you want to just get things done, stick to an LTS release. After two years and a few months, have a look at the next LTS release and decide whether you want to move to it. Otherwise, you will need to switch a few months after the following LTS arrives, eg. 16.04. A change every four years isn't very disruptive. If you want the latest shiny, move to each new release shortly after it appears. I use an LTS, and I have the latest release installed in VirtualBox – but that's just so I can answer questions. There's one factor which can throw a spanner into the works: you get a new computer, and it works fine with the latest “standard” release, not so much with the most recent LTS. I ran into this myself: the computer I am writing this on was “fully supported” by 10.10, but some things didn't work in 10.04 LTS. I also own a USB WiFi adapter which was not supported before 11.04. It just means you need frequent switches until the next LTS arrives. I'm still not a fan of upgrades. When I install, I make separate root and home partitions, then I do a clean install for any new version. So far, this has been problem-free. One example: if you do a clean install and the power goes off part-way through, you just start over. If you're doing an upgrade and the power goes off, your system might be unusable – and maybe your data is gone.

Astuces et techniques Mise à niveau nécessaire pour certains

Au moment où vous lirez ces lignes, trois versions d'Ubuntu seront tombées dans la catégorie « non supporté » : la 8.04 Server, la 10.04 Desktop et la 11.10.

Non seulement cela, mais il y a eu des changements quant à la durée du support pour les nouvelles versions. Si pour la 12.04, le « Support à long terme » (LTS) signifie cinq ans de support, à compter de la 13.04, le support pour les versions « standard » a été réduit à neuf mois. Cela me paraît logique.

Si vous voulez tout simplement travailler efficacement sans problèmes, vous devez vous en tenir à une version LTS. Après deux ans et quelques mois, jetez un œil sur la prochaine version LTS et décidez si vous souhaitez migrer vers elle. Sinon, vous devrez changer de version quelques mois après l'arrivée de la version LTS suivante, par exemple, la 16.04. Un changement tous les quatre ans n'est pas très perturbateur.

Si vous voulez la dernière pépite, passez à chaque nouvelle version, peu après son apparition.

J'utilise une LTS, et j'ai installé la dernière version dans VirtualBox, mais c'est juste pour que je puisse répondre à des questions.

Il y a un facteur qui peut vous mettre des bâtons dans les roues : vous acheter un nouvel ordinateur et il fonctionne très bien avec la dernière version « standard », mais pas tellement avec les plus récentes LTS. J'ai eu ce problème moi-même : l'ordinateur avec lequel j'écris ceci était « entièrement pris en charge » par la 10.10, mais certaines choses ne fonctionnaient pas dans la 10.04 LTS. Je possède également un adaptateur WiFi USB qui n'a pas été pris en charge avant la 11.04. Cela signifie simplement que vous avez besoin de changer de machine fréquemment jusqu'à la prochaine LTS.

Je ne suis toujours pas fan de mises à niveau. Lorsque j'installe le système, je sépare la partition racine et la partition home, puis je fais une installation propre de toute nouvelle version. Jusqu'à présent, cela s“est passé sans problème. Un exemple : si vous faites une installation propre et que l'alimentation est coupée à mi-chemin en cours de processus, il vous suffit de recommencer. Si vous faites une mise à niveau et que l'alimentation est coupée, votre système pourrait être inutilisable, avec, peut-être, la perte de toutes vos données.

19

Zato A newly released project, Zato, is an Enterprise Service Bus (ESB) and application server written in Python. Out of the box Zato offers HTTP, JSON, SOAP, REST, Redis, AMQP, JMS WebSphere MQ, ZeroMQ, FTP, SQL, hot-deployment, job scheduling, statistics, and high-availability load balancing. There's a Django-based GUI, command line interface for admins and a JSON/SOAP API for hackers wishing to built alternative tools on top of services offered by Zato. The 1.0 release comes with several hundred pages of documentation and is available under LGPL at https://zato.io

Zato

Zato, un projet nouvellement publié, est un bus de services d'entreprise (ESB) et serveur d'application écrit en Python. (NdT :ESB selon Wikipedia).

Zato offre immédiatement HTTP, JSON, SOAP, REST, Redis, AMQP, JMS WebSphere MQ, ZeroMQ, FTP, SQL, déploiement à chaud [NdT : Il se réfère à la capacité d'apporter des changements à une application en cours d'exécution sans provoquer aucune interruption ni redémarrer le serveur. Source : http://www.theserverside.com/news/thread.tss?thread_id=26044], la planification des tâches, les statistiques et l'équilibrage de charge à haute disponibilité.

Il y a une interface graphique basée sur Django, une interface de ligne de commande pour les administrateurs et une API JSON/SOAP pour les programmeurs souhaitant construire des outils alternatifs par-dessus des services offerts par Zato.

La version 1.0 est livré avec plusieurs centaines de pages de documentation et est disponible sous licence LGPL à https://zato.io.

issue73/q_et_r.txt · Dernière modification : 2013/10/21 18:51 de auntiee