Outils pour utilisateurs

Outils du site


issue88:q_r

Q Any suggestions as to which type of server I should run to stream video and audio media? A (Thanks to rubylaser in the Ubuntu Forums) I'd suggest Plex Media Server. It's super easy to set up, and has Windows, Ubuntu and IOS clients for streaming playback (even remotely, if you port forward port 32400). Q Is there a way to remove the login drum-beat sound in Ubuntu 14.04? A (Thanks to Cliff_Simonds in the Ubuntu Forums) I use Ubuntu Tweak: go to the tweaks tab →STARTUP: login settings → down to “play login sound” on-off. Q How can I scan documents into searchable PDFs? A (Thanks to freewarelover in the Ubuntu Forums) Install gscan2pdf. It has an Optical Character Recognition (OCR) function.

Q Quel type de serveur - sur lequel je puisse faire tourner de la vidéo en flux continu et des fichiers audio - me suggérez-vous ?

R (Merci à rubylaser sur les forums Ubuntu.) Je vous suggère Plex Media Server. Il est facile à installer et il a des clients Windows, Ubuntu et iOS pour l'écoute en flux continu (même à distance, si vous redirigez le port 32400.) [Ndt : voir https://fr.wikipedia.org/wiki/Redirection_de_port ]

Q Comment supprimer le son du drum-beat lors du login dans Ubuntu 14.04 ?

R (Merci à Cliff Simonds sur les forums Ubuntu.) J'utilise Ubuntu Tweaks : allez dans l'onglet des réglages → STARTUP ; paramètres de connexion → descendez jusqu'à « Jouer un son à la connexion » oui-non.

Q Comment scanner des documents dans un PDF consultable ?

R Merci à freewarelover sur les forums Ubuntu.) Installez gscan2pdf. Il comporte une fonction de reconnaissance de caractères (OCR = Optical Character Recognition).

Q I just installed Ubuntu as a remote media player. How can I control it from my Windows 7 computer? A (Thanks to HeroHog in the Ubuntu Forums) Use X11VNC on Ubuntu, and TightVNC in Windows. Q I'm thinking of getting a laptop. How can I find out which ones will work well with Ubuntu? A There are two message threads in the Ubuntu Forums which might help, and you can get to them from Google. One is the “laptop compatibility list,” and the other is the “laptop incompatibility list” I don't trust the latter; some people think the microphone doesn't work when it's just muted… If you are prepared to pay a little more, there are vendors which sell laptops with Ubuntu pre-installed. My preference is to use unetbootin to put the latest Ubuntu on a flash drive, and boot from it at the dealer's. See if sound works, the webcam (install Cheese), wireless, etc. (If you can see wireless networks, you don't actually need to connect to one.)

Q Je viens d'installer Ubuntu comme lecteur multimédia distant. Comment puis-je le contrôler depuis un PC sous Windows 7 ?

R (Merci à HeroHog dansles forums Ubuntu.) Utilisez X11VNC sous Ubuntu et TightVNC sous Windows.

Q Je pense m'équiper d'un portable. Comment trouver ceux qui fonctionnent bien avec Ubuntu ?

R Sur les forums Ubuntu, il y a deux fils de messages qui peuvent aider et vous pouvez les trouver depuis Google. L'un est la « Liste de compatibilité pour portables » (laptop compatibility list) et l'autre est la « liste d'incompatibilité de portables ». Je ne crois pas beaucoup à cette dernière ; certains pensent que le microphone ne marche pas quand il est juste coupé…

