Tuesday, June 30, 2009

seminar linux....please,make sure you had already a ticket and attending to our party

Read More..

Saturday, June 27, 2009

Test Disk part 1

what is going on to you if your hdd or FlashDisk formating by your friend or something without do you wanted.....you don't have to be panic....
in ubuntu , you can get it back with TEST DISK
what is TEST DISK

"TestDisk is a powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

TestDisk can

  • Fix partition table, recover deleted partition
  • Recover FAT32 boot sector from its backup
  • Rebuild FAT12/FAT16/FAT32 boot sector
  • Fix FAT tables
  • Rebuild NTFS boot sector
  • Recover NTFS boot sector from its backup
  • Fix MFT using MFT mirror
  • Locate ext2/ext3 Backup SuperBlock
  • Undelete files from FAT, NTFS and ext2 filesystem
  • Copy files from deleted FAT, NTFS and ext2/ext3 partitions.

TestDisk has features for both novices and experts. For those who know little or nothing about data recovery techniques, TestDisk can be used to collect detailed information about a non-booting drive which can then be sent to a tech for further analysis. Those more familiar with such procedures should find TestDisk a handy tool in performing onsite recovery." (http://www.cgsecurity.org/wiki/TestDisk)

how to use it :

1.open your terminal and write this : testdisk

you will see this :



2.press enter on create panel and then you will see :

(in this case Disk /dev/sda - 80 GB / 74 GiB - ATA TOSHIBA MK8037GS are my hdd)

3.click to process > intel > analyze and you will see :

Disk /dev/sda - 80 GB / 74 GiB - CHS 9730 255 63
Current partition structure:
Partition Start End Size in sectors

1 * HPFS - NTFS 0 32 33 3569 159 46 57344000
2 P Linux 3570 0 1 5473 254 63 30587760
3 P Linux Swap 5474 0 1 5722 254 63 4000185
4 P Linux 5723 0 1 9728 254 63 64356390


4.and select backup, after that in my terminal :

Disk /dev/sda - 80 GB / 74 GiB - CHS 9730 255 63
Partition Start End Size in sectors
* HPFS - NTFS 0 1 1 4461 254 63 71681967
P HPFS - NTFS 4462 0 1 5904 254 63 23181795


continue at part 2

Read More..

how to format our usb or partition in ubuntu

if we wanted to format our usb or partision in ubuntu , is was not just like in windows..
this is good for learn for me,because i'm a newbie in linux.....now follow this way :
1. put your usb stick in your port usb
2.check your list of partition : fdisk -l (you have to be root for this one)
3.find the port active usb , to make sure that usb stick is active,write this in terminal
: lsusb
4.check your usb stick : fdisk -l ,,,in this condition my usb is /dev/sdb1
5.this is command for formatting : mkfs.vfat -F32 -n yournamedrive /dev/sdb1
(in this condition my drive name is arofah : mkfs.vfat - F32 -n arofah /dev/sdb1)
6.now your usb drive is succesfully format....

Read More..

Thursday, June 25, 2009

how to use your account or user in linux for webserver

usually when our ubuntu had installed a webserver,database and many more for web
mostly of user extract a that web or cms in directory /var/www
but now we can use an our public account for webserver
wanna know why is that could be happen'
and now,follow this way
1.go to your directory : cd /home/arofah
2.make direction : mkdir public_html
3.go to your directory : cd /public_html
4.extract your cms in public_html directory : unzip Joomla_1.5.11-Stable-Full_Package.zip
5.try this way in your terminal :
a. find /home/arofah/public_html/ -type d -exec chmod 755 {} \;
b. find /home/arofah/public_html/ -type f -exec chmod 644 {} \;
c. chown -R www-data:www-data public_html/
6.now check in your webrowser : http://localhost/~arofah/joomla
7.it's currently work in my lptop

note :
*d in type -d is change your user owner directory just root can create or delete and read in that directory
* f in type -f is change your user owner for file
*before you try this way,you have to log in root user

Read More..

Monday, June 22, 2009

how to install xampp on ubuntu 9.04

  • extract file XAMPP tar.gz to directory opt with command tar xvfz xampp-linux-1.6.7.tar.gz -C /opt
  • ceck your dyrectory opt anda,is there any folfer like lampp at there, directory opt is in filesystem. XAMPP for linux = LAMPP.
  • now you have to start your lampp,with command /opt/lampp/lampp start
  • and then in your terminalis ,you can see list like this : Starting XAMPP for Linux 1.6.6... XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: XAMPP-MySQL is already running. XAMPP: XAMPP-ProFTPD is already running. XAMPP for Linux started.. and now your xampp is already running
  • check in your browser and write http://localhost
  • create your database
  • XAMPP / LAMPP now working in your computer

Read More..

linux is the one operating system on my laptop..

i know linux when i'm collegue,,,this is just for test,,,

Read More..