Tag Archives: how to

How to Install MySQL in Ubuntu 10.04

install mysql in ubuntu - linux

Database management system is necessary every where whether it’s a web application or other business purpose software;in ubuntu 10.04 you may like to use MySQL,the fastest database management system for web applications.
MySQL is one of the most widely used database management system and it is light,free and open source so it is also in resonance with ubuntu philosophy.The aim of this post is to help you in installing mysql on your ubuntu 10.04 to help you in getting started with mysql.

Install MySQL on Ubuntu 10.04

1. First,Open SPM(Synaptic Package Manager) from System->Administration->Synaptic Package Manager.Enter your password(Ubuntu login account) if it ask else,proceed to next step.
2. Now search for “mysql” by using the Quick Search box(on Top Upper part of the window).
3. Mark the package’s box you want to install e.g my sql client ,server ….
4. Now click on Apply to begin the installation(Followed by downloading process).
5. After few minutes,when the download will complete,installation begins automatically.It will hardly takes couple of minutes.In middle of installation you will have to enter root password for MySQL server.Enter a strong password for that.

install mysql on ubuntu 10.04
6. You have installed MySQL(Client/server) on your Ubuntu 10.04 Lucid Lynx.
7. That’s All…if you find any problem in installing mysql,let me know through comments.

Using MySQL in Ubuntu 10.04

To access Mysql server you can use following command in the linux terminal.
General format of the command
mysql -u user -h host -p (After hitting enter it will ask for mysql user’s password)
Running as localhost

Use mysql on Ubuntu 10.04

mysql -u root -h localhost -p (Enter the root password that you entered at the time of installation)
You can also install MySQL query browser(From Ubuntu Software Center) to make this process more simple.

How to Open .RAR File in Ubuntu 10.04

If you have just installed the Ubuntu 10.04 on your computer and wondering for a software to open .RAR file ..this post will surely help you.The fact is that,after fresh installation of ubuntu 10.04 you will have to install some extra software(like Adobe Flash player,VLC player,CSS library for encrypted dvd playback..) for basic needs(If you have installed Ubuntu 10.04 from standard CD).

Install RAR Compression and Decompression Tool in Ubuntu 10.04

To Open RAR file(or to make rar file) you will have to add an application to Archive Manager so that it can handle with RAR files.Follow these steps to install RAR application-
1. Open Ubuntu Software Center or Synaptic Manager and Search for RAR.
2. Click on install to proceed for installation.
3. Wait for few minutes to finish the download and installation will begin automatically …and finish within few moments.
4. Installation completed successfully…now to open .RAR file,just click(right) on them and open with archive manager(or use double click).Everything will work expected and you would be able to extract rar files easily.

How to Install Ubuntu Control Center in Ubuntu 10.04

install ucc in ubuntu 10.04

Ubuntu Control Center is developed(Inspiration is inherited from Mandriva Control Center) specially for new users or those who are coming from windows XP vista or 7 because it’s purpose is to control the system applications and programs centrally like Windows Control Panel.Since Ubuntu 10.04(Or its older versions) is primarily focused on desktop experience,that’s why the application management and administration may become much easier and more efficient after installing UCC(Ubuntu Control Center).

Install Ubuntu Control Center

step1 : In order to install ucc first you have to install another software(Dependent Software)-Font Manager.You can install font manager by using Gdebi Package Installer.First download the package(e.g font-manager_0.5.3_i386.deb).
download Font Manager
Then install it by opening with Gdebi Package Installer or save it to your computer and later double click(Or right click to open with Gdebi Package Installer).It will hardly take few minutes.When it installs successfully then proceed to next step.

step2 : Now you can install Ubuntu Control Center.First download the appropriate package(e.g ucc_i386.deb).
download Ubuntu Control Center(ucc)
Then install it in the same manner(described in step1) either by selecting open with Gdebi package installer or by double clicking on it.

You can also install it from the Command line.First Open the ubuntu shell/terminal and then go the directory in you have placed the .deb package.Then Apply the following command to install any debian(.deb) package.
sudo dpkg -i package_name.deb

Now you can access it from Applications->System Tools->UCC.One more screenshot of UCC :

ubuntu control center for ubuntu 10.04

How to Make Strong Passwords

how to make strong password

The aim of this post is to help you in making your passwords(E-mail,Bank Account,Paypal,Alertpay or others password) strong to assure high security.

What is Password?

Password is an authentication mechanism which is required to use the system’s resource or to login.Authentication need two types of information – first one is username or e-mail ID which is public and second one is password,which is private i.e only known to the claimant.The passwords can be divided into two types – One time Password and Fixed Password.Here we will discuss about fixed password,which should be changed/rotate frequently.Since most of the system use the password authentication mechanism so the password must be strong.

Common Mistakes you must avoid in selecting passwords

1.Using mobile or phone number or any other number(which is declared as public i.e every body can figure out very easily through a little research online(by using Google) or offline) as password.
2.Number of Characters less than 8 .
3.Simple combination of numbers or characters like 1234,12345,asdf,qwer,zxcv,09876,lkjh,poiu,etc.
4.Same as username or to put name in field of password.
5.One password for all the accounts.
6.Writing password in a page or Diary.

Points to remember in making good and strong passwords
1.It should include Alphabate(Both Upper case and Lower case),Numbers(0,2,6..) and special Characters(*,@,),{,%,$,#…).
2.Number of characters should be as long as you can remember,in general minimum of 12 characters are recommended.
3.Try to Remember it(Don’t write anywhere and never share with anyone).If you have any problem in remembering long password or you are managing a lot of password then you can also take help of Some Encryption Software.Using the cryptography techniques you will have to remember only one strong password(Commonly known as master password) and it will encrypt all others passwords in to a file.Since it is encrypted so if anyone get those file then also he/she will not be able to recover your passwords from those encrypted files.Trucrypt and Gnupg are two great encryption tools for Ubuntu 10.04 that can be used to perform various cryptography actions like file encryption,disk encryption,e-mail encryption etc.
4.Frequently change or rotate your passwords between different accounts.

How to remember lot of passwords
Remembering lot of passwords is actually very simple.First make a strong password and then rotate or change some digits to make another password for another accounts and so on.
Password1(For Account1) : )qZl2&1#it?6A&e //15 characters
Password2(For Account2) : )rXm2&1#it?6A&F //Notice The Change : 1st and 3rd character : shifted up in a-z.
password3(For Account3) : )sWn2&1#it?6A&g
password4(For Account4) : )tUo2&1#it?6A&H
……………………………………and so on.

Algorithm for above password generation
1.Shift up by one position the second and fourth characters in a-z.
2.3rd character is shifted back by two position in a-z.
3.Last(15th) character is shifted up by one position and case is inverted(i.e from lower to upper and upper to lower).
4.All the other characters remains same(you can also apply some more concepts on these characters to make the password more strong).

So you can design this type of simple algorithm(It will hardly take 3-5 minutes) for generating lot of strong password and it will be easier to remember but keep the algorithm strictly private.

That’s ALL …End of the Password Fun!

How to Install XBMC Media Center in Ubuntu 10.04

how to install xbmc media center in ubuntu 10.04

If you are one of the users who just migrated from the window7 or vista then probably you are searching some softwares which will act as a substitute for corresponding windows application and Media Center is surely on of them.In fact there is good substitutes available for almost all the windows application in Ubuntu 10.04 and of course for media center.XBMC is a great application which is just equivalent to the windows media center.So you can install XBMC on your ubuntu 10.04 in few steps.XBMC is an open source and free media player with excellent design and interface.XBMC is a cross platform application i.e available for all the major operating system like Linux,MacOS and windows.It supports all the popular video and audio format.It can also play CD,DVD or Image files or even compressed file(ZIP and RAR formats are well supported).It is very simple to use and allow you to organize the media collections and library in efficient way.

steps for installing xbmc media center in ubuntu 10.04

Install XBMC from Synaptic Package Manager

To install xbmc from Synaptic package manager first you have to add some repository related to xbmc.Then you can install it in normal ways.Follow these steps to install it from Synaptic Manager :
step1: Open Synaptic Package Manager(System->Administration->Synaptic Package Manager).
step2: Click on settings and then on repository.Now click on other software,next on +add(Left Bottom) to add extra repository i.e software package source.
step3: A small window will come then in address place put ppa:team-xbmc .
step4: Now click on reload to refresh the package information.Next,search for xbmc.
step5: Check the xbmc box to install and click on apply changes to begin the installation process.
step6: XBMC installation will complete within few minutes.Run XBMC from Application->Sound & Video->XBMC.


Install XBMC from Command Line

Actually it is just similar to the above method.We will do the same work from linux shell.Open terminal(Type CTRL+ALT+T in Ubuntu 10.04).Then type the following commands –
1. sudo add-apt-repository ppa:team-xbmc to add the repository.
2. sudo apt-get update to update the package information and softwares list.
3. sudo apt-get install xbmc to install the xbmc media center on your computer.
4. That’s All..
I think you have successfully installed XBMC on your Ubuntu 10.04 LTS(Lucid Lynx)…if any problem occurs let me know through comments.