Si vous êtes prêt à payer un peu plus cher, il y a des vendeurs qui vendent des portables avec Ubuntu pré-installé. Ma préférence est d'utiliser unetbootin pour installer la dernière version d'Ubuntu sur un lecteur flash et de rebooter à partir de ce lecteur chez le revendeur. Regardez si ça semble fonctionner, la webcam (installez Cheese), la connexion sans fil, etc. (Si vous voyez des réseaux sans fil, il n'y a pas besoin de se connecter à l'un d'eux.)

Q I'm using Ubuntu 13.10 and … A Before you can fix your problem, you need to update your system to a version of Ubuntu which is currently supported. As of right now, that means either 12.04 or 14.04 for the desktop versions. Q To compile my first program, I typed 'gcc -o test main.c'. However when I run the program in the terminal, I don't see anything. A (Thanks to trent.josephsen in the Ubuntu Forums) Test is a shell command. To run your compiled program, use this command: ./test

Q J'utilise Ubuntu 13.10 et …

R Avant de résoudre votre problème, il est nécessaire de mettre à jour votre système avec une version d'Ubuntu qui est actuellement supportée. A l'heure actuelle (août 2014), cela signifie Ubuntu 12.04 ou 14.04.

Q Pour compiler mon premier programme, j'ai saisi « gcc -o test main.c ». Mais quand je lance le programme dans un terminal, je ne vois rien se passer.

R (Merci à trent.josephsen sur les forums Ubuntu.) Test est une commande shell. Pour lancer votre programme compilé, utilisez la commande :

./test

Top questions at Askubuntu * Ubuntu on low performance laptop http://goo.gl/GlixGy * Why is this password not good enough? http://goo.gl/gDez1N * Why does aptitude insist on installing packages? http://goo.gl/H2OPgq * how to know if an authenticate box is real or fake? http://goo.gl/IgWK0q * Watching Netflix on Ubuntu 14.04 http://goo.gl/GqCp9K

Nouvelles questions fréquentes sur Askubuntu

* Ubuntu sur les portables à basses performances http://goo.gl/GlixGy

* Pourquoi ce mot de passe n'est pas assez bon ? http://goo.gl/gDez1N

* Pourquoi aptitude insiste-t-il autant pour installer des paquets ? http://goo.gl/H2OPgq

* Comment savoir si la boîte de dialogue d'authentification est vraie ou fausse ? http://goo.gl/IgWK0q

* Regarder Netflix sous Ubuntu 14.04 http://goo.gl/GqCp9K

* Does spyware exist for Ubuntu? http://goo.gl/u0kJis * What version of Python do I have? http://goo.gl/A5LEQt * Skype can't connect http://goo.gl/6CiEOG * How to update LibreOffice from 4.2 to 4.3 in Ubuntu 14.04.1 LTS? http://goo.gl/eUGfXv

* Y a-t-il des logiciels espions pour Ubuntu ? http://goo.gl/u0kJis

* Quelle version de Python est sur mon PC ? http://goo.gl/A5LEQt

* Je ne peux pas me connecter à Skype http://goo.gl/6CiEOG

* Comment mettre à jour LibreOffice de la 4.2 à la 4.3 sous Ubuntu 14.04.1 LTS ? http://goo.gl/eUGfXv

Tips and Techniques Server: Hoist by my own Petard Many times, a person has asked a question about Ubuntu Server, and I have responded, “use a GUI, where all the familiar tools are available. Try Xubuntu, Lubuntu, Mint with Mate, etc.” Then it happened: I needed to re-purpose an older computer as a special-purpose file server, with the maximum possible performance. I looked at options. Windows 8.1 Desktop is fine as a limited-purpose file server, but it probably won't deliver “the maximum possible performance.” FreeNAS has a great reputation, but it's a memory hog. OK, Ubuntu Server it is – with no GUI. My starting point was a core-duo computer with no hard drive. I added a hot-swap drive bay so I can change the shared drive when it fills up, and began with a 2 TB drive as the shared file space. The computer is so old that it won't boot from USB, so I installed a small hard drive to hold the OS.

Trucs et astuces

Serveur: pris à mon propre piège

Plusieurs fois, une personne a posé une question sur Ubuntu Server et j'ai répondu « utilisez l'interface graphique, avec laquelle tous les outils habituels sont disponibles. Essayez Xubuntu, Lubuntu, Mint, Mint avec Mate, etc. ». Puis ça m'est arrivé : j'ai eu besoin de convertir un vieux PC en serveur de fichiers pour un usage particulier, avec la meilleure performance possible.

J'ai regardé les possibilités. Windows 8.1 est bien comme serveur de fichiers particuliers, mais il ne pourra peut-être pas délivrer « la meilleure performance possible ». FreeNAS a une excellente réputation, mais c'est un goinfre de mémoire. Bien sûr, Ubuntu Server…, sans interface graphique.

Mon point de départ était un PC Core Duo, mais sans disque dur. J'ai ajouté une baie de disques échangeables à chaud de façon à pouvoir remplacer le disque partagé quand il est plein et j'ai commencé avec un disque de 2 To comme espace de fichiers partagés. Le PC est si vieux qu'il ne peut pas démarrer sur le port USB ; j'ai donc ajouté un petit disque dur pour y mettre l'OS.

Installing Ubuntu Server isn't much of a challenge, but there are a few tricks. I found that my life was a lot easier if I had Internet access during the installation, so the installed system would assume Internet access was available. During installation, you are asked what applications you want. First and foremost, I wanted Samba file server. When I also selected OpenSSH Server, I could control the server from another computer – from the very first time it booted. I wanted to run a “headless” server with no monitor and no keyboard, but the Dell BIOS complained, “keyboard failure, press F1 to continue,” and would not boot. OK, I had to leave the keyboard attached. To control the computer from Linux, I installed PuTTY from the repos on my normal desktop computer. To control it from Windows, I went to putty.org and downloaded the client program. One small, but important point: I have told our router that when the server's MAC address appears, it should get the IP address 192.168.1.70, so the file server has a static IP address on our LAN. Putty is a lot easier to use when it is connecting to a static IP address.

L'installation d'Ubuntu Server n'est pas très compliquée, mais il y a quelques petits trucs. J'ai trouvé que je me simplifiais la vie en étant connecté à Internet pendant l'installation ; ainsi, le système installé conclurait à la disponibilité d'une connexion internet. Pendant l'installation, on vous demande quelles sont les applications que vous voulez installer. En tout premier, je voulais installer le serveur de fichiers Samba. Si j'ai aussi sélectionné OpenSSHServer, c'était pour pouvoir contrôler le serveur depuis un autre PC, dès le tout premier démarrage.

Je voulais faire tourner le serveur « sans tête », sans moniteur et sans clavier, mais le Bios Dell se plaignait : « erreur clavier, appuyer sur F1 pour continuer » et il ne démarrait pas. D'accord, j'ai dû laisser le clavier connecté.

Pour gérer l'ordinateur depuis Linux, j'ai installé PuTTY depuis le dépôt sur mon PC de bureau habituel. Pour le contrôler depuis Windows, je suis allé sur putty.org et j'ai installé le programme client. Un petit point, mais qui a son importance : j'ai indiqué à notre routeur que quand l'adresse mac du serveur apparaîtrait, il faudrait lui attribuer l'adresse IP 192.168.0.70 pour que le serveur de fichiers ait une adresse IP statique sur notre réseau. Putty est bien plus facile à utiliser quand il est connecté à une adresse IP statique.

So now I'm at the command line, and need to master a few specifics. The first question is, how to automatically mount a second drive, which is not what I booted from. This helped: http://www.ghacks.net/2009/09/10/add-a-second-drive-to-your-ubuntu-server However, the first comment suggested using UUID, which took a little bit more research. The key command: sudo blkid Next, I needed to understand how to set up a shared folder using the command line. This helped: https://help.ubuntu.com/10.04/serverguide/samba-fileserver.html Even so, it took some experimenting to get the shared folder on the second drive, and make it mountable and writable from a Windows client computer. The key command: sudo chown nobody.nogroup foldername So, three technical issues to master, and all of them have good online tutorials. Because I already understood the terminology, it was much easier than I expected.

Et, maintenant, je suis en ligne de commande et je dois maîtriser quelques points spécifiques.

La première question est comment monter automatiquement le deuxième disque, qui n'est pas celui à partir duquel j'ai démarré. Pour aider : http://www.ghacks.net/2009/09/10/add-a-second-drive-to-your-ubuntu-server

Cependant, le premier commentaire suggérait d'utiliser UUID, ce qui m'a demandé un peu plus de recherche. La commande clé : sudo blkid

Ensuite, je devais comprendre comment paramétrer un dossier partagé depuis la ligne de commande. Pour aider : https://help.ubuntu.com/10.04/serverguide/samba-fileserver.html

Même ainsi, ça a demandé quelques essais pour obtenir un dossier partagé sur le second disque, le rendre montable et pouvoir y écrire depuis le PC client Windows. La commande clé :

sudo chown nobody.nogroup foldername

Ainsi donc, il y a trois difficultés techniques à maîtriser et elles sont toutes bien documentées en ligne. Parce que je comprenais déjà la terminologie, ça a été plus facile que prévu.

issue88/q_r.txt · Dernière modification : 2015/01/30 15:47 de auntiee