How to Install UNetbootin on ubuntu

UNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD. You can either let it 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.

UNetbootin can create a bootable Live USB drive, or it can make a “frugal install” on your local hard disk if you don’t have a USB drive. It can load distributions by automatically downloading their ISO (CD image) files, or by using existing ISO files, floppy/hard disk images, or kernel/initrd files, for installing other distributions.

 

How to Install UNetbootin on ubuntu?


For Ubuntu 9.10 and higher, just run following three commands in Applications-> Accessories-> Terminal to install UNetbootin from PPA:

sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt-get update
sudo apt-get install unetbootin

For older versions First, edit /etc/apt/source.list by this command:
sudo gedit /etc/apt/sources.list

Add one of following lines to the file, then save and close.

For ubuntu 8.04:


deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu hardy main

For ubuntu 8.10:


deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu intrepid main

For ubuntu 9.04:


deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu jaunty main

Now,add the GPG key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3

Update and install UNetbootin:

sudo apt-get update

sudo apt-get install unetbootin

Go to Applications-> System Tools-> UNetbootin





UNetbootin in Ubuntu 

How to change maximum number of posts in Blogger label page

How to change maximum number of posts in Blogger label page

Blogger has set of default 20 maximum blog posts (category page). This may suit or not suit by your preference.You may want to change the default maximum blog post  becomes the number you may want to increase.

If you want to increase the default blog posts you ll have to edit the default template.

How to change maximum number of posts in Blogger label page?


1.

Now you got to  open the template editor
Dashboard > Template > Edit HTML) and Expand Widget Templates

2.

Use "Ctrl+F" to find the following codes :
expr:href='data:label.url'
 and replace with :
expr:href='data:label.url + "?max-results=150"'
I used the number 150 because I want all posts to be displayed in the label page. You may use other numbers in place of 150)

Repeat this increases of "expr:href='data:label.url'"that you cand find, i guess it will be 3 repeats for the simple template, so then the above ll have to be repeated 3 times.

3.

When you ve done with this, save template and exit.


Simple Recent Posts Widget for Blogger/Blogspot

Simple Recent Posts Widget for Blogger/Blogspot

A couple days a go i wanted my blog appears good and simple. I just thought that i changed the archives widget with recent posts wiget instead.
So then look what i found. 

How to add Recent Posts Widget to Blogger?

 What you can do with this widget:
    * display post titles only
    * change the number of posts
    * change the number of characters of the post snippet/excerpt
    * show the post dates

See the screenshot below:

1. 

Log in to your Blogger Dashboard >> go to Design >> Add a Gadget >> choose HTML/JavaScript

 

2. 

Choose & Copy the code of one of the options below and paste it into the new HTML/JavaScript:

Option 1: Recent posts widget with snippets
    <div id="hlrpsa">
    <script src="http://helplogger.googlecode.com/svn/trunk/recent-posts-with-snippets.js">
    </script>
    <script>
    var numposts = 5;var showpostdate = false;var showpostsummary = true;var numchars = 100;var standardstyling = true;
    </script>
    <script src="http://your-blog.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts">
    </script></div>
    <div id="rpdr" style="font-family: arial, sans-serif; font-size: 9px;">
    <a href="http://helplogger.blogspot.com/2012/04/recent-posts-widget-for-bloggerblogspot.html" target="_blank" title="Grab this Recent Posts Widget">Recent Posts Widget</a> by <a href="http://helplogger.blogspot.com" title="Recent Posts Widget">Helplogger</a></div>
    <noscript>Your browser does not support JavaScript!</noscript>
    <style type="text/css">
    #rpdr {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpHCWZFg3VQW7fOEK5lPzYUQdqMJjjK-4prtO-0wBUI88ZWEV6srmDs_BfTJ2v4EKTCaHusLuMtqpgPQII4DGANfwBa2YUcZkrAYAOQPjxO1jkBZtw3mPchTbSahgK2F8Kb_Mh5XIWRKOR/s1600/blogger.png) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
    #rpdr, #rpdr a {color:#808080;}
    #hlrpsa { border-bottom:1px #cccccc dotted; margin-top:-10px; padding-bottom:10px;}
    .hlrps a {font-weight:bold; }
    .hlrpssumm {}
    </style>

Option 2: Recent Posts Widget Showing Post Titles Only

    <div id="hlrpsb">
    <script style="text/javascript" src="http://helplogger.googlecode.com/svn/trunk/recent-posts-with-titles-only.js"></script>
    <script style="text/javascript">var numposts = 10;var showpostdate = false;var showpostsummary = false;var numchars = 100;var standardstyling = true;</script>
    <script src="http://your-blog.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentposts"></script></div>
    <div style="font-family: arial, sans-serif; font-size: 9px;" id="rpdr"><a href="http://helplogger.blogspot.com/2012/04/recent-posts-widget-for-bloggerblogspot.html" title="Grab this Recent Posts Widget" target="_blank">Recent Posts Widget</a> by <a href="http://helplogger.blogspot.com" title="Recent Posts Widget">Helplogger</a></div><noscript>Oops! Make sure JavaScript is enabled in your browser.</noscript>
    <style type=text/css>
    #rpdr {background: url( https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpHCWZFg3VQW7fOEK5lPzYUQdqMJjjK-4prtO-0wBUI88ZWEV6srmDs_BfTJ2v4EKTCaHusLuMtqpgPQII4DGANfwBa2YUcZkrAYAOQPjxO1jkBZtw3mPchTbSahgK2F8Kb_Mh5XIWRKOR/s1600/blogger.png ) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
    #rpdr, #rpdr a {color:#808080;}
    #hlrpsb { }
    .bbrecpost2 {
    padding-top:6px;
    padding-bottom:6px;
    border-bottom: 1px #cccccc dotted; }
    </style>

Here they're the options :

#Change 5 (option 1) and 10 (option 2) with the number of posts you want to show. 
#Change false to true if you want the posts dates to appear. 
#And change 100 (option 1) if you want more characters to be displayed.
#Don't forget to change your-blog text with the name of your blog or if you have a custom domain change all the bolded line with your address like in this example:

    http://www.your-site.com/feeds/posts/default....


3. 

Save your widget and done! Enjoy!

Mysql Database Server Installation and Configuration in Ubuntu

Mysql Database Server Installation and Configuration in Ubuntu

Mysql is a  simple used Sql Database server that based in client/server implementation.
 

Installing Mysql database in Ubuntu

1. Open terminal and type this command 
sudo apt-get install mysql-server mysql-client libmysqlclient12-dev
2. MySQL initially only allows connections from the localhost (127.0.0.1). We'll need to remove that restriction if you wish to make it accessible to everyone.

Open the file /etc/mysql/my.cnf
sudo nano /etc/mysql/my.cnf
3. Find the line bind-address = 127.0.0.1 and comment it out
...
#bind-address = 127.0.0.1
...
4. MySQL comes with no root password as default. This is a huge security risk. You'll need to set one.
mysqladmin -u root password your-new-password
mysqladmin -h root@local-machine-name -u root -p password your-new-password
/etc/init.d/mysql restart
source : http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html

How to install virtualbox on ubuntu 4.x on ubuntu 11.04(Natty)

How to install virtualbox on ubuntu 4.x on ubuntu 11.04(Natty)
Virtualbox is Virtual machine that you can use to install others Operating System with out create a particular partition to your Hard Drive. Vbox ll treat the Operating System, more over to the other software likely. There re many  versions on Vbox, it should like Oracle VM VirtualBox, formerly Sun xVM VirtualBox and innotek VirtualBox, is a family of x86 virtualization products for enterprise and home use.

Install virtualbox 4.x on ubuntu 11.04


You need to edit /etc/apt/sources.list

    gksudo gedit /etc/apt/sources.list

Add the following line

    deb http://download.virtualbox.org/virtualbox/debian natty contrib

Save and exit the file

    wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Update source list

sudo apt-get update

Install virtualbox

    sudo apt-get install virtualbox-4.0

Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later. The dkms package can be installed through the Synaptic Package manager or through the following command:

    sudo apt-get install dkms


Automatically answer 'Yes' when using apt-get install


Automatically answer 'Yes' when using apt-get install
I ve a bit trouble with this procedure. I couldn't install some program trough my webmin. When i was installing telnet, i guess, i was encountered "Do you want to continue [y/N]?  " question and installation progress aborted.

Question :

Is there a way to make apt-get install answer "yes" to the "Do you want to continue [y/N]?"?

Answer :

apt-get -y install  [package_name ]