Tag Archives: command

Publishing: How to Tell a Hardware Problem From a Software Problem

Jonez note: This article has been written by the fine folks over at https://businessservicesweek.com if you are interested in various topics you should surely take a look at their site. I found this guest post article quite interesting, so I decided to post it. I found it so interesting, I might revisit this topic in the future with my personal advice.

A computer is made up of various different layers and components, all put in place to perform specifically for the computer’s needs. When a computer breaks or has malfunctioned, it can be a big pain and cause various different issues – especially if you use the computer for work.

save

When we are subject to a computer issue, it can be hard to determine where the problem is coming from. We have been groomed to just instantly turn it off and on again and pray for the best. But, it is more than likely a hardware or software problem. But, to anyone that isn’t very educated in computer makeup, it can be tough to know which is causing the problem.

The Difference Between Hardware and Software

Computer hardware can be defined as any physical attribute used in or with your machine. So, the hardware inside the computer, or the components on the outside such as your mouse, keyboard, server, and workstation. Hardware is anything that can be physically touched. Without these components to your computer, the software wouldn’t have anything to run on.

Software is a collection of code installed onto the computers’ hard drive, that allows the device to perform. Many systems will divide software into 3 different categories. These are system software, programming software, and application software. These major classes are sequenced in a way that will be able to change the state of the hardware of the computer.

Common Hardware Problems

Most common hardware issues are actually caused by your device overheating, and not being able to dispose of that heat to cool down. This can cause issues with all the components and their performance inside of the computer, disrupting workflow. Other than the underlying cause being heat, another way many hardware issues occur is because of physical damage. For example, dropping or smashing your device can cause the component to shift or even break themselves.

Some noticeable hardware problems can be as follows.

Blue Screen

A blue screen occurs when your computer encounters a failure called a ‘stop error’. The coding of this error causes the computer to completely crash and stop working. They can come onto your screen and produce all manners of information and coding that is being saved into your hard drive disk as it is happening. If this happens, the only way the laptop can be saved is to restart it entirely. This can lead to a lot of data loss, as the applications that may be open as the blue screen happens, do not have enough time to save all of their data.

Noisy Hard Drive

Hard drives, unknown to many, have a limited lifespan and these are something you do need to update every few months or years to have optimum performance. So, if there is clicking or disruptive grinding sounds coming from the inside of your computer, then it is highly likely the hard drive needs to be replaced.

Blank Screens

Having a blank monitor is one of the most common hardware problems. A blank screen is something that is most likely to occur at least once in your time when using a computer. This can be an annoyance if the computer is being used for work purposes or important work, so it’s an issue that would really need to be fixed fast. This problem can usually be caused by loose cables in the back of the computer such as the supply cord or video cable. A simple fix would be too check all of these and ensure they are securely plugged in, to decipher if these are the culprits.

Common Software Issues

Most common software issues are caused due to a bug in the coding sequence or because the system is not working as expected due to an external issue. Software problems can cause a lot of frustration as the software coding in your device is what runs your hardware to work smoothly.

Computer Freezing

A very common software issue in many devices is the incessant freezing of applications or the screen whilst it is in use. As the laptop will now not be able to be controlled by the mouse and no clicks are doing anything, the only option left is to restart the computer. But, instead of flicking the main supply to rid the laptop of complete power, just holding down the power button for 5-10 seconds will allow the device to restart without losing power – hopefully leaving any opened work untouched.

App Command Not Working

Another confusing and troublesome software problem that could occur is apps on the device are not loading or responding when opened. This can be caused by the software trying to load too many applications at once, and it just doesn’t have the power to configure them all. On the other hand, it could be the app compatibility with the strength of the software in your device. It may be possible that the device being used does not have the appropriate coding or sequence in its software to run the app.

Ways around these issues will be to either reboot your device and start on a clean screen with no additional applications running in the background – then start up the app you want to see if it loads. Or, it will be to research the chosen application and the environment it needs to work and compare that to your own device.

Your Computer Boots Extremely Slowly

Although a slow computer can be much of an annoyance, it is luckily one of the easiest problems to fix. The most common cause of the system taking its time to boot up is because there are too many applications trying to load at once in the background as your computer is trying to start too. The best way to avoid this issue would be to set all of the applications on the computer to only load when they are being used. This will stop new downloads sticking to their factory settings and loading as soon as the laptop starts – hopefully allowing your device to start a lot faster.

Conclusion

It is an annoyance for almost everyone when a device has problems or isn’t working properly – especially when it is of great importance to everyday life. It is hard to be able to configure by yourself why the problems are happening and find the cause. Therefore, the most beneficial decision would be to take your device to a repair shop, if the issue continues after reading through the tips and tricks of this article.

Tutorial: Install games on your Ubuntu Server 14.04 using VirtualBox

