Greetings, I'm Professor Kay. And in this short video presentation, we're going to see how we can go about speeding up the performance of our Kali Linux installation. Now, before we get into the lab itself, it's always a good thing, go ahead and make sure we got the latest and the greatest from the distros. So let's go ahead and do an update and upgrade and a distribution upgrade all at the same time. By running this command that you see on your screen, I'm going to go ahead and hit Enter. And just a moment, it's going to start to do the update process.
I've got a few things that need to be updated about 759 megabytes of archives that need to be downloaded. And I'm going to go ahead and type in a Y for yes and hit Enter. And just as soon as this gets done, we'll return to the lab. Kelly has completed its update, and we're now ready to move on. I'm going to go ahead and clear the screen. The first thing we can do to help speed up our install of Kali is to remove the unneeded app sources.
We need to do this From time to time to do this, I'm going to use the app dash get auto clean command, I'm going to go ahead and hit Enter. And there you go. So all these unused sources, these app sources here, are removed because they're no longer needed. That helps to clean up my unused disk space. The next thing we're going to do to help speed up our installation of Kali is to download an all in one utility called Stacy, Stacy is going to allow us to do a lot of things using a nice, friendly gooey, and this is a very good utility for helping to optimize our installation of Kali, especially in the VM. So you should be able to copy and paste the URL for this download from GitHub, up inside of your browser, inside of Kali so that you can begin the download.
So once you've got that going on, and you've gotten to the page, you're going to scroll on down until you come to the Deb package. Just go ahead and download that real quick. going to go ahead and save that file, like so, once this has been downloaded, you can just go over here download container, and you're going to click on the folder icon over here on the right, and open that up. And I'm going to take the package that you downloaded for Stacey and it's going to drop it on over here to the desktop just like that. Drag and drop, you can close up the Downloads folder, close out your browser. And let's open up a terminal.
You can see that we have the Stacie package on our desktop. And using our terminal we're going to change directory on over to the desktop so that we can access it through the command line. So from my command prompt, or from the terminal, I've typed in CD change directory space, where I want to change directory to that is the desktop. I'm going to go ahead and hit enter. Notice that my prompt changes so let me know that I'm now inside of the desktop directory. Go ahead and type in LS to list the contents of the directory for desktop.
And notice that it does To show the status your package as being present, and it is currently showing a red font. So the next thing we have to do is to give the package administrative access so that we can install it correctly. So I'm going to go ahead and just copy the name of this package, and then going to go to my command prompt here, I'm gonna type in ch mod plus x, just like that. Then I'm going to just right click and paste the name of the package. And you'll notice that it comes back to the prompt letting us know that command completed successfully. Now we do another LS, and you'll notice that the package now has a green font, showing us that it is an executable.
We're now ready to install the package and I've done that using the DP kg command space dash I followed by the name of the package. Again, I just copied and pasted the name of the package to the end of the command. Now the command has completed successfully in a package is now installed. The next command, we're going to Ronnie is the app dash get faced dash small letter F space install command. Now this is going to allow us to fix any broken dependencies that the spacer application is going to need to be able to run. So I'm going to go ahead and launch this.
Let's go ahead and just hit Enter. And you see it comes back letting me know that everything completed successfully. So we have spacer installed, we're ready to move on with launch Nick, the launch day, sir, all we have to do just go to the terminal, and just type in spacer, hit Enter. And there it is. We'll start off with just looking at our GUI interface here looking at the three charts that we have running up on top, which is the CPU, the memory in the disk, so everything is going to be presented in percentages. So you see currently I'm using roughly about 40% of my CPU and it just goes up and down.
It varies memory I have roughly two gigabytes of RAM assigned to this VM and then of course the disk space. currently have available. I currently have 13.3 gigabytes of space utilized on my total disk of 76.3 gigabytes. Over here on the left, you have all your system information gathered for you. You have your platform, you have your distribution, your kernel, release your CPU model, a number of cores you have in your CPU, and of course, how the CPU is currently rated. And the last item we want to talk about is this download and upload monitor that you have.
So that's a pretty cool thing to have. Also, you can actually see what's going on if you're doing a lot of uploading and a lot of downloading. So we're now ready to move on over to the left hand side menu, and we're going to begin with this rocket icon. And if you put your mouse over it, it'll tell you that it is to manage your startup app. Now if I click on this, it's going to take me over to this screen here. And this is how I can manage applications that I want to start up at boot.
When I launched my Cali installation, so let's say that I want to use plank, which is a really enhanced docking utility. And I'll show it to you real quick. First off, I'm going to go ahead and launch a new window over here. To get plank, you're going to have to use the app dash get installed plank command. It's not installed by default, but it installs real quick, it's not a problem. Then once you install it, and you want to run it, all you have to do is type in the command plank, and that launches it.
So I'll go ahead and hit enter, you'll see what it looks like down here at the bottom of my screen. And so here's planked down here at the bottom. So you can see it's just a another docking utility, similar to the one that we have normally over here on the left hand side of our Cali desktop when we log in, but that's just another one. Okay, that we can get. Now if I would like to have plank launch for me, when I launched Kali and I get to the desktop, I can just go in here. I can configure plank.
To start up when I boot the system, name of this application is plank, I'm gonna go ahead and type that in. And then we have the app comment, which is just start up. And we can type in plank if we so desire. And then the command to launch plank is plank. Now I can go ahead and save that. Now you may, or you may not want to have plank startup, because it may be utilizing too many resources.
It's up to you. If you don't want the application to launch at startup, you can go ahead and just turn it off right there. That's how easy that is. Now moving on down the list of icons we have we come to the broom and of course, this is the system cleaner. And you can go in here and you can start checking things that you want to clean out application logs, crash reports, application caches trash, you can look at all that and of course you have the option to select all down here. If that's the If you want to select just like that, you can then launch.
And now you have to expand all these. Now to tell it that this is what you want to delete in each one of those categories, you have to go here to the package. And you have to click on it where it says package, you just can't click on that icon for the checkbox. So you're going to do that for each one of those things go down to the bottom, and you can hit the clean button, and you'll see that it automatically starts cleaning. And of course, you can go into your Crash Course which I have none and I have application lock. So let's go ahead and expand that real quick.
Again, click on the title of the application that you want to clean out. And that's going to check everything for you. Go ahead and click on the broom, and it's automatically going to start cleaning for you. Now this next icon that we see here, the two gears that's for your services, or your Damien's so you can go in here and save yourself a whole lot of time and a whole lot of grief by using spaceships Have these services either run or not run at startup. So if you would like Apache, for instance, to run a startup, well, you go in here and you start checking or pushing these items on over. And like so.
And these items are going to start up for you at startup. And of course, if you have some items that you don't want to run a startup, you launch this and you can get in here and you can control this. This is going to control every Damian every system service that you have running on your Kali and give you immediate access to it. So you don't have to go to the terminal and start or stop the service. You can actually go inside here, spacer and go inside of the services, and you can do it using a nice friendly GUI. Moving down the list, we come to our process manager.
Alright, so in here you can see all the processes, how much memory they're taking. You can control them in here, you can do what you need to with him here. But here you can see exactly what processes are running and what they're doing and where they're located. So this is very convenient, much better than a regular Task Manager. Moving on down the list, we come to another great utility, the uninstaller. Now, this is going to show you all the packages that are currently installed in your Kali and here you can go in and you can actually have them uninstalled.
Very useful, very useful, just go ahead and just check the box that you want to install and then uninstalling the selected and you're golden. Our next icon is going to bring up the Resource Monitor. So in here you can see exactly what's going on with your resources, get a lot of good information in here. Pretty techie. So if you're into this stuff, this is a pretty good Resource Monitor to give you an idea of exactly what resources are being utilized upon your Cali installation. Our next icon shows us the site information Net we're using to access and pull down updates for our Cali installation.
This is our app repository that we're currently using to pull down repositories for our Cali installation. This last icon here, this is for your languages, your theme, your disk and your Start Page. For instance, if you don't like to use English and your national language is something else, then by all means you can switch it right here. And you also have the option here to auto start spacer if that's something you're interested in doing. As far as the theme go, you can go and play with this. This is the default theme for spacer.
So you've got a light background, you got the default, which is the dark background. It also shows you which disk you're using. You can also do some memory presets. You can also do some disk percentage, and some CPU percentages, settings that you can play with in here. But that's pretty much it. This, this short video presentation so if you have any questions or you have any concerns about what we covered in this short video, please don't hesitate to reach out and contact your instructor and I'll see you in my next video.