Showing posts with label linux commands. Show all posts
Showing posts with label linux commands. Show all posts

Saturday, January 15, 2011

13 steps after installing ubuntu..

#1 - Add medibuntu repositorium:


Enter command in the terminal(all on one line!): sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list


Enter command in the terminal(all on one line!): sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update






#2 - Updating Ubuntu


sudo apt-get update (downloads list of updates)
sudo apt-get upgrade (downloads & installs updates)




#3 - Make it so that bootloader won't wait 3 seconds:
- command in the terminal:
sudo gedit /boot/grub/menu.lst
- change to timeout:0 and save
ps. You can still get to grub menu by pressing esc repeatedly




#4 - Installing the Tahoma font (enter the following commands copy&paste line by line):


cd ~
wget http://www.stchman.com/tools/MS_fonts/tahoma.zip
sudo unzip -d /usr/share/fonts/truetype/msttcorefonts ~/tahoma.zip
sudo fc-cache -f -v
rm -f ~/tahoma.zip




#5 - Install useful packs in synaptic (or in the terminal: sudo apt-get installpackage name)


- codecs:
ubuntu-restricted-extras
w32codecs (for 64 bit sytems w64codecs)
libdvdcss2
gstreamer0.10-alsa
gstreamer0.10-ffmpeg
gstreamer0.10-gnomevfs
gstreamer0.10-pitfdll
gstreamer0.10-plugins-bad
gstreamer0.10-plugins-bad-multiverse
gstreamer0.10-plugins-base
gstreamer0.10-plugins-base-apps
gstreamer0.10-plugins-good
gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-ugly-multiverse
gstreamer0.10-schroedinger
gstreamer0.10-tools

why CHROME os may fail?

Will it fail like wave or succeed like chrome?

This is just my opinion about Google’s Chrome OS. There are few reasons which can make chrome OS less impressive. 


Why Chrome OS may fail?

1. Web, Web and web.
Chrome OS is entirely based on web stuff. Though the web has evolved into something unimaginable from what it was few years back, it still has its own problem: The Bandwidth. Not all of us have high-speed broadband connections with unlimited usage. Just think of it : A song weighs 5 MB and you download it every time you want to listen it. Think about Web-designing, Video editing, audio editing etc. Even if there is a web-based solution for these, How effective will it be?

2. Cloud computing.
Chrome OS stores all your data on the cloud (i.e. servers run by Google and other companies). Yes, you can access your data anywhere. However you give them your private stuff, that you would store in your ‘personal’ computer’s hard drive, to them. No, I am not trying to tell that Cloud computing is evil but I am trying to tell that everything cant be stored online. Cloud cannot substitute local storage, it can only complement it.

3. Competition from home.
Chrome OS has a greater enemy: The Android. Android is also developed by Google, is opensource and uses Linux kernel. If you haven’t seen yet, Check the video below.




You will find that it has everything but a pointer. This means that Chrome OS is knocked out from the future. Android is relatively a better “Linux distro” for it is developed from the scratch while Chrome OS is ubuntu based. They tell that Chrome OS is for personal computers, but what is ‘personal computing’ when there is no local storage? Everybody loves better UI and Android has it. Moreover, the name is unique unlike Chrome OS which borrowed its name from Chrome web-browser.
These are the reasons why I don’t find it impressive. Anyway.. I cannot guess about google’s Marketing strategies. 

Why is Chrome OS still a milestone?
It has brought developers towards Linux and the web. Chrome OS caused the revolution that everything is possible with the web. Chrome web-store made web applications available in just a click. It revealed the POWER OF LINUX and opensource. Therefore Chrome OS stands to be a milestone irrespective of its success or failure. Yet Android impresses me.
I will try ANDROID in near future. However I might not try Chrome OS.

Saturday, December 18, 2010

beginners guide for linux

1. What is Linux?

Linux is a free Unix-type operating system for computer devices. The operating system is what makes the hardware work together with the software. The OS is the interface that allows you to do the things you want with your computer. Linux is freely available to everyone. OS X and Windows are other widely used OS.
                                                                              

Linux gives you a graphical interface that makes it easy to use your computer, yet it still allows those with know-how to change settings by adjusting 0 to 1.
It is only the kernel that is named Linux, the rest of the OS are GNU tools. A package with the kernel and the needed tools make up a Linux distribution. Mandrake , SUSE Linux, Gentoo and Redhat are some of the many variants. GNU/Linux OS can be used on a large number of boxes, including i386+ , Alpha, PowerPC and Sparc.

2. Understanding files and folders

Linux is made with one thought in mind: Everything is a file.
A blank piece of paper is called a file in the world of computers. You can use this piece of paper to write a text or make a drawing. Your text or drawing is called information. A computer file is another way of storing your information.
If you make many drawings then you will eventually want to sort them in different piles or make some other system that allows you to easily locate a given drawing. Computers use folders to sort your files in a hieratic system.
A file is an element of data storage in a file system. Files are usually stored on harddrives, cdroms and other media, but may also be information stored in RAM or links to devices.
To organize our files into a system we use folders. The lowest possible folder is root / where you will find the user homes called /home/.
/
  /home/
  /home/mom/
  /home/dad/

Behind every configurable option there is a simple human-readable text file you can hand-edit to suit your needs. These days most programs come with nice GUI (graphical user interface) like Mandrakes Control Center and Suses YAST that can smoothly guide you through most configuration. Those who choose can gain full control of their system by manually adjusting the configuration files from foo=yes to foo=no in an editor.
Almost everything you do on a computer involves one or more files stored locally or on a network.
Your filesystems lowest folder root / contains the following folders:
/bin Essential user command binaries (for use by all users)
/boot Static files of the boot loader, only used at system startup
/dev Device files, links to your hardware devices like /dev/sound, /dev/input/js0 (joystick)
/etc Host-specific system configuration
/home User home directories. This is where you save your personal files
/lib Essential shared libraries and kernel modules
/mnt Mount point for a temporarily mounted filesystem like /mnt/cdrom
/opt Add-on application software packages
/usr /usr is the second major section of the filesystem. /usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be written to. Any information that is host-specific or varies with time is stored elsewhere.
/var /var contains variable data files. This includes spool directories and files, administrative and logging data, and transient and temporary files.
/proc System information stored in memory mirrored as files.

The only folder a normal user needs to use is /home/you/ - this is where you will be keeping all your documents.
/home/elvis/Documents
  /home/elvis/Music
  /home/elvis/Music/60s

Files are case sensitive, "myfile" and "MyFile" are two different files.
For more details, check out:

3. Understanding users and permissions

Linux is based on the idea that everyone using a system has their own username and password.
Every file belongs to a user and a group, and has a set of given attributes (read, write and executable) for users, groups and all (everybody).
A file or folder can have permissions that only allows the user it belongs to to read and write to it, allowing the group it belongs to to read it and at the same time all other users can't even read the file.

4. Who and what is root

Linux has one special user called root (this is the user name). Root is the "system administrator" and has access to all files and folders. This special user has the right to do anything.
You should never log on as this user unless you actually need to do something that requires it!
Use su - to temporary become root and do the things you need, again: never log into your sytem as root!
Root is only for system maintenance, this is not a regular user (LindowsOS don't have any user management at all and uses root for everything, this is a very bad idea!).
You can execute a command as root with:
su -c 'command done as root'
Gentoo Linux: Note that on Gentoo Linux only users that are member of the wheel group are allowed to su to root.
In The Next Article I Will Post How To Install Linux.