issue161:q._et_r
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue161:q._et_r [2020/09/29 15:41] – [2] auntiee | issue161:q._et_r [2020/10/02 07:34] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
**Welcome back to another edition of Questions and Answers! In this section, we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUID’s or IP addresses. If your question does not appear immediately, | **Welcome back to another edition of Questions and Answers! In this section, we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUID’s or IP addresses. If your question does not appear immediately, | ||
- | Bienvenue de retour dans un autre épisode de Questions et Réponses ! Dans cette rubrique, nous essaierons de répondre à vos questions sur Ubuntu. Assurez-vous d’ajouter les détails de la version de votre système d’exploitation et de votre matériel. J’essaierai d’enlever des questions toutes chaînes qui pourraient vous identifier personnellement, | + | Bienvenue de retour dans un autre épisode de Questions et Réponses ! Dans cette rubrique, nous essaierons de répondre à vos questions sur Ubuntu. Assurez-vous d’ajouter les détails de la version de votre système d’exploitation et de votre matériel. J’essaierai d’enlever des questions toutes chaînes qui pourraient vous identifier personnellement, |
- | ===== 1 ===== | ||
**When it comes to making articles for FCM, I often make screenshots, | **When it comes to making articles for FCM, I often make screenshots, | ||
- | Quand il est question d' | + | Quand il est question d' |
**Before we start this month’s Q&A, I have to mention, I try to leave your questions as-is. I cut some fluff to keep them short (which has no relevance), so please do not send us messages being upset that the whole thing was not used verbatim. I do not fix your spelling mistakes either. To give you an idea, this first question was distilled down from 1181 characters in 20 lines. I have to give space to everyone. ** | **Before we start this month’s Q&A, I have to mention, I try to leave your questions as-is. I cut some fluff to keep them short (which has no relevance), so please do not send us messages being upset that the whole thing was not used verbatim. I do not fix your spelling mistakes either. To give you an idea, this first question was distilled down from 1181 characters in 20 lines. I have to give space to everyone. ** | ||
- | Avant de commencer la rubrique Q. ET R. de ce mois-ci, je dois dire que j' | + | Avant de commencer la rubrique Q. ET R. de ce mois-ci, je dois dire que j' |
- | ===== 2 ===== | + | **Q: How can I securely delete my hard drives before selling them? I have replaced all mine with ssd’s and want to sell my big old drives on gumtree. I don’t want some guy forensically stealing my bank account info, I am not saying they will, I am just being cautious. |
- | + | ||
- | + | ||
- | Q: How can I securely delete my hard drives before selling them? I have replaced all mine with ssd’s and want to sell my big old drives on gumtree. I don’t want some guy forensically stealing my bank account info, I am not saying they will, I am just being cautious. | + | |
A: There are a couple of ways. One, DBAN (Darik’s boot and nuke). Two, use an encryption program like Veracrypt to format the drive into an encrypted container. Three, write zeros to the disk, then write the contents of dev/random to the disk. Personally I would just encrypt the volume before formatting it to another filesystem. | A: There are a couple of ways. One, DBAN (Darik’s boot and nuke). Two, use an encryption program like Veracrypt to format the drive into an encrypted container. Three, write zeros to the disk, then write the contents of dev/random to the disk. Personally I would just encrypt the volume before formatting it to another filesystem. | ||
Ligne 23: | Ligne 19: | ||
Q: I am duel booting my new Ryzen 5 machine with Ubuntu and Windows. In Windows, it boots off the m2 SSD in 5 seconds, but Ubuntu takes 2 minutes! What could be the problem? Dmesg shows no activity for like a minute. | Q: I am duel booting my new Ryzen 5 machine with Ubuntu and Windows. In Windows, it boots off the m2 SSD in 5 seconds, but Ubuntu takes 2 minutes! What could be the problem? Dmesg shows no activity for like a minute. | ||
- | A: Nine times out of ten, it is a BIOS that needs to be upgraded to run Linux properly. Check on your manufacturer’s website, and check often. Also check for firmware for other components, like your SSD. Might also be because you are duel booting and not dual-booting ;) En garde! | + | A: Nine times out of ten, it is a BIOS that needs to be upgraded to run Linux properly. Check on your manufacturer’s website, and check often. Also check for firmware for other components, like your SSD. Might also be because you are duel booting and not dual-booting ;) En garde!** |
Q : Comment tout supprimer en sécurité sur mes disques durs avant de les vendre ? Je les ai tous remplacés par des SSD et je voudrais vendre mes gros disques sur gumtree. Je ne voudrais pas qu'un technicien vole les infos de mes comptes bancaires ; je ne veux pas dire que c'est ce qu'il ferait, mais je ne suis que prudent. | Q : Comment tout supprimer en sécurité sur mes disques durs avant de les vendre ? Je les ai tous remplacés par des SSD et je voudrais vendre mes gros disques sur gumtree. Je ne voudrais pas qu'un technicien vole les infos de mes comptes bancaires ; je ne veux pas dire que c'est ce qu'il ferait, mais je ne suis que prudent. | ||
- | R : Il y a deux ou trois façons de faire. La première, DBAN (Darik' | + | R : Il y a deux ou trois façons de faire. La première, DBAN (Darik' |
- | Q : Ma nouvelle machine, une Ryzen 5, est en « duel » amorçage | + | Q : Ma nouvelle machine, une Ryzen 5, est en amorçage |
- | R : Neuf fois sur dix, c'est un BIOS qui doit être mis à niveau pour que Linux fonctionne comme il faut. Consultez le site Web du fabricant et faites-le souvent. | + | R : Neuf fois sur dix, c'est un BIOS qui doit être mis à niveau pour que Linux fonctionne comme il faut. Consultez le site Web du fabricant et faites-le souvent. |
- | ===== 3 ===== | ||
- | + | **Q: Nanii3, [14.05.20 18:09] ...I enjoy cooking while at home, but KRecipies doesn’t want to work for me. I know there are many recipe websites, but they are all diseased with ads and trackers and I would rather prefer my own thing... | |
- | Q: Nanii3, [14.05.20 18:09] ...I enjoy cooking while at home, but KRecipies doesn’t want to work for me. I know there are many recipe websites, but they are all diseased with ads and trackers and I would rather prefer my own thing... | + | |
A: Sorry for cutting the message so short, but the rest was not really relevant. KRecipes is dead. You have Gourmet and Gnome Recipes left. This is a ‘glaring’ hole in Linux software. Anyone want to be a Super Star? This is your chance to shine. | A: Sorry for cutting the message so short, but the rest was not really relevant. KRecipes is dead. You have Gourmet and Gnome Recipes left. This is a ‘glaring’ hole in Linux software. Anyone want to be a Super Star? This is your chance to shine. | ||
Ligne 44: | Ligne 38: | ||
A: The reason is the way Windows boots and how Linux boots. When dual-booting, | A: The reason is the way Windows boots and how Linux boots. When dual-booting, | ||
- | |||
Q: Zebulon, [17.06.20 18:32] How can I see if my brother has been using my PC and what he has been doing? | Q: Zebulon, [17.06.20 18:32] How can I see if my brother has been using my PC and what he has been doing? | ||
- | A: There is a command called “last” which will tell you when last someone logged on to the machine. You can use the “history” command to see what commands he typed. Applications and browsers have their own history that you can check, like VLC’s “open recent files”. | + | A: There is a command called “last” which will tell you when last someone logged on to the machine. You can use the “history” command to see what commands he typed. Applications and browsers have their own history that you can check, like VLC’s “open recent files”.** |
- | ===== 4 ===== | + | Q : Nanii3 [14.05.20 18:09] ... J'aime bien faire la cuisine quand je suis à la maison, mais KRecipes ne me convient pas. Je sais qu'il existe beaucoup de sites Web pour les recettes, mais ils sont tous malades de pubs et de pisteurs et j' |
+ | R : Désolé d' | ||
- | Q: I have an idea for an app that I want to write where you scan something on Ubuntu and it interfaces with a server to retrieve or store info. How can I get more information on how to do this? I think I will use jquery, but I also need to learn all the frameworks I will need. Where should I start? | + | Q : Expliquez-moi pourquoi Windows se casse quand vous désinstallez Ubuntu après un double amorçage, eh ? Je voulais installer Kubuntu à la place, mais Windows 10 ne veut plus démarrer. Je peux atteindre un shell de démarrage - > salpreet @ singh, mais pas davantage. |
+ | |||
+ | R : C'est dû à deux façons de démarrer, celle de Windows et celle de Linux. Quand vous faites un double amorçage, vous devez installer Windows d' | ||
+ | |||
+ | Q : Zebulon, [17.06.20 18:32] Comment voir si mon frère utilise mon PC et ce qu'il y fait ? | ||
+ | |||
+ | R : Il y a une commande appelée « last » qui vous dira la dernière fois où quelqu' | ||
+ | |||
+ | |||
+ | **Q: I have an idea for an app that I want to write where you scan something on Ubuntu and it interfaces with a server to retrieve or store info. How can I get more information on how to do this? I think I will use jquery, but I also need to learn all the frameworks I will need. Where should I start? | ||
A: The journey of a thousand miles begins with one step. Start at the beginning. | A: The journey of a thousand miles begins with one step. Start at the beginning. | ||
Ligne 64: | Ligne 67: | ||
zip -P 12345 files.zip file1 file2 file3 | zip -P 12345 files.zip file1 file2 file3 | ||
- | Most GUI ‘zippers’, | + | Most GUI ‘zippers’, |
- | ===== 5 ===== | + | Q : J'ai une idée pour une appli que je voudrais écrire où vous pouvez scanner quelque chose sous Ubuntu et cela se connecte à un serveur pour récupérer ou stocker des informations. Comment obtenir davantage de renseignements sur comment faire ? Je pense utiliser jquery, mais je dois aussi apprendre tous les frameworks dont j' |
+ | R : Le voyage d'un millier de kilomètres commence par un pas. Commencez au commencement. Notez et planifiez. Quant à comment faire, cela dépend de vous. Ubuntu n'a aucun truc luxueux. Que voulez-vous scanner ? Des codes QR ? Des codes barre ? Réfléchissez-y encore et divisez votre idée en petits morceaux. Quant aux frameworks : n' | ||
- | Q: So what we want to do is make files of a specific size and see how long they take to transfer across different networks. Instead of carrying a thumb drive, I heard Linux can make files to any size. Just to sort of test if, for example, CAT6 cables are really transferring at CAT6 speeds and so forth. | + | Q : Je voudrais crypter certains de mes documents, mais pas tous. Uniquement pour que des regards indiscrets ne les découvrent pas par hasard. Pas le chiffrement de mon dossier personnel complet, car je ne veux pas communiquer mon mot de passe. J'ai pensé à un dossier crypté, mais, dans ce cas-là, certains trucs seront loin de la vue, loin de l' |
+ | |||
+ | R : OK ? Il me semble que vous avez beaucoup réfléchi à la question. Ubuntu est en effet un OS à multiples utilisateurs. Et si vous zippiez les documents et les protégiez par mot de passe de cette façon-là ? C'est un peu plus sérieux que la protection par mot de passe d'un document/ | ||
+ | |||
+ | zip -P 12345 files.zip file1 file2 file3 | ||
+ | |||
+ | La plupart des « zippeurs » à interface graphique permettent des mots de passe. Ainsi, « salaires.zip », ou ce que vous avez besoin de regarder, sera présent, mais inaccessible. | ||
+ | |||
+ | |||
+ | **Q: So what we want to do is make files of a specific size and see how long they take to transfer across different networks. Instead of carrying a thumb drive, I heard Linux can make files to any size. Just to sort of test if, for example, CAT6 cables are really transferring at CAT6 speeds and so forth. | ||
A: Yes there are a few ways you can do this; if xfsprogs is installed, then xfs_mkfile 10M testfile.txt; | A: Yes there are a few ways you can do this; if xfsprogs is installed, then xfs_mkfile 10M testfile.txt; | ||
Ligne 82: | Ligne 95: | ||
A: Yes, you can look at Simon or Deep speech from Mozilla: | A: Yes, you can look at Simon or Deep speech from Mozilla: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | Q : Bon. Ce qu'on veut faire, c'est de créer des fichiers d'une taille précise pour voir combien de temps il faut pour les transférer à travers des réseaux différents. Au lieu d' | ||
+ | |||
+ | R : Oui, il y a quelques façons de faire : si xfsprogs est installé, alors xfs_mkfile 10M testfile.txt ; sinon, truncate -s 10M testfile et voilà. Dites-nous comment vous faites vos tests, les gars, cela peut être intéressant. | ||
+ | |||
+ | Q : Comment installer Rust sur Ubuntu comme il faut ? | ||
+ | |||
+ | R : Cherchez le FCM n° 156 et regardez la rubrique « C&C (Command and Conquer) ». | ||
+ | |||
+ | Q : Existe-t-il des applis utilisables qui transforment la parole en texte, pas le texte en parole, sous Ubuntu ? | ||
+ | |||
+ | R : Oui, allez voir Simon ou DeepSpeech de Mozilla : | ||
https:// | https:// | ||
Ligne 87: | Ligne 116: | ||
https:// | https:// | ||
- | ===== 6 ===== | ||
- | Q: I wanted to download SK1, https:// | + | **Q: I wanted to download SK1, https:// |
A: Actually, no; Ubuntu is more forgiving, but you can break a Debian system when you try Ubuntu ‘deb’s’. As for Mint, I am not sure, but remember Mint has both Debian and Ubuntu editions. So I suspect it has to do with that. | A: Actually, no; Ubuntu is more forgiving, but you can break a Debian system when you try Ubuntu ‘deb’s’. As for Mint, I am not sure, but remember Mint has both Debian and Ubuntu editions. So I suspect it has to do with that. | ||
Ligne 102: | Ligne 130: | ||
Q: Something is bugging me. I installed Tauon from the snap store, but it can’t do all that it can in Manjaro. Things like addons just don’t work, but the player itself works. | Q: Something is bugging me. I installed Tauon from the snap store, but it can’t do all that it can in Manjaro. Things like addons just don’t work, but the player itself works. | ||
- | A: This is because of snap sandboxing. I suggest trying the flatpak version or see if you can find a PPA for it. Alternatively, | + | A: This is because of snap sandboxing. I suggest trying the flatpak version or see if you can find a PPA for it. Alternatively, |
- | ===== 7 ==== | + | Q : Je voulais télécharger SK1, https:// |
+ | R : En fait, non : Ubuntu pardonne davantage, mais vous pouvez casser un système Debian en essayant des « deb » d' | ||
- | Q: I started taking an online class and the IDE they suggest we use is Eclipse. But Eclipse is clunky and ugly. Is there something that is the same but different? | + | Q : Est-ce que l' |
+ | |||
+ | R : Regardez neofetch et son code source sur GitHub. Ce n'est que du bash, rapide, efficace, simple. C'est ce que les utilisateurs de Windows ne comprennent pas. J' | ||
+ | |||
+ | Q : Quelque chose me gêne. J'ai installé Tauon à partir du magasin snap, mais il n' | ||
+ | |||
+ | R : Cela est dû à la mise en bac à sable du snap. Je vous suggère d' | ||
+ | |||
+ | |||
+ | |||
+ | **Q: I started taking an online class and the IDE they suggest we use is Eclipse. But Eclipse is clunky and ugly. Is there something that is the same but different? | ||
A: The same but different...mmmm... You don’t *have to use Eclipse, but it is usually a good idea to stick to whatever you are taught with, as it eliminates confusion. That said, there are many IDE’s for Ubuntu, like bluefish, code:: | A: The same but different...mmmm... You don’t *have to use Eclipse, but it is usually a good idea to stick to whatever you are taught with, as it eliminates confusion. That said, there are many IDE’s for Ubuntu, like bluefish, code:: | ||
Ligne 120: | Ligne 159: | ||
A: 99% of the time it is a port issue, the other 1% it is a cable issue. Don’t go scolding the grandchildren yet. Replace the cable, It could be shoddy workmanship or one of the stands broke, If that does not work, get a new network card. See here for an explanation: | A: 99% of the time it is a port issue, the other 1% it is a cable issue. Don’t go scolding the grandchildren yet. Replace the cable, It could be shoddy workmanship or one of the stands broke, If that does not work, get a new network card. See here for an explanation: | ||
- | https:// | + | https:// |
- | ===== 8 ===== | + | Q : J'ai commencé à suivre un cours en ligne et l'IDE qu'il suggère qu'on utilise est Eclipse. Mais Eclipse est maladroit et laid. Y a-t-il quelque chose de très similaire, mais différent ? |
+ | R : Très similaire, mais différent... hmmm... Vous n' | ||
- | Q: I am new to all this Ubuntu server stuff, but I have to learn as my new job is almost all regarding it. I am a self-taught programmer, not a boffin like you guys. What is the best way to upgrade my RAID partition with more drives? (This is my home server which I practice on). | + | Q : Salut. Je fais tourner Windows 10 dans VirtualBox sous Ubuntu 19.10. Je dois faire la mise à niveau vers la 20.04. Windows 10 est constamment dans une boucle de mise à jour et la désinstallation des mises à jour prend 49 minutes. Plutôt qu' |
+ | |||
+ | R : Non, le problème est dans Windows 10, pas Ubuntu. Yikes ! | ||
+ | |||
+ | Q : Je pense que j'ai un problème d' | ||
+ | |||
+ | R : C'est, à 99 %, un problème de port et le 1 % restant serait un problème de câble. Il ne faut pas encore gronder les petits-enfants. Remplacez le câble, car il peut être mal fait ou l'un des brins a cassé. Si cela ne marche pas, récupérez une nouvelle carte réseau. Regardez ici pour une explication : https:// | ||
+ | |||
+ | |||
+ | **Q: I am new to all this Ubuntu server stuff, but I have to learn as my new job is almost all regarding it. I am a self-taught programmer, not a boffin like you guys. What is the best way to upgrade my RAID partition with more drives? (This is my home server which I practice on). | ||
A: Boffins? Where? Best - is by making a backup first and testing that it can restore. Now you can make mistakes and learn from them. | A: Boffins? Where? Best - is by making a backup first and testing that it can restore. Now you can make mistakes and learn from them. | ||
Ligne 132: | Ligne 181: | ||
Q: What is the best way to avoid conflicting files and versions when installing & testing software? | Q: What is the best way to avoid conflicting files and versions when installing & testing software? | ||
- | A: Roll them into a SNAP / FLATPAK / APPIMAGE and deploy them that way. | + | A: Roll them into a SNAP / FLATPAK / APPIMAGE and deploy them that way.** |
+ | |||
+ | Q : Je débute dans les trucs du serveur Ubuntu, mais il faut que j' | ||
+ | |||
+ | R : Des experts ? Où ? Le mieux est de commencer par faire une sauvegarde, puis tester sa restauration. Ainsi, vous pouvez faire des erreurs et en profiter pour apprendre. | ||
+ | |||
+ | Q : Quelle est la meilleure façon d' | ||
+ | |||
+ | R : | ||
issue161/q._et_r.1601386917.txt.gz · Dernière modification : 2020/09/29 15:41 de auntiee