How do I determine the UUID's of hard drive partitions?



Linux now prefers to use UUID (Universally Unique Identifier), LABEL, or symlinks to identify media storage devices on a system.

The files for which UUID is most critical:

    /boot/grub/menu.lst
    /etc/fstab
    /etc/initramfs-tools/conf.d/resume

Finding UUIDs

Those two commands give your what you need, I think. You just need to put it together.
 
sudo blkid -o full -s UUID
 /dev/sda1: UUID="97201036-c514-47b5-aeb1-7ce98a8711ff"
/dev/sda3: UUID="a8b6c85c-65da-4ffa-9d2e-8356e5c26bd2"
/dev/sda5: UUID="e7d97bbe-adf2-4ad8-8d3e-c9f56adeed60"
/dev/sda6: UUID="aafe7a68-6945-48cf-b28a-f22b963d5fa6"
/dev/sda7: UUID="4772ec87-6f08-40b9-a274-64e930e7c336"
/dev/sdb1: UUID="aa6c721e-d06e-4756-bac9-b3849e1a9195"
/dev/sdb2: UUID="96004184-5efc-490d-9280-0e1ab845a142"

sudo lshw -class disk
 *-cdrom                
       description: DVD-RAM writer
       product: DVD-RAM GSA-H58N
       vendor: HL-DT-ST
       physical id: 0.0.0
       bus info: scsi@4:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/cdrw
       logical name: /dev/dvd
       logical name: /dev/dvdrw
       logical name: /dev/scd0
       logical name: /dev/sr0
       version: 1.00
       serial: [HL-DT-STDVD-RAM GSA-H58N1.0007/08/17 7U02
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=nodisc
  *-disk
       description: ATA Disk
       product: SAMSUNG HD082GJ
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: JE10
       serial: S0VPJ9CPA13399
       size: 74GiB (80GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 signature=c3f8aac4
  *-disk
       description: ATA Disk
       product: SAMSUNG HD501LJ
       physical id: 0.0.0
       bus info: scsi@2:0.0.0
       logical name: /dev/sdb
       version: CR10
       serial: S0MUJ1EPC25858
       size: 465GiB (500GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 signature=63eba0e6

How To Install Avant Window Navigator In Ubuntu 12.10 Quantal Quetzal

How To Install Avant Window Navigator In Ubuntu 12.10 Quantal Quetzal


Avant Window Navigator, a very popular dock a while back, has been deleted from the official Ubuntu 12.10 repositories, so to make it easier to install, I've uploaded it to the main WebUpd8 PPA.


Please note though, that since AWN hasn't been updated in a long time, some applets won't work!

Although the application isn't used as much as a few years ago, it's can still be useful on various desktop environments / shells like GNOME Shell, Xfce, GNOME fallback session and so on. So here's how to install it in Ubuntu 12.10.


Install Avant Window Navigator In Ubuntu 12.10 Quantal Quetzal


To add the main WebUpd8 PPA and install Avant Window Navigator in Ubuntu 12.10, use the following commands:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install avant-window-navigator

How to install MySQL Workbench on Ubuntu

MySQL Workbench is simple DBAs and developers an integrated tools environment for:
  • Database Design & Modeling
  • SQL Development (replacing MySQL Query Browser)
  • Database Administration (replacing MySQL Administrator)
You will easily  Design and modeling database tables using MySQL Workbench.


How to install MySQL Workbench on Ubuntu

1.

You need to download Mysql Workbench trough this link http://dev.mysql.com/downloads/workbench/

2.

On the Select Platform Options, select "Ubuntu Linux"
and you need to select What is your ubuntu version.
You ll have downloaded Mysql Workbench Master on Ubuntu version (.deb file )

3.

To install Mysql Workbench go to "where is Mysql Workbench Master directory placed" >> open terminal >> and run this script :

sudo dpkg -i mysql-workbench-gpl-5.2.44-1ubu1004-i386.deb.deb
waiting the process, if U face some error solve it with run this script :
sudo apt-get install  -f
 waiting the process again and done!

crossword (ORACLE_TERBILANG)


Now, i ll share ORACLE_TERBILANG function.
ORACLE_TERBILANG function is describing number (IDR currency) to letters  in the word.

How to applicate function ORACLE_TERBILANG

1. 

Copy and run these scripts bellow on PLSQL :

-->
FUNCTION zright(iChar VARCHAR2,jumlah NUMBER) RETURN VARCHAR IS
Vpanjang NUMBER;
Vchar_Kanan VARCHAR2(100);
BEGIN
Vpanjang:=Length(iChar)+1-jumlah;
Vchar_Kanan:=SUBSTR(iChar,Vpanjang,jumlah);
RETURN Vchar_Kanan;
END;

FUNCTION ZMID(CStr IN VARCHAR2, STR IN INTEGER, LEN IN NUMBER DEFAULT 32767) RETURN VARCHAR2 IS
iMID VARCHAR2(32767);
BEGIN
If ( STR > Length(CStr) ) Then
RETURN( NULL );
END IF;
iMID := SUBSTR( CStr, STR, len );
RETURN ( iMID );
END;


function ORACLE_TERBILANG(angka number) return varchar2 is

strJmlHuruf number;
terbilang varchar2(32767);
intPecahan varchar2(32767);
strPecahan varchar2(32767);
urai varchar2(32767);
sMinus varchar2(32767);
strTot varchar2(32767);
x varchar2(32767);
y integer;
z integer;
Bil1 varchar2(32767);
Bil2 varchar2(32767);
pNumber varchar2(32767);

begin

/*Cek Panjang input Angka*/
pNumber :=length(angka);

if substr(angka,1,1) <> '-' then
if 16 <= pNumber then terbilang := ''; return(terbilang); end if;
Else
if 17 <= pNumber then terbilang := ''; return(terbilang); end if;
End If;

/*Cek Awal NOL*/
If angka is Null or angka =0 Then terbilang := 'NOL';
return(terbilang);
End If;

strJmlHuruf := LTrim((angka)); intPecahan := 0;

/*Cek Awal Minus*/
If InStr(strJmlHuruf, '-') > 0 Then
sMinus := 'MINUS ';
terbilang := ZRight(strJmlHuruf, length(strJmlHuruf) - 1);
strTot := terbilang; strJmlHuruf := terbilang;
End If;

/*Sementara Tdak ada pecahan :D*/
If (intPecahan = 0) Then strPecahan := ''; End If;

X := 0;
Y := 0;
Urai := '';

/*::::::::::::LOOP::::::::::::*/
While (X < length(strJmlHuruf)) Loop
X := X + 1;
strTot := ZMID(strJmlHuruf, X, 1);
Y := Y + (strTot);
z := length(strJmlHuruf) - X + 1;

/*::::::::::::::::::::::::::Select Case Val(strTot)::::::::::::::::::::::::::*/
if (strTot) = 1 then

/*:::::::::::::::::::::::::::*/
If (z = 1 Or z = 7 Or z = 10 Or z = 13) Then Bil1 := 'SATU ';

ElsIf (z = 4) Then
If (X = 1) Then Bil1 := 'SE';
Else Bil1 := 'SATU ';
End If;

ElsIf (z = 2 Or z = 5 Or z = 8 Or z = 11 Or z = 14 ) Then
X := X + 1;
strTot := ZMid(strJmlHuruf, X, 1);
z := length(strJmlHuruf) - X + 1;
Bil2 := '';

if strTot = 0 then Bil1 := 'SEPULUH ';
ElsIf strTot = 1 then Bil1 := 'SEBELAS ';
ElsIf strTot = 2 then Bil1 := 'DUA BELAS ';
ElsIf strTot = 3 then Bil1 := 'TIGA BELAS ';
ElsIf strTot = 4 then Bil1 := 'EMPAT BELAS ';
ElsIf strTot = 5 then Bil1 := 'LIMA BELAS ';
ElsIf strTot = 6 then Bil1 := 'ENAM BELAS ';
ElsIf strTot = 7 then Bil1 := 'TUJUH BELAS ';
ElsIf strTot = 8 then Bil1 := 'DELAPAN BELAS ';
else Bil1 := 'SEMBILAN BELAS ';
end if;
else
Bil1 := 'SE';
end if;
/*:::::::::::::::::::::::::::*/

elsif strTot = 2 then Bil1 := 'DUA ';
elsif strTot = 3 then Bil1 := 'TIGA ';
elsif strTot = 4 then Bil1 := 'EMPAT ';
elsif strTot = 5 then Bil1 := 'LIMA ';
elsif strTot = 6 then Bil1 := 'ENAM ';
elsif strTot = 7 then Bil1 := 'TUJUH ';
elsif strTot = 8 then Bil1 := 'DELAPAN ';
elsif strTot = 9 then Bil1 := 'SEMBILAN ';
else Bil1 := '';
end if;
/*::::::::::::::::::::::::::END Select Case Val(strTot)::::::::::::::::::::::::::*/

If ((strTot) > 0) Then
If (z = 2 Or z = 5 Or z = 8 Or z = 11 Or z = 14) Then Bil2 := 'PULUH ';
ElsIf (z = 3 Or z = 6 Or z = 9 Or z = 12 Or z = 15) Then Bil2 := 'RATUS ';
Else Bil2 := '';
End If;
Else Bil2 := '';
End If;

If (Y > 0) Then
/*::::::Select Case z:::::::*/
if z = 4 then Bil2 := Bil2||'RIBU '; Y := 0;
elsif z = 7 then Bil2 := Bil2||'JUTA '; Y := 0;
elsif z = 10 then Bil2 := Bil2||'MILYAR '; Y := 0;
elsif z = 13 then Bil2 := Bil2||'TRILYUN ';Y := 0;
end if;
End If;

Urai := Urai||Bil1||Bil2;
end loop;
/*::::::::::::END LOOP::::::::::::*/

Urai := sMinus||Urai||strPecahan;
If (intPecahan = 0) Then
Terbilang := Urai||'RUPIAH ';
End If;
return(terbilang);

end ORACLE_TERBILANG;

How to use ORACLE_TERBILANG

select oracle_terbilang(number) from dual;


Ubuntu 12.04.1 LTS (Precise Pangolin)

Ubuntu

 Ubuntu 12.04.1 LTS (Precise Pangolin) - was released on 26 April 2012.

Download Ubuntu for your desktop

You can choose between two options when you download Ubuntu for a desktop PC. Ubuntu 12.10 gives you all the latest features, while Ubuntu 12.04.1 LTS comes with extended support.

For the latest features,
choose Ubuntu 12.10

Ubuntu 12.10 will be supported for two years and includes cutting-edge new features that make your music, videos, documents and apps much easier to access.

For long-term support,
choose Ubuntu 12.04 LTS

Ubuntu 12.04.1 LTS is a long-term support release. While it lacks some new features, it will receive guaranteed support for five years from April 2012.

Link Download

You can download  Ubuntu 12.04 LTS  (Precise Pangolin) by those links bellow. Here re links witch has served on Indonesia server.