issue214:tutoriel
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue214:tutoriel [2025/03/02 08:09] – créée d52fr | issue214:tutoriel [2025/03/06 09:55] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | I recently read a book called Linux Unveiled, that unveiled only that the author, ‘Half-job Hussain’, had no idea how to show newbies around. I did like some of the book somewhat (very little), so I’ll be stealing some of that to do a proper job for our FCM newbies. (No - I will not be using anything from that horrible book). I’ll try to take a more hands-on approach, so I would ask you to keep your terminal emulators open and follow along, just to get the muscle-memory going. Now obviously I cannot cover a whole book’s worth of stuff on here, but I’m thinking CPU, memory and disk here. This can then tie into some of the LPI stuff we are covering elsewhere. That means there will be homework, but I’ll keep it short. | + | **I recently read a book called Linux Unveiled, that unveiled only that the author, ‘Half-job Hussain’, had no idea how to show newbies around. I did like some of the book somewhat (very little), so I’ll be stealing some of that to do a proper job for our FCM newbies. (No - I will not be using anything from that horrible book). I’ll try to take a more hands-on approach, so I would ask you to keep your terminal emulators open and follow along, just to get the muscle-memory going. Now obviously I cannot cover a whole book’s worth of stuff on here, but I’m thinking CPU, memory and disk here. This can then tie into some of the LPI stuff we are covering elsewhere. That means there will be homework, but I’ll keep it short. |
Last time we left off on the auth.log log. If you are the only user on your system, I suggest adding another. I always added ed, edd, and eddie, to my training VM’s when I studied for LPI back in the day, to the point where I now do it automatically. The reason I want you to add a user or two, is so we can talk about authentication a bit more in-depth. | Last time we left off on the auth.log log. If you are the only user on your system, I suggest adding another. I always added ed, edd, and eddie, to my training VM’s when I studied for LPI back in the day, to the point where I now do it automatically. The reason I want you to add a user or two, is so we can talk about authentication a bit more in-depth. | ||
- | User ids should start at 1000, the second ‘1000’ (after the colon) represents the group id. A quick way to see users from the terminal is to have a look at / | + | User ids should start at 1000, the second ‘1000’ (after the colon) represents the group id. A quick way to see users from the terminal is to have a look at / |
- | If you look closely at my screenshot, you would have noticed that ed and edd are not alike. As Ubuntu uses bash as the default shell, bin/sh indicates to me that I have not logged in with that user since its creation. It’s just something no-one tells you, that you pick up - use it / don’t use it. ;) | + | J'ai lu récemment un livre intitulé Linux Unveiled, qui révélait seulement que l' |
- | I use the: groups command often, to check if my user is in the vboxusers group at home, but as a newbie and a home user, you may not. If you do not use it, give it a spin now. If you plan on taking the LPI exam, this should be second nature to you. While I’m not going to squirrel off into users and groups in this series, I do suggest adding another user or two and “administering” them a bit. It creates that “muscle-memory” I like referencing. That brings me to memory. My first honest metal server had 4GB of memory and the VM on there had 1GB, so it was always a gamble. I used the free command and the top command so often, it’s not funny. Though in the LPI exam you need to be able to explain each column, including the “shared” and “buff/ | + | La dernière fois, nous nous sommes arrêtés sur le journal auth.log. Si vous êtes le seul utilisateur de votre système, je suggère d'en ajouter un autre. J'ai toujours ajouté ed, edd et eddie à mes machines virtuelles d' |
- | If you are using a virtual machine, let me show you how to add another drive. The reason for this is so we can fill it ;-) Under storage, find your SATA controller and look for the “+” icon. This looks different, depending on your version of virtualbox. (I’m using virtualbox 7 here as it is available in the repositories. If you want to go another route, be my guest.) | + | Les identifiants d' |
+ | |||
+ | |||
+ | **If you look closely at my screenshot, you would have noticed that ed and edd are not alike. As Ubuntu uses bash as the default shell, bin/sh indicates to me that I have not logged in with that user since its creation. It’s just something no-one tells you, that you pick up - use it / don’t use it. ;) | ||
+ | |||
+ | I use the: groups command often, to check if my user is in the vboxusers group at home, but as a newbie and a home user, you may not. If you do not use it, give it a spin now. If you plan on taking the LPI exam, this should be second nature to you. While I’m not going to squirrel off into users and groups in this series, I do suggest adding another user or two and “administering” them a bit. It creates that “muscle-memory” I like referencing. That brings me to memory. My first honest metal server had 4GB of memory and the VM on there had 1GB, so it was always a gamble. I used the free command and the top command so often, it’s not funny. Though in the LPI exam you need to be able to explain each column, including the “shared” and “buff/ | ||
+ | |||
+ | Si vous regardez ma capture d' | ||
+ | |||
+ | J' | ||
+ | |||
+ | |||
+ | **If you are using a virtual machine, let me show you how to add another drive. The reason for this is so we can fill it ;-) Under storage, find your SATA controller and look for the “+” icon. This looks different, depending on your version of virtualbox. (I’m using virtualbox 7 here as it is available in the repositories. If you want to go another route, be my guest.) | ||
In the next window, click on “create” and then choose VDI, next, next, make it 1GB in size (if you can) and click finish. You will be brought back to the previous window and there you need to click on “choose”. Make sure the 1GB drive is selected. | In the next window, click on “create” and then choose VDI, next, next, make it 1GB in size (if you can) and click finish. You will be brought back to the previous window and there you need to click on “choose”. Make sure the 1GB drive is selected. | ||
Ligne 15: | Ligne 27: | ||
If you are a physical guy, I’m sure you have an old drive lying about that you could add to your physical machine. Don’t worry, we are just going to fill it to the brim, not destroy it. | If you are a physical guy, I’m sure you have an old drive lying about that you could add to your physical machine. Don’t worry, we are just going to fill it to the brim, not destroy it. | ||
- | I trust you guys are OK with the: sudo fdisk -l command? We just want to see ‘where’ it is, sda, sdb, whatever. (If you are not, and you want some guidance, please e-mail misc@fullcirclemagazine.org and we can do a short tutorial on it). | + | I trust you guys are OK with the: sudo fdisk -l command? We just want to see ‘where’ it is, sda, sdb, whatever. (If you are not, and you want some guidance, please e-mail misc@fullcirclemagazine.org and we can do a short tutorial on it).** |
+ | |||
+ | Si vous utilisez une machine virtuelle, laissez-moi vous montrer comment ajouter un autre disque. La raison en est que nous pouvons le remplir ;-) Sous Stockage, recherchez votre contrôleur SATA, puis l' | ||
+ | |||
+ | Dans la fenêtre suivante, cliquez sur « create » (créer), puis choisissez VDI, suivant, suivant, faites-en une taille de 1 Go (si vous le pouvez) et cliquez sur terminer. Vous serez ramené à la fenêtre précédente et là, vous devez cliquer sur « choisir ». Assurez-vous que le lecteur de 1 Go est sélectionné. | ||
+ | |||
+ | Si vous êtes un gars physique, je suis sûr que vous avez un vieux disque qui traîne et que vous pourriez ajouter à votre machine physique. Ne vous inquiétez pas, nous allons simplement le remplir à ras bord, pas le détruire. | ||
+ | |||
+ | J' |
issue214/tutoriel.1740899379.txt.gz · Dernière modification : 2025/03/02 08:09 de d52fr