Monday, February 24, 2014

Installing with command line and showing how logs react

SPECIFICATION OF MY PC
System type: Microsoft Windows 7 professional, 32-bit Operating system / XUBUNTU 13.10
Motherboard: Gigabyte X58A-UD3R
Processor: Intel Core i7 CPU   960 @ 3.20Ghz
Ram: 4,00GB (3,5GB usable)
Hard drive: 367GB
Video card: Nvidia GeForce GTX 560 Ti
Current resolution: 1680*1050, 59Hz
Cd/dvd/Blueray Drive: Asus BW-12B1LT

This publish includes sixteen (16) steps to install application with command line and how to show different syslog reactions. Follow the steps and you'll have learned how to install with command line and also what happens in syslog in your pc in no time. In case there is any problems please leave a comment and I'll do my best to help you. Hope it helps.


Step one (1)

In the first step you open the terminal and type "Sudo apt-get update" so it'll update all the applications in the list and you'll get the newest applications in the list.

Step two (2)

As you used the command "SUDO" it will ask administrators permission. As you are the legal user of the system use the same password that you logged in with.


Step three (3)

Now the application list will update itself. You'll get something similar like this printed if everything worked perfectly.

Step four (4)

After that we are doing a simple search from the application list. The main idea is to write "sudo apt-cache search" and then what you want to search. In this example we searched simply anything that had term game in it. So I wrote "sudo apt-cache search game"

Step five (5)

Here is a example picture what came as a result as we searched for a game.

Step six (6)

After you have found the product you want to install, just type "sudo apt-get install" and the applications name that you saw in the list. In this example we used the game Granatier so I wrote "sudo apt-get install granatier"

Step seven (7)

After using the sudo command it needs the administrators rights to install the application. Just use the same password that you logged to your system in with.

Step eight (8)

After that it will start installing the program. In some cases it uses more diskspace or some other sources. In these cases you can choose do you really want the program. If you do, just type y and enter. In other case just type n and enter and it'll terminate the install.

Step nine (9)

After accepting the terms it'll continue the install and install the application. If you installed a game like in this case you'll find it in game category. In other cases it's put to the logical category where it should go. For example if you are installing a graphical tool it'll go to "Graphics" category and so on.

Step ten (10)

Then starts the starts the second lesson.

Step eleven (11)

In first step you go to the root directory. You can do this in many ways, but the way I'm showing here is simple and easy so. just type "cd .." as many times as in the picture and you'll find yourself in root folder. If you are not sure where you are you can type "ls" so it'll show all the folders.

Step twelve (12)

After that you enter to "var" directory by typing "cd var" after entering the logs you can simply enter to the log folder by just typing "cd log". After that just type "ls" so you can see all the files in that folder.

Step thirteen (13)

After that to see what happens in syslog file you type "cat syslog" so you can see what happens in there.

Step fourteen (14)


After this we will close the network so we can see one network failing example. Go to the right corner of your Linux. You'll see two arrows (one pointing up and other one pointing down) between the speaker and the date. Click it to open it and after that click the text enable networking. After that the network is closed and it should pop-up black window that says "Disconnected - you are now offline" and some text underneath that.

Step fifteen (15)

After that try cat syslog again. You will see something similar to the picture under this text. It explains that the connection has failed and that it cannot connect to the internet. In line "dns plugin dnsmaq update failed" It means it can't communicate with the server and get the update.
Step sixteen (16)

After that you can activate the internet by going back to the arrows that I explained in step fourteen. In this case just click the enable networking and soon will appear a pop-up window that says connected. In this case you've back the connection and you're happily connected to the internet again. After that you can check what the log has done by re typing "cat syslog". After that you'll see the activation stages that shows how it went and connected back to internet.

 
Links:
http://terokarvinen.com/2014/agenda-for-linux-basics-dat8tf063-23-spring-2014



THANK YOU FOR READING!

HOPE IT HELPED


Monday, February 10, 2014

Using Flags in Linux Xubuntu

SPECIFICATION OF MY PC
System type: Microsoft Windows 7 professional, 32-bit Operating system / XUBUNTU 13.10
Motherboard: Gigabyte X58A-UD3R
Processor: Intel Core i7 CPU   960 @ 3.20Ghz
Ram: 4,00GB (3,5GB usable)
Hard drive: 367GB
Video card: Nvidia GeForce GTX 560 Ti
Current resolution: 1680*1050, 59Hz
Cd/dvd/Blueray Drive: Asus BW-12B1LT

This publish includes three (3) steps to use different flags with ls command. Follow the steps and you'll have learned new flags in your pc in no time. In case there is any problems please leave a comment and I'll do my best to help you. Hope it helps.

 Step one (1)

Open your terminal. After that you can open any folder where you have files. After that you can use for example this flag that shows contents by date of their creation, from latest to the first.
ls -t

  
Step two (2)
Second command is ls -a -p that shows all the files also the hidden ones that starts with (".") It also divides the folders and normal files.

 Step three (3)

In other hand using ls -l it will generate full listing of all files including dates, sizes and all the other important data.




Links:
http://www.astro.washington.edu/users/sjschmidt/premap/linux/commands.html
http://terokarvinen.com/2014/agenda-for-linux-basics-dat8tf063-23-spring-2014


THANK YOU FOR READING!

HOPE IT HELPED



Saturday, February 1, 2014

Installing software in Xubuntu 13.10

SPECIFICATION OF MY PC
System type: Microsoft Windows 7 professional, 32-bit Operating system / XUBUNTU 13.10
Motherboard: Gigabyte X58A-UD3R
Processor: Intel Core i7 CPU   960 @ 3.20Ghz
Ram: 4,00GB (3,5GB usable)
Hard drive: 367GB
Video card: Nvidia GeForce GTX 560 Ti
Current resolution: 1680*1050, 59Hz
Cd/dvd/Blueray Drive: Asus BW-12B1LT

This publish includes six (6) steps to install software in this example I use Blender. Follow the steps and you'll have running Blender in your pc in no time. In case there is any problems please leave a comment and I'll do my best to help you. Hope it helps.

Step one (1)

Go and open your software center.























Step two (2)

After opening the software center go to the search bar and seek for "BLENDER"























Step three (3)

When the software is found click to open it and press the install.





















Step four (4)

In case you have a password, it'll be needed to install the software. So put your password in the offered field. After that press autinticate and the install will start.





















Step five (5)

After install the software is installed to your system. When you want to open it first go to the right corner of the screen press the picture of the mouse and droplist will appear from there go to graphics and open blender.






































Step six (6)


Open the blender and start using it or testing it.






































Links:
http://terokarvinen.com/2014/agenda-for-linux-basics-dat8tf063-23-spring-2014

THANK YOU FOR READING!

HOPE IT HELPED