Thursday 28 March 2013

Some Thing You Have To Know

10 Things to Do After Installing Ubuntu 12.04

Before you dive on in to explore, be sure to take some time out to follow our bi-annual rundown of the best post-install tips and tricks Click Me 

 

 Why is Vim no longer installed in 12.04 desktops and is there a better alternative?

 Usually, packages are removed from the default installation due to space constraint. CDs are limited ( and so does DVD ), and there is pressure to add more translations, to support more hardware ( especially with big binary blobs like the Nvidia driver ), etc.

So usually, packagers take a look at what can be safely removed ( ie, without removing important use case of a default distribution ). In the case of vim, there is already gedit and nano to fill the position and I would say that people who use vim are able to install it from the archive without much problem.

So That You All Have To Install Vim Through Command Mode.  Using Internet Connection.

Further Details : Click_Me

Difference between vi/vim?


vim is almost a proper superset of vi. So, everything that is in vi is available in vim.
Vim adds onto those features. Here are a few of the extended vim features that I have come to rely on:
  • Vim has been ported to a much wider range of OS's than vi.
  • Vim includes support (syntax highlighting, code folding, etc) for several popular programming languages (C/C++, Python, Perl, shell, etc).
  • Vim integrates with cscope.
  • Vim can be used to edit files using network protocols like SSH and HTTP.
  • Vim includes multilevel undo/redo.
  • Vim allows the screen to be split for editing multiple files.
  • Vim can edit files inside a compressed archive (gzip, zip, tar, etc).
  • Vim includes a built in diff for comparing files (vimdiff).
  • Vim includes support for plugins, and finer control over config and startup files.
  • Vim can be scripted with vimscript, or with an external scripting language (e.g. python, perl, shell).
There are many more differences. Here are a couple of good places to start finding out more.
http://www.vim.org/
http://en.wikipedia.org/wiki/Vim_(text_editor)
  

Tuesday 26 March 2013

TCP/IP_Videos

How a packet moves through network Difference between a Hub and a Switch
IP Addresses and Subnetting 1:5 IP Addresses and Subnetting 1:2 IP Addresses and Subnetting 1:3 IP Addresses and Subnetting 1:4 IP Addresses and Subnetting 1:5 TCP/IP the Movie Part 1 TCP/IP the Movie Part 2 How the internet works

Monday 25 March 2013

Speed up Internet Explorer 10 in Windows 8 Via Registry Tweak

Your Internet Explorer 10 is too slow? Let’s speed up IE10 and make it blazing fast!
speed up IE10


Windows Internet Explorer or IE (abbreviated) was developed by Microsoft. It is a web browser and was released in 1995. It is one of the most popular web browsers today.
In Windows 8 IE 10 is more than just a browser. When a new tab will be opened a start screen with frequently visited websites or pinned websites will be opened.
In case your IE has slowed down you can try the following things.

Steps to speed up IE10

First see how you can open internet explorer.
There are many ways to do it.
1. You can open it from desktop by clicking the icon.
Start IE from Desktop.JPG
2. You can start it using from “run” also. Press window+R. Run window will appear. No write iexplore & click ok.
Start IE from run
Now you can try the following things for faster performance

A. Disable Add-ons

Loading a lot of add-ons during startup may cause IE10 to slow down. Disable unnecessary add-ons.
After IE has opened go to Tools->Manage add-ons (in case you can’t see the menu bar press F10)
Manage Add-ons
Now select unnecessary add-ons & disable them.
Disable Add-ons

B. By increasing maximum number of connections per Server