ss (2015-01-28 at 04.30.24)I only got two lessons of Linux in class and I got kind of hooked. I wanted to do more with Linux. And because I’m a gamer, I decided to try and install games on Linux. After some trying out and fiddling around I was finally successful in installing a few games on my Ubuntu 14.04 server. So, in this tutorial I’ll also teach you guys how to install the Guest Additions. I installed it to, but I don’t know 100% if it’s actually needed. Anyways, enough stalling, let’s start. 

Needed stuffs

  • A working VirtualBox installation. If you don’t have that yet, get it here.
  • A working Ubuntu 14.04 or later server. If you don’t have that yet, get it here.
  • The GuestAdditions ISO. If you don’t have it, you can download it for version 4.3.20 here.
  • Your Ubuntu install should be able to connect with the internet. I use NAT in the settings and it works. Also your Ubuntu VM needs a cd-rom drive. If you don’t have it yet, the error that pops up then explains it quite clearly how to add one.

How to do this?

Part 1: Guest Additions

Step 1: Update apt-get

After you log in into your Ubuntu server, type in the command:

sudo apt-get update

Then give in your sudo password and wait a while until you can give in commands again. This updates the apt-get program in Linux. This program is used to install, update and get software from the internet. I might be wrong, but that’s what I used it for.

Step 2: Install 2 pieces of software to get Guest Additions running.

After you updated apt-get, let’s use it to now have install two pieces of software that you need in order to run guest additions.

sudo apt-get install dkms

sudo apt-get install build-essential

Together they take around 50-60 MB if I remember correctly. You will have to allow both installations by simply hitting the “y” key. This installation takes a minute or five.

A good suggestion is that after the two installs, you reboot your virtual machine. You can do this in two ways. You could either shutdown the VM and restart it by using:

sudo shutdown -h now

Or just let the VM do the job for you by:

sudo reboot

I didn’t need to enter my password, most likely since it still remembers it from the install of the programs.

Step 3: The CD.

After you downloaded the Guest Additions ISO file (I linked it more above in this post), you go to your VM and under the “Devices” tab, you pick “CD/DVD” and click “Choose a virtual CD/DVD file”. (note: I don’t know if it’s going to say that. My installation is in Dutch, so if it’s not 100% that, but something similar, forgive me.)

Then locate where you downloaded the Guest Additions ISO and click it so you can insert it in your Ubuntu. If there is an error message that VM doesn’t have a CD-ROM drive, read it and fix it. Be careful, in order to change those things you will need to shutdown the VM, otherwise the changes won’t be saved.

If there is any other error, try to allow it. Since I inserted the CD before I installed the two programs in step 2, I was a bit too quick, I got an error. I don’t remember what it said but I accepted it and I got it still working.

I know that the bottom says: “Install Guest Additions”. But when I used that, my installation wouldn’t find the CD after I mounted it. (I’ll explain that in the next step.) So yeah, that’s why I do it this way.

Step 4: Mount the disc.

ss (2015-01-28 at 04.55.22)After you got the disc in, you should go to your root and then to the media folder. I don’t go it the quickest way, but it’s the way I know it works. To experienced users, feel free to leave me a comment how to do it more efficiently.

You can see how I got there in the screenshot here. Ignore the first command to change my directory, I typed it wrong.

Confirm that there is a directory named cdrom. When you don’t have that directory there, make it. With mkdir cdrom of course. If you are having trouble, this tutorial is a great way to help you out.

Then you mount the ISO file you added in the previous step. This you can do by entering this command:

sudo mount /dev/cdrom /media/cdrom

When it’s successful, you should get the message: “mount block device /dev/sr0 is write-protected, read only.”

Step 5: Install the Guest Additions.

Now, get yourself into the directory /media/cdrom. When you list (using the ls command) the file there, it will list various files that start with VB. A few other files too. Those are all in the ISO you just mounted.

Now in order to install the guest additions, you simply do this command:

sudo ./VBLinuxAdditions.run

And you hit enter. Then it installs. For me, it took 2 minutes. The final line will most likely say that it couldn’t find X.org and such. Just ignore that. Since it’s the part of the guest additions when you would have used a GUI interface. Since we are using a command line interface, it isn’t working of course.

Part 2: Installing games

When you are going to install games, you will need to search online for them. While I have no clue (yet) how to install games you downloaded from an external website, I found out that many websites gave a command how to install it.

When you installed a game, you can run it by simply entering the name. You can also see a list of your installed games when you enter the command:

cd usr/games/

ls

The directories with a yellow color behind it, are executable games. Just enter the name in order to run. When you want to uninstall a game, you remove the directory as a superuser. If an experienced user facepalms, feel free to leave a comment how to do it better.

Update 29/01: I found out how to uninstall games. It’s with this command:

sudo apt-get remove <gamename>

Then your game will be removed.

I also found out that when you list, not every executable game is highlighted in yellow. So, that trick doesn’t work.

Anyways, that concludes my tutorial, thanks for reading and if you have issues, feel free to leave a comment. Even while I don’t know a lot about Linux server yet, I’ll do my best in order to help you out. It will be a nice learning experience for me. In any case, enjoy!

A few examples of games