SEARCH :

Custom Search

Thursday, May 10, 2007

PANHAC2

wah2.. bentar lagi ada PANHAC2 neh.. Pazia Acer National Hacker Competition 2
Yang ikut kayanya jago-jago neh.. ada kompetisi onlinenya juga. Seperti tahun yang lalu, kali ini juga berhadiah laptop.
lagi ga ada inspirasi mo nulis apaan di blog, jadi ikutan promosi deh.. wakakaka...




Tuesday, May 8, 2007

Instalasi dengan menggunakan Repository

Kemarin minggu, baru aja aku ikut acara ubuntu feisty release party. Acaranya kacau balau seh, mengecewakan.. Udah bela-belain bangun pagi-pagi segala padahal...hiks3...
Untungnya aku dapet satu ilmu yang cukup menarik, yaitu instalasi packet melalui repository.
Caranya mudah kog.. untuk yang kemaren seh, aku dapet yang buat ubuntu.. but ga cuma ubuntu doang, distro-distro lain pun bisa, hanya saja perintah-perintanya yang berbeda.
Untuk ubuntu, pertama kita dapat mencari jenis-jenis packet yang ada di repository yang kita punya dengan perintah
# apt-cache search "nama-packetnya"
gunanya untuk apa? misal kita ingin menginstall ftp server di distro kita, hanya saja kita tidak tahu apa nama packet yang ada di repository yang kita punya ( asumsinya kita tidak terhubung internet lo...=p ) kita dapat jalankan perintah
# apt-cache search ftp
ntar dapet nama-namanya.. misal proftpd
Nah..setelah dapat namanya kita dapat menginstallnya dengan perintah
# apt-get install proftpd
Tunggu beberapa menit dan ftp sudah terinstall.. mudah bukan?

Bagaimana bila kita ingin menambah repository dari CD atau DVD? Kita dapat menggunakan perintah
# apt-cdrom add
secara otomatis packet-packetnya akan ditambah ke repository kita..^^
Bila kita terhubung ke internet, instalasinya akan lebih mudah lagi karena repository yang ada di internet sangat lengkap.. cara-caranya sama seperti diatas..

Thursday, May 3, 2007

Mount Your Windows Partition from Linux (NTFS or FAT32)

Sometimes do you want to get your data from windows but that time you use linux? Anyone will feel lazy to reboot their computer just to get data that they need. In linux, you can mount your harddisk even it's a windows partition include fat32 and ntfs.
For fat32 filesystem, linux support it by default. But for ntfs filesystem, you must add some modules.
Step by step to mount it are:
1. List what partition do you have..
# fdisk -l
example :

/dev/hda1 * 1 1275 10241406 83 Linux
/dev/hda2 1276 1402 1020127+ 82 fat32
/dev/hda3 1403 2677 10241437+ 83 ntfs

2. Make a target mount directory
# mkdir /mnt/fat32
# mkdir /mntntfs

3. To mount your fat32 filesystem
# mount -t fat32 /dev/hda2 /mnt/fat32

3. To mount your ntfs filesystem you must install fuse and ntfs-3g first
- Search fuse and ntfs-3g installer from uncle google first..
- Install fuse
# tar -zxvf fuse.X.X.X.tar.gz
# cd fuse.x.x.x/
# ./configure && make && make install
- Install ntfs-3g
# tar -zxvf ntfs-3q.x.x.x.tar.gz
# cd ntfs-3g.x.x.x/
# ./configure && make && make install
After installed all packet, you can mount your ntfs partition now...

4. # ntfs-3g /dev/hda3 /mnt/ntfs

easy right...?he3...
after finished get your data or what ever job you do, you can umount it by:
# umount /mnt/fat32
# umount /mnt/ntfs

All about Virus

Virus dari dulu adalah kata yang ditakuti bagi pengguna komputer awam, terutama bagi pengguna system operasi windows. Bila terkena virus orang-orang pasti akan panik dan sibuk mencari anti virus atau removal tools yang ada.
Sebenarnya untuk mengatasi sebuah virus dapat dilakukan secara manual. Saya tidak berkata itu adalah hal yang mudah lo, tapi itu adalah hal yang mengasikkan..he3...
langkah-langkah yang biasa saya lakukan adalah :

1. Checking folder option, run, regedit, msconfig, dan task manager apakah berfungsi atau tidak

2. Checking Start > Programs > StartUp
biasanya ada file-file virus yang ada disini.

3. Checking Control Panel > Scheduled Tasks
Kadang-kadang virus membuat jadwal di sini

4. Checking autoexec.bat
kadang ada virus yang memasukkan command-command tertentu di file ini.

setelah semua pemeriksaan selesai, kita coba mematikan proses virus. Bila task manager tidak berfungsi, kita dapat menggunakan process explorer.
Proses-proses virus kadang hampir menyerupai proses dari system windows..bagaimana cara membedakannya? Bila kita logika,Proses suatu system pasti berjalan pertama kali bukan? maka dari itu kita lihat PID dari tiap proses yang ada dengan perintah "tasklist". Pada proses dengan nama yang sama, PID yang lebih kecil pastilah PID dari system dan PID yang lebih besar adalah PID virus.
Bila proses virus telah mati ( selain dengan task manager, kita juga dapat menggunakan perintah "taskkill"), kita dapat memperbaiki registry yang diubah oleh virus. Regedit di disable? kita dapat menggunakan program hijack untuk membuka kuncian regedit tersebut.
Jangan lupa menampilkan file-file yang kadang kala dihidden oleh virus dengan perintah "attrib -r -h -s *.*".
Yah, kira-kira langkah-langkah manualnya seperti itu, namun dalam prakteknya mungkin ada beberapa masalah yang menghadang..=p Tapi kalau tidak ada masalah tidak belajar kan? he3...

Tuesday, May 1, 2007

Release Avikom v7.05

Setelah bercapex-capex ria selama 1 minggu,akhirnya avikom v7.05 hampir jadi..he3...
Apa tuh avikom? avikom adalah antivirus yang dikembangin m aku dan temen-temen dapur creative. Untuk sementara bakal memakai engine dari clamav dan avast dan database buatan sendiri, namun untuk versi-versi selanjutnya akan memakai antivirus from scratch or antivirus murni buatan sendiri..
avikom, setelah ditesting berulang-ulang dengan berbagai virus lokal, berhasil mendeteksi semuanya..
Bagi yang punya koleksi virus-virus bisa kirim ke aku ( ikom.av@gmail.com) buat menambah database avikom.. Kami juga udah membuat mailing list untuk menampung konsultasi dan sharing tentang virus (avikom@googlegroups.com)..
Avikom bukan layaknya antivirus biasa, avikom dapat dijalankan tanpa perlu menginstall terlebih dahulu, karena avikom berupa bootable cd. Pada pernah pake knoppix or slax? avikom adalah antivirus yang dibuat dapat bekerja layaknya liveCD-liveCD tersebut..
Bagi yang tertarik untuk mencoba dapat menghubungi saya di tommy.hendrawan@gmail.com ^^

Thursday, April 26, 2007

Make a Partition with Fdisk

Do you confused how to make partition in linux? Actually we can use software like qparted to make a partition, but we can also make a partition with command line utility like fdisk. Use fdisk to make a partition is not difficult. May be first time you will confused, but after you can use it, fdisk will be a very fast tool to make partition on your linux.
First,you can look your harddisk partition with

[root@fecore ~]# fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 83 Linux
/dev/hda2 1276 1402 1020127+ 82 Linux swap / Solaris
/dev/hda3 1403 2677 10241437+ 83 Linux
/dev/hda4 2678 4865 17575110 5 Extended
/dev/hda5 2678 3569 7164958+ 83 Linux

After that you can start make your partition,example

[root@fecore ~]# fdisk /dev/hda

The number of cylinders for this disk is set to 4865.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):

the command are
p
print the partition table

l
list the partition type

n
create a new partition

d
delete a partition

q
quit without saving changes

w
write the new partition table and exit

to see your partition now, type 'p' and press enter..

Command (m for help): p

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 83 Linux
/dev/hda2 1276 1402 1020127+ 82 Linux swap / Solaris
/dev/hda3 1403 2677 10241437+ 83 Linux
/dev/hda4 2678 4865 17575110 5 Extended
/dev/hda5 2678 3569 7164958+ 83 Linux

make your new partition,press 'n'..

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-22800, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-22800, default 22800): 13032
The last partition is the extended partition:

change your partition filesystem type,press 't'..
Command (m for help): t
Partition number (1-6): 6
Hex code (type L to list codes):

You can press 'l' to see the list of filesystem type..
after you choose one filesystem,press 'w' to write partition into your harddisk.

finished? not yet...
you must ust mkfs utility to write the file system... example:
you want to make a ext3 filesystem on your partition /dev/hda1..
# mkfs.ext3 /dev/hda1

note: correct me if i'm wrong =)
THE END

Wednesday, April 25, 2007

Mount Your Flashdisk on Linux

Now, flashdisk is a famous device that usually use by people to save their data. It's all because flashdisk price for any size become cheaper. For people that become a new linuxer, mount a flashdisk can make a problem. In linux, every device readed as file include our flashdisk. You can check /dev directory to see what device that avaible on your computer.
To mount a flashdisk is not difficult. I always do this step to mount a flashdisk:

1. Command below are to find about what type of device of flashdisk that linux read.

#dmesg | grep sda

2. After you get the device, create the mount point

#mkdir /mnt/sda

3. Mount the flashdisk on /mnt/sda

# mount /dev/sda /mnt/sda (asummed that your flashdisk readed as /dev/sda)

For auto mount, you can add some rules on /etc/fstab files..
assumed that your flashdisk are /dev/sda you can add :

/dev/sda /mnt/sda auto user,rw,auto 0 0

easy right? the device not only /dev/sda, may be :

/dev/sda1
/dev/sdb
/dev/sdb1
/dev/sdc
/dev/sdc1
/dev/sdd
/dev/sdd1

and many more...
But the device are usually used are /dev/sda until /dev/sdc1..
On new distro linux, flashdisk can mounted otomaticly..

How to unmount your flashdisk?
Just type
# umount /mnt/sda
# eject /dev/sda

May be some people say that this method not practice,it's all because Linux are distro for people never tired to try, learn, and ask.. So keep learning cause knowledge are power..^^

note: You can use mount utility to mount harddisk device or floppy too..