IE 7 and below are bound to maximum 2 connections per server. That means you can download maximum two files from one particular website at a time. IE 8 raised
this limit up to 6. IE 10 is more flexible. Here you will come to know how to increase number of simultaneous HTTP connections to 10. This will make the loading of web pages faster.
1. Open registry by writing “regedit” in “run” prompt.
registry
2. Now navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings. Let’s see how to go there :
Click HKEY_CURRENT_USER
HKEY_CURRENT_USER
Click Software.
Software
Expand Microsoft.
Microsoft
Click Windows
Windows
Click Current Version.
Current Version
After ,expanding “Current Version you will see a folder “Internet Settings”.
2. Now, right click on it.
Go to New->DWORD (32-bit) Value
NewDword
The following screen will appear.
Ready for Edit
3. Now, edit “New Value #1″ & write MaxConnectionsPer1_0Server
MaxConPerServer
4. Double click on newly created entry. Edit screen will appear. Select Decimal & in the Value data box write 10.
That means at a time 10 files can be downloaded from server.
Max 10
Restart your PC & you will see the effect.

C. Clear temporary files & history

In a long run temporary files get piled up. So it is useful to delete them in some time interval.
1. Go to Tools->Internet options.
Internet Options
2. Click Delete in General tab.
Del
3. Select all (or you can leave some) & Delete.
DelFiles

D. Clean & defrag hard disk

Sometimes defragging your hard disk can optimize the entire systems performance.
Download Advanced system care & install.
Use this tool to optimize your entire system.
Advanced System Care

E. Use TCP optimizer

TCP optimizer can help you to improve performance of internet browser.
Download Tcp Optimizer.

This Stuff Copied From http://windows8themes.org

Recover Deleted Files/Data In Ubuntu Linux

If you are using Windows, there are many 3rd party tools that can help you recover your files easily. But if you are using Ubuntu, then it can be quite a huge problem. But worry not, since now you can recover your files in Ubuntu too.
Scalpel is one of the best command line tool to recover deleted files in Ubuntu Linux. It can recover almost all types of files. It visits data blocks of files sequentially and identifies deleted files and recovers them instantly. You can install it by running following command in your terminal.

apt-get install scalpel
Once installation is complete, you can start to recover your deleted data by using a simple command. Run the following command in terminal to recover your data.

scalpel /dev/sda1 -o output
where ‘output’ is the name of directory in which scalpel places the recovered files. You can specify any name to this directory, just make sure that this directory should not exist in your system because Scalpel create directory itself. Check the following snapshot to get an overview of how Scalpel searches deleted file.
scalpel2
The time taken by scalpel to recover files depends upon the total disk space and the amount of deleted data in your machine. Further you can check logs of recovery process by viewing audit.txt file in output directory. Enjoy!

Reset Your Forgotten Ubuntu Password

If you’ve ever forgotten your password, you aren’t alone… it’s probably one of the most common tech support problems I’ve encountered over the years. Luckily if you are using Ubuntu they made it incredibly easy to reset your password.
image
All it takes is adjusting the boot parameters slightly and typing a command or two, but we’ll walk you through it.
Reset Your Ubuntu Password
Reboot your computer, and then as soon as you see the GRUB Loading screen, make sure to hit the ESC key so that you can get to the menu.

Root Shell – Easy Method
If you have the option, you can choose the “recovery mode” item on the menu, usually found right below your default kernel option.

Then choose “Drop to root shell prompt” from this menu.

This should give you a root shell prompt.
Alternate Root Shell Method
If you don’t have the recovery mode option, this is the alternate way to manually edit the grub options to allow for a root shell.
First you’ll want to make sure to choose the regular boot kernel that you use (typically just the default one), and then use the “e” key to choose to edit that boot option.

Now just hit the down arrow key over to the “kernel” option, and then use the “e” key to switch to edit mode for the kernel option.

You’ll first be presented with a screen that looks very similar to this one:

You’ll want to remove the “ro quiet splash” part with the backspace key, and then add this onto the end:
rw init=/bin/bash

Once you hit enter after adjusting the kernel line, you’ll need to use the B key to choose to boot with that option.

At this point the system should boot up very quickly to a command prompt.
Changing the Actual Password
You can use the following command to reset your password:
passwd <username>
For example my username being geek I used this command:
passwd geek

After changing your password, use the following commands to reboot your system. (The sync command makes sure to write out data to the disk before rebooting)
sync
reboot –f
I found that the –f parameter was necessary to get the reboot command to work for some reason. You could always hardware reset instead, but make sure to use the sync command first.
And now you should be able to login without any issues.

Install Ubuntu from USB drive using UNetbootin

Prerequisites

  • Internet access for downloading Ubuntu ISO
  • A BIOS that supports booting from USB
  • A USB stick at least 1GB in size

Download Ubuntu

In my experience, by far the fastest way to download the Ubuntu ISO image is via the peer-to-peer BitTorrent protocol. An array of official torrent files are available to download from the Alternative downloads page of the Ubuntu web site. Simply download the corresponding torrent file for your machine. I have a 32-bit processor, so I downloaded the ubuntu-12.04-desktop-i386.iso.torrent file. Having acquired the torrent file, open it in your favourite BitTorrent client. If you’re not sure which one to use, may I suggest a (very) tiny BitTorrent client called µTorrent.

Download and install UNetbootin

While you’re waiting for the Ubuntu ISO image to finish downloading, head to SourceForge.net and download the wonderful (and free) UNetbootin program. What is UNetbootin? “UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD. It runs on Windows, Linux, and Mac OS X. You can either let UNetbootin download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you’ve already downloaded one or your preferred distribution isn’t on the list”.

Prepare the USB stick

With Ubuntu ISO image downloaded and UNetbootin installed, you are ready to create a bootable USB drive. Fire up UNetbootin, select Diskimage option and browse to the location of the Ubuntu image. With USB Drive option selected the correct drive chosen, simply click OK and watch the magic happen. Within a few minutes you should have a bootable USB drive. The process is just as quick – if not quicker – than burning a CD and the installation seems much faster. Not to mention it saves your blank media and the enviroment. This is an amazing program!

Install Ubuntu

To install your new operating system, simply reboot your machine, access your BIOS – press the Delete/F2 key when computer starts up. If this doesn’t work, consult your motherboard manual. Once you are in, make sure that your system is configured to boot from your USB stick. Also, make sure the device is at the top of the boot priority list. The exact options and settings depend on which BIOS you have. Please consult your system manual for more info.

Run Ubuntu in Windows 7 with VMware

Would you like to use Ubuntu Linux programs, but prefer the convenience of Windows 7?  With VMware Player, you can install a full copy of Ubuntu and integrate it with your Windows 7 computer for free.
VMware Player makes it easy to install Ubuntu Linux as a virtual machine in only 5 clicks.  It then offers easy access to Ubuntu programs straight from your desktop with Unity mode.  Here’s how you can set this up on your computer.
Getting Started
First, download and install VMware Player.  It is a free download, but requires registration.
sshot7923
You may see some prompts about installing drivers; simply approve them.  We didn’t see them on our latest test, but have in the past.  When you are finished installing VMware Player, you will have to restart your computer.

Install Ubuntu
Once you have installed VMware Player and downloaded Ubuntu, you’re ready to setup Ubuntu.  Open VMware Player, and choose “Create a New Virtual Machine.”

You can install Ubuntu from a disk, or directly from the ISO file you can download (link below).  This is the simplest method if you’re simply wanting to use Ubuntu in VMware Player.  However, if you do have an Ubuntu disk, then feel free to choose that instead.  Once you’ve selected your install media, VMware Player will automatically detect Ubuntu and will show that it will be installed with Easy Install.  Click next to continue.

Now enter your name, user name, and password.  All fields are required.

Please note that the username can only have lowercase characters and numbers.

Also, the password must be at least 8 characters long.

Now, choose a name for your virtual machine and where to save it.  Simply click next to accept the defaults.

You can choose how large you want your virtual hard drive to be; the default is 20Gb, but you can choose a different size if you wish.  Please note that the entire 20Gb will not be used up on your hard drive initially.  Ours only took up 3.6Gb with a clean install, but this will increase as you install programs and save files.

And that’s it!  You can review your settings and change them here if you wish, or simply click Finish to start installing Ubuntu!

VMware player will now install Ubuntu without any further input.  The window may show cryptic commands, but don’t worry, as you don’t have to do anything else to install Ubuntu.

During the install, you may be prompted to download and install VMware tools for Linux.  Simply click Download and the tools will automatically download and install, though you may have to approve the UAC prompt.


VMware will continue installing Ubuntu even while the tools are downloading.  Once the install is finished, you will be presented with your Ubuntu login screen.  The full install took about 30 minutes in our test.

Select your user name, then enter your password to access Ubuntu.

Welcome to your Ubuntu desktop!

Installing VMware Tools
VMware Player will attempt to automatically install the VMware tools into Ubuntu during the initial setup, but sometimes this does not work.  In our test, the tools failed to install during the Ubuntu setup since our internet connection was down.  In your tests, it may or may not automatically install.  If it doesn’t, follow the following steps to install them.  Please not that this is fairly complicated, so be sure to enter the correct things during the install.
To install the tools, click VM and then select “Install VMware Tools” in the menu.

This will open a File Browser window.  Double click on the VMwareTools icon; this should look like a box that says tar.gz on the front.

This will open the compressed file.  Click the Extract button at the top of the window.
 
Now, choose where to save the files.  Simply click “Desktop” on the left, and then click Extract.

This will take a moment.  When the files are extracted, click “Close”.
 
Now, click the Applications menu at the top of the screen, click Accessories, and then click Terminal.

Enter the following to access the files you unzipped before:
cd ./Desktop/vmware-tools-distrib

Now, enter:
sudo bash
and enter your password when prompted.  Please note that the password will not show while you are typing it in; simply type it in, and press Enter when completed.

Now we can install the VMware tools.  To do this, enter:
./vmware-install.pl
and then simply press enter at the prompts to accept the defaults.  It should ask a total of 5 questions, and just press enter at all of them.
After a bit, it may ask the following questions about documentation files; simply press enter again at each prompt.

The installation is now complete.  You will still need to configure the tools, so simply enter “yes” at the prompt to automatically do that.

It may ask to enable an experimental backup feature; we simply entered “no” at this prompt.

Then, it will want to setup the graphics configurations.  Enter “yes” at the prompt.  Your screen may flicker or go black momentarily while it is changing these settings.

Finally, you will see the following message when the install is complete.

Restart Ubuntu by clicking on the button with your username at the top right, and then selecting Restart from the menu.

Once your virtual machine has rebooted, login to Ubuntu as before and your setup is complete!
Integrate Ubuntu with Windows 7
You can already use all of Ubuntu’s tools and features directly from the Ubuntu desktop in VMware Player.  But, if you would like to use your Ubuntu programs seamlessly in Windows, we need to activate Unity mode.  Click VM and then Unity Mode in the VMware Player Menu.

Now, you will have an Ubuntu menu right above your Windows 7 Start button!

By default, the Ubuntu windows will have a border and VMware logo on them.

To change this, click VM and then Settings, select the Options tab, and uncheck the “Show borders” and “Show badges” boxes.

Now the windows will look just like they do in Ubuntu.

You can run Ubuntu windows side-by-side with Windows 7 windows, and can copy and paste, drag-and-drop between the windows, and more!  The Ubuntu programs’ icons show up in the taskbar the same as normal Windows programs.

You can access all of the files in your Ubuntu virtual machine from the Ubuntu menu.  Select Other, and then choose Computer or Home Folder.

Conclusion
VMware Player gives us an exciting way to have a complete Ubuntu install right inside Windows 7.  This would work the exact same on any modern version of Windows, including all editions of XP and Vista.  In this tutorial we used Ubuntu 9.10, but other recent editions should work the same.
Twitter Bird Gadget