Join Scott Simpson for an in-depth discussion in this video Optional: Installing guest additions in the VM for easier use, part of Learn the Linux Command Line: The Basics.
- [Voiceover] To make working in the virtual machine easier, we need to install some software called the guest additions. And in order for those to install correctly, we're going to have to make some changes at the command line. I know this seems like jumping into some of the more advanced stuff right at the beginning, but we need to get through it to make the system work correctly. Don't worry about understanding what these commands do right now. You'll know what they do by the end of the course. For now, just type along with me so we can get the software set up. I'll go to Activities, choose Show Applications, scroll down, choose Utilities, and click Terminal.
Now I'll type sudo dnf update and I'll type in my password. What we're doing here will start to look familiar as you watch more videos in this course. After a little bit, I'll be asked if the things above it are okay. Yes, they're fine, so just press Y and press Enter. This process will take a while. Once that really long process completes, we have one more command that we need to run. I'll write sudo, which is sudo, dnf install gcc kernel-devel-$(uname -r) and press Enter.
I'll type in my password, I'll type Y and I'll press Enter. Okay, now we can close the terminal window. I go up to the menu bar, hit the Power option, and I'll choose Power off. I'll choose the machine and I'll click Start. There's just a few more steps we need to go through before we have this machine working exactly the way we need it. I'll click on my name and I'll type my password, and I'll click Sign In. I'll choose Devices, and Insert Guest Additions CD Image.
Then I'll click Run. I'll type in my password, and hit Authenticate. Looks like I've got a little bit of a problem here. I'll copy this line that says, yum install, and a bunch of stuff, right click and choose Copy. I'll close the window, go to Activities, choose Show Applications, Utilities, Terminal again, then I'll type sudo, and then right click and Paste. Then I'll press Enter.
I'll type my password, type Y for yes, and press Enter. Then I'll close the window, open the menu from the top bar, choose Power, and power off the machine. I'll choose the machine and click Start. I'll click on my name, type in my password, and choose Sign In. I'll choose Devices, then Insert Guest Additions CD Image. I'll choose Run, and type my password. Once that's done I'll press Return, go up to the menu, hit the Power button, and choose Restart.
I'll click on my username, type in my password, and click Sign In. Up in the Devices menu, I'll choose Shared Clipboard, Bidirectional. I'll go back into the Devices menu, choose Drag and Drop, and also pick Bidirectional. I'll open up Activities and go to my file browser. I'll go into my Documents folder and check that everything's working by dragging my exercise files into that folder. If everything is configured correctly, it'll copy right across.
For the rest of the course, I'll be using this virtual machine in a full screen mode. You can go to View and choose Full Screen mode, the shortcut for which is Host-F, so on a Mac it would be the left Command key and the F key, and on Windows it would be the right Control key and the F key. You'll get a warning reminding you of how to get back out of full screen mode. I'll click Do Not Show This Message Again, and choose Switch, and there we are. This is the environment we'll be in for the rest of the course. There's a few more tweaks that I want to make.
I'm going to right click on the background, then click on Choose Background, and then click on Background. I'm going to change mine to a nice blue color so it's not quite as busy. I'll click Back, and then I'll choose Power. I want to turn off the blank screen, so I'll set that to Never. And then I'll close it. All right, this is the environment we'll be using for the rest of the course.
This course will establish the foundation for more advanced Linux topics. Find other Linux training courses here.
- What is the Linux command line?
- Writing Linux commands at the prompt
- Finding help for Linux commands
- Editing files and folders
- Configuring user roles and file permissions
- Using pipes to connect commands
- Peeking at files
- Searching and editing text
- Finding disk and system information
- Installing and updating software