Archive for the 'COMPUTER' Category

Menginstal Linux dalam VirtualBox

Thursday, June 25th, 2009
Menginstal Linux dalam VirtualBox 1. Download virtualbox dari link ini
Code:
http://download.virtualbox.org/virtualbox/2.2.4/VirtualBox-2.2.4-47978-Win.exe
2. Install virtualbox dan jalankan virtualbox 3. Tampilan awal virtualbox
This image has been resized. Click this bar to view the full image. The original image is sized 786x586.
4. Untuk membuat mesin virtual baru klik tombol Baru, akan muncul wizard untuk membuat mesin virtual baru Klik Next, Masukkan nama mesin virtual yang diinginkan, kemudian pilih Operating System dan Version Operating System-nya, dalam contoh ini gw pake linux slackware. Kemudian klik Next, pilih jumlah memori yang akan dialokasikan untuk mesin virtual kita. Sesuaikan dengan jumlah memori fisik (jangan terlalu besar). Klik Next Selanjutnya kita akan membuat hardisk virtual. Pilih Create new hard disk, klik Next dan Next lagi Pilih yang Dynamically Expanding Storage untuk menghemat space hardisk, klik Next Sesuaikan besar hard disk dengan aplikasi2 yang akan diinstal Setelah selesai akan muncul rangkuman mesin virtual yg kita buat. Klik Finish 5. Mesin virtual yang siap diinstal linux
This image has been resized. Click this bar to view the full image. The original image is sized 786x586.
Sebelum kita mulai menginstal linux di mesin virtual ini, kita setting dulu aga mesin virtualnya bisa boot dari CD-drive. Klik Setting, pada bagian CD/DVD-ROM pilih Muat Driver CD/DVD dan Host Driver CD/DVD (karena kita akan menggunakan CD-Drive punya host) Kemudian pilih bagian Garis Besar bagian Mendalam. Pastikan CD/DVD-ROM berada pada urutan pertama Boot Order. Klik OK 7. Masukan CD/DVD linux ke dalam CD/DVD-Drive kemudian klik Mulai. Mesin virtual yg kita buat akan memboot dari CD/DVD-Drive, selanjutnya instal linux seperti biasa
This image has been resized. Click this bar to view the full image. The original image is sized 786x586.
This image has been resized. Click this bar to view the full image. The original image is sized 735x482.
8. Tampilan guest OS (Slackware Linux) di virtualbox yang dijalankan di host OS (Windows Vista). Untuk menjalankan guest OS dalam mode Fullscreen, klik menu Mesin pilih Mode Fullscreen
sumber
Code:
http://www.imzers.org/threaddisplay.php?t=7642

ALL XP COMMANDS

Thursday, May 28th, 2009
Run Commands: compmgmt.msc - Computer management devmgmt.msc - Device manager diskmgmt.msc - Disk management dfrg.msc - Disk defrag eventvwr.msc - Event viewer fsmgmt.msc - Shared folders gpedit.msc - Group policies lusrmgr.msc - Local users and groups perfmon.msc - Performance monitor rsop.msc - Resultant set of policies secpol.msc - Local security settings services.msc - Various Services msconfig - System Configuration Utility regedit - Registry Editor msinfo32 _ System Information sysedit _ System Edit win.ini _ windows loading information(also system.ini) winver _ Shows current version of windows mailto: _ Opens default email client command _ Opens command prompt Run Commands to access the control panel: appwiz.cpl -Add/Remove Programs control timedate.cpl -Date/Time Properties control desk.cpl -Display Properties control findfast.cpl -FindFast control inetcpl.cpl -Internet Properties control main.cpl keyboard -Keyboard Properties control main.cpl -Mouse Properties control mmsys.cpl -Multimedia Properties control netcpl.cpl -Network Properties control password.cpl -Password Properties control mmsys.cpl sounds -Sound Properties control sysdm.cpl -System Properties control Command Prompt: ANSI.SYS Defines functions that change display graphics, control cursor movement, and reassign keys. APPEND Causes MS-DOS to look in other directories when editing a file or running a command. ARP Displays, adds, and removes arp information from network devices. ASSIGN Assign a drive letter to an alternate letter. ASSOC View the file associations. AT Schedule a time to execute commands or programs. ATMADM Lists connections and addresses seen by Windows ATM call manager. ATTRIB Display and change file attributes. BATCH Recovery console command that executes a series of commands in a file. BOOTCFG Recovery console command that allows a user to view, modify, and rebuild the boot.ini BREAK Enable / disable CTRL + C feature. CACLS View and modify file ACL's. CALL Calls a batch file from another batch file. CD Changes directories. CHCP Supplement the International keyboard and character set information. CHDIR Changes directories. CHKDSK Check the hard disk drive running FAT for errors. CHKNTFS Check the hard disk drive running NTFS for errors. CHOICE Specify a listing of multiple options within a batch file. CLS Clears the screen. CMD Opens the command interpreter. COLOR Easily change the foreground and background color of the MS-DOS window. COMP Compares files. COMPACT Compresses and uncompress files. CONTROL Open control panel icons from the MS-DOS prompt. CONVERT Convert FAT to NTFS. COPY Copy one or more files to an alternate location. CTTY Change the computers input/output devices. DATE View or change the systems date. DEBUG Debug utility to create assembly programs to modify hardware settings. DEFRAG Re-arrange the hard disk drive to help with loading programs. DEL Deletes one or more files. DELETE Recovery console command that deletes a file. DELTREE Deletes one or more files and/or directories. DIR List the contents of one or more directory. DISABLE Recovery console command that disables Windows system services or drivers. DISKCOMP Compare a disk with another disk. DISKCOPY Copy the contents of one disk and place them on another disk. DOSKEY Command to view and execute commands that have been run in the past. DOSSHELL A GUI to help with early MS-DOS users. DRIVPARM Enables overwrite of original device drivers. ECHO Displays messages and enables and disables echo. EDIT View and edit files. EDLIN View and edit files. EMM386 Load extended Memory Manager. ENABLE Recovery console command to enable a disable service or driver. ENDLOCAL Stops the localization of the environment changes enabled by the setlocal command. ERASE Erase files from computer. EXIT Exit from the command interpreter. EXPAND Expand a M*cros*ft Windows file back to it's original format. EXTRACT Extract files from the M*cros*ft Windows cabinets. FASTHELP Displays a listing of MS-DOS commands and information about them. FC Compare files. FDISK Utility used to create partitions on the hard disk drive. FIND Search for text within a file. FINDSTR Searches for a string of text within a file. FIXBOOT Writes a new boot sector. FIXMBR Writes a new boot record to a disk drive. FOR Boolean used in batch files. FORMAT Command to erase and prepare a disk drive. FTP Command to connect and operate on a FTP server. FTYPE Displays or modifies file types used in file extension associations. GOTO Moves a batch file to a specific label or location. GRAFTABL Show extended characters in graphics mode. HELP Display a listing of commands and brief explanation. IF Allows for batch files to perform conditional processing. IFSHLP.SYS 32-bit file manager. IPCONFIG Network command to view network adapter settings and assigned values. KEYB Change layout of keyboard. LABEL Change the label of a disk drive. LH Load a device driver in to high memory. LISTSVC Recovery console command that displays the services and drivers. LOADFIX Load a program above the first 64k. LOADHIGH Load a device driver in to high memory. LOCK Lock the hard disk drive. LOGON Recovery console command to list installations and enable administrator login. MAP Displays the device name of a drive. MD Command to create a new directory. MEM Display memory on system. MKDIR Command to create a new directory. MODE Modify the port or display settings. MORE Display one page at a time. MOVE Move one or more files from one directory to another directory. MSAV Early M*cros*ft Virus scanner. MSD Diagnostics utility. MSCDEX Utility used to load and provide access to the CD-ROM. NBTSTAT Displays protocol statistics and current TCP/IP connections using NBT NET Update, fix, or view the network or network settings NETSH Configure dynamic and static network information from MS-DOS. NETSTAT Display the TCP/IP network protocol statistics and information. NLSFUNC Load country specific information. NSLOOKUP Look up an IP address of a domain or host on a network. PATH View and modify the computers path location. PATHPING View and locate locations of network latency. PAUSE Command used in batch files to stop the processing of a command. PING Test / send information to another network computer or network device. POPD Changes to the directory or network path stored by the pushd command. POWER Conserve power with computer portables. PRINT Prints data to a printer port. PROMPT View and change the MS-DOS prompt. PUSHD Stores a directory or network path in memory so it can be returned to at any time. QBASIC Open the QBasic. RD Removes an empty directory. REN Renames a file or directory. RENAME Renames a file or directory. RMDIR Removes an empty directory. ROUTE View and configure windows network route tables. RUNAS Enables a user to execute a program on another computer. SCANDISK Run the scandisk utility. SCANREG Scan registry and recover registry from errors. SET Change one variable or string to another. SETLOCAL Enables local environments to be changed without affecting anything else. SETVER Change MS-DOS version to trick older MS-DOS programs. SHARE Installs support for file sharing and locking capabilities. SHIFT Changes the position of replaceable parameters in a batch program. SHUTDOWN Shutdown the computer from the MS-DOS prompt. SMARTDRV Create a disk cache in conventional memory or extended memory. SORT Sorts the input and displays the output to the screen. START Start a separate window in Windows from the MS-DOS prompt. SUBST Substitute a folder on your computer for another drive letter. SWITCHES Remove add functions from MS-DOS. SYS Transfer system files to disk drive. TELNET Telnet to another computer / device from the prompt. TIME View or modify the system time. TITLE Change the title of their MS-DOS window. TRACERT Visually view a network packets route across a network. TREE View a visual tree of the hard disk drive. TYPE Display the contents of a file. UNDELETE Undelete a file that has been deleted. UNFORMAT Unformat a hard disk drive. UNLOCK Unlock a disk drive. VER Display the version information. VERIFY Enables or disables the feature to determine if files have been written properly. VOL Displays the volume information about the designated drive. XCOPY Copy multiple files, directories, and/or drives from one location to another. TRUENAME When placed before a file, will display the whole directory in which it exists TASKKILL It allows you to kill those unneeded or locked up applications

Dual Boot Windows-Linux dan Linux-linux

Tuesday, May 19th, 2009
Yang tertarik nyoba Linux tapi ga mau kehilangan Windows, bisa dicoba nginstall dual-boot. Misal pake Ubuntu, tapi should be fine pake distro lain semisal Fedora cs, Knoppix cs, Mandriva, dll. Diasumsikan, Windows n’ Linux diinstall di harddisk yang sama sehingga MBR (Master Boot Record)-nya cuman satu. Ada 3 skenario dalam instalasi dual-boot : 1. Windows diinstall duluan, lalu Linux diinstall belakangan Ini cara yang paling gampang, karena secara otomatis boot-loader Linux akan mendeteksi ada Windows, dan memberikan menu untuk masuk ke dalamnya. Klo pake Ubuntu, boot-loadernya adalah Grub. Setelah berhasil menginstall Windows dan Ubuntu, maka Grub akan tampil saat kita booting, dan memberikan pilihan mau booting ke Ubuntu apa Windows. Simpel, ga butuh setting macem-macem 2. Linux diinstall duluan, baru Windows belakangan Masalah utama pada skenario ini adalah : Windows mengoverwrite MBR dengan boot-loadernya ndiri (sehingga Grub-nya Linux mati), tapi Windows ga mau ngedeteksi adanya Linux (sehingga ga ada pilihan buat booting ke Linux). Jadi walopun udah nginstall Ubuntu n’ Windows, tapi karena menu untuk masuk Ubuntu ga ada, jadilah kita cuma bisa booting ke Windows. Solusinya, kita bakal overwrite lagi MBR dengan Grub. Caranya : 1. Booting menggunakan Rescue Disk / Live CD Linux. Coba cek keterangan di distro masing-masing. Klo Ubuntu pake aja Live CD-nya 2. Klo udah masuk, jalanin perintah di bawah ini dengan privileges “root” (tambahkan “sudo” di depan tiap perintah, buat Ubuntu) * sudo grub //setelah itu akan masuk ke program grub dengan tanda “grub>” di terminal o root (hd0,0) // ganti “(hd0,0)” sesuai dengan setting harddisk-mu, yakni root-nya instalasi Linux. “(hd0,0)” menunjukkan instalasi Linux ada di harddisk pertama, partisi pertama. o install (hd0) // ini berarti menginstall Grub ke MBR harddisk pertama, menggantikan MBR Windows yang rese’ o quit // keluar dari program Grub * sudo vim /boot/grub/menu.lst // edit file menu.lst dengan editor sembarang o cari baris pendefinisian Operating System, biasanya di paling bawah file o tambahin baris sebagai berikut untuk ngedefinisiin Windows : + title Mikocop Windossss + rootnoverify (hd0,2) // ganti dengan partisi Windows diinstall, contoh ini berarti di partisi ketiga + makeactive + chainloader +1 o save aja file-nya 3. restart komputer, terus pastikan Grub sudah bisa booting ke Linux n’ Mikocop Windosss :) 3. Entah mana yang diinstall duluan, pokoknya jadi ga bisa booting! Kasus ini terjadi misalnya pas nge-repair Windows, ato ngutak-atik partisi harddisk, ato nambah harddisk baru, dll. Solusinya, mirip seperti yang skenario ke-2 tadi. Masuk ke Rescue Disk / Live CD, trus pastiin Grub keinstall di MBR, trus pastiin settingan kayak (hd0,0), (hd0,2)-nya sesuai sama keadaan harddisk sekarang. Jadi, pastiin dulu skema partisi harddiskmu, misalkan pake program gparted (buat Ubuntu). Terus, jangan lupa juga buat ngecek file “/etc/fstab” di Linux, dan pasttin settingannya bener, sesuai partisi-partisi yang ada. ***** Untuk yang instal semua pake linux Keuntungan dari instalasi multi-distro tersebut, Anda bisa mempelajari beberapa jenis distro yang memiliki "sifat" serta "kelakuan" yang berbeda sehingga pengetahuan Anda tentang Linux akan semakin kaya. Pembuatan Partisi Setiap distro Linux membutuhkan setidaknya dua partisi, yaitu / (root) dan swap. Kebutuhan akan partisi swap sebenarnya bisa diperdebatkan, utamanya apabila Anda memiliki RAM yang besar (misalnya di atas 512MB). Namun bukan hal yang salah apabila partisi swap tetap ingin digunakan. Dalam kondisi minimal, sediakan n+1 partisi dengan n adalah jumlah distro yang ingin diinstall. Sebagai contoh penulis akan menginstall tiga distro, yaitu Fedora Core, Ubuntu, dan Slackware. Untuk itu, siapkan minimal empat partisi. Tiga partisi akan digunakan untuk partisi / bagi setiap distro, dan satu partisi digunakan sebagai swap. Mengapa partisi swapnya hanya satu? Karena pada satu kurun waktu hanya satu sistem operasi yang dapat beroperasi. Jadi partisi swapnya akan digunakan secara bergantian. Apabila Anda menginginkan pemisahan partisi /home dari partisi /, sebaiknya partisi untuk /home tersebut juga disediakan sebanyak distro yang ingin diinstall. Jika diinginkan adanya partisi yang dapat digunakan untuk bertukar data antardistro, sebaiknya partisi tersebut disediakan tersendiri. Besarnya setiap partisi juga harus disesuaikan dengan kebutuhan. Partisi untuk Fedora Core misalnya, jangan sampai terlalu kecil karena jumlah CD instalasi Fedora Core adalima (bandingkan dengan Ubuntu yang hanya satu). Sebagai contoh, penulis akan menyediakan lima partisi untuk instalasi Fedora Core, Ubuntu, dan Slackware. Tiga partisi untuk partisi/setiap distro, satu partisi untuk partisi swap, dan satu partisi lagi disediakan untuk tukar menukar data antardistro. Diasumsikan harddisk yang digunakan berukuran 80GB, dan komputer memiliki RAM 512MB. Susunan partisinya seperti pada gambar berikut. Instalasi Distro Pertama Katakanlah distro yang diinstall pertama kali adalah Fedora Core. Untuk itu, buatlah susunan partisi seperti di atas. Namun yang dimount hanyalah /dev/hdal sebagai /, /dev/hda6 Sebagai swap, dan /dev/hda5 sebagai partisi (untuk sharing data yang mungkin akan di-mount di /sharing). Formatlah berbagai partisi tersebut dengan file system yang dikenal oleh seluruh distro. Namun Anda tidak perlu terlalu cemas karena umumnya hampir semua distro telah mengenal ext2, ext3, serta reiserfs sebagai file system. Penulis menyarankan untuk menggunakan ext3 saja, karena file system tersebut bisa dikatakan sebagai yang paling populer. Saat anaconda (software instalasi Fedora Core) meminta Anda untuk menginstall GRUB, letakkan GRUB di MBR (dalam hal ini adalah di /dev/hda). Instalasi Distro Kedua Pada saat instalasi distro kedua, sebagian susunan partisi telah digunakan untuk distro pertama. Misalnya, distro kedua yang diinstall adalah Ubuntu. Untuk itu, lakukan proses mount hanya terhadap partisi /dev/hda2 untuk / dan /devl hda6 untuk swap. Nantinya partisi untuk sharing data akan dilakukan secara manual. Jika pada saat instalasi GRUB, installer Ubuntu mengenal adanya distro lain (Fedora Core) yang telah terinstall dan membuat entri untuk booting ke Fedora Core, Anda boleh menggantikan GRUB Fedora Core dengan GRUB Ubuntu. Anda tinggal menginstall GRUB Ubuntu di MBR, maka GRUB yang telah ada di MBR sebelumnya akan hilang. Namun jika Anda menginginkan untuk tetap menggunakan GRUB milik Fedora Core, lakukan instalasi GRUB Ubuntu tersebut di partisi / Ubuntu, yaitu di /dev/hda2. Instalasi Distro Ketiga Sama dengan langkah instalasi distro yang kedua, sebagian susunan partisi telah digunakan untuk distro yang pertama dan kedua. Untuk distro Slackware, lakukan mount dan format hanya untuk /dev/hda3 sebagai partisi / dan /dev/hda6 sebagai partisi swap. Partisi untuk sharing dapat dilakukan secara manual. Sebagai boot loader, secara default Slackware menggunakan LILO. Penulis lebih memilih untuk menggunakan GRUB, karena itu lakukan instalasi LILO di partisi / Slackware, dalam hal ini adalah Idev/hda3. Konfigurasi Akhir Beberapa konfigurasi akhir harus dilakukan agar nantinya pada menu GRUB akan muncul ketiga distro yang digunakan. Mula-mula bootinglah ke distro Fedora Core. Biasanya akan segera timbul masalah, yaitu partisi swap yang tidak ditemukan oleh Fedora Core. Hal itu terjadi karena Fedora Core menggunakan nama label dalam merujuk ke partisi swap, bukan posisi partisinya. Untuk mengatasinya, ada dua solusi yang ditawarkan, yaitu memberi kembali nama label pada partisi swap, atau menyunting file /etc/fstab Fedora Core agar merujuk partisi swap pada posisi partisinya, bukan nama swapnya. Entri pada file /etdfstab yang merujuk pada partisi swap adalah: LABEL = SWAP-hda6 swap swap defaults 0 0 Dari entri tersebut terlihat bahwa nama label untuk partisi swap adalah SWAP-hda6. Anda bisa memberi label pada partisi swap dengan perintah berikut: # mkswap -L SWAP-hda6 /dev/hda6 Cara yang kedua adalah dengan menyunting file /etd fstab tersebut sehingga partisi swap dirujuk berdasar posisi partisinya, bukan nama labelnya: /dev/hda6 swap swap defaults 0 0 Nah, masalah pertama telah terselesaikan. Sekarang Anda harus menambah entri pada GRUB agar nantinya muncul item untuk booting ke Ubuntu dan Slackware. Untuk melakukan hal tersebut, Anda harus "mengintip" isi konfigurasi GRUB dan LILO milik Ubuntu dan Slackware. Tentunya partisi / Ubuntu dan partisi / Slackware harus dimount terlebih dahulu. Ketikkan perintah berikut (Anda bisa mengetikkan perintah ini secara cepat dalam satu baris): # cd /mnt; mkdir ubuntu; mkdir slackware; mount -t ext3 /dev/hda 2/mnt/ubuntu; mount -t ext3; /dev/hda3 /mnt/slackware Lalu, bukalah file /boot/grub/grub.conf yang terdapat di Fedora Core. Agar aman, backup file tersebut terlebih dahulu. Isi file /boot/grub/grub.conf tersebut kira-kira sebagai berikut: default = 0 timeout = 5 splashimage=(hd0,0)/grub/splash.xpm.gz # hiddenmenu title Fedora Core (kernel 2.6.17-1.2157_FC5) root (hd0,0) kernel /vmlinuz-2.6.17-1.2157_FC5 ro root= LABEL=/1 rhgb quiet initrd/initrd-2.6.17-1.2157 FC5.img Kemudian buka file menu.lst milik Ubuntu yang terdapat di /mnt/ubuntu/boot/grub/menu.lst. Entri yang menunjukkan informasi booting ke Ubuntu adalah: title Ubuntu, kernel 2.6.15-23-386 root (hd0,1) kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb5 ro quiet splash initrd /boot/initrd.img-2.6.15-23-386 Setelah itu, salinlah entri tersebut ke file /boot/grub/grub. conf, dan letakkan di bawah entri Fedora Core. Terakhir, buka file lilo.conf milik Slackware yang terdapat di /mnt/slackware/etc/lilo.conf. Entri yang menunjukkan informasi booting ke Slackware adalah: boot = /dev/hda3 prompt timeout = 50 vga = 773 image = /boot/vmlinuz root = /dev/hda3 label = slackware read-only Catatan: Informasi tersebut telah disunting dengan tidak menampilkan bagian yang diberi tanda #. Karena entri pada lilo.conf tidak sama dengan entri pada grub.conf, Anda harus membuat entri sendiri pada file /boot/grub/grub.conf dengan nilai-nilai yang disesuaikan dengan entri pada lilo.conf tersebut. Entri tersebut sebagai berikut: title Slackware root (hd0,2) kernel /boot/vmlinuz root=/dev/hda3 vga=773 Letakkan entri tersebut di bawah entri Fedora Core dan Ubuntu, kemudian simpan file /boot/grub/grub.conf tersebut, dan reboot komputer Anda. Sekarang pada menu GRUB telah muncul tiga entri, yaitu Fedora Core, Ubuntu, Ban Slackware. Sebagai langkah konfigurasi terakhir, pada Ubuntu dan Slackware buatlah direktori /sharing, dan sunting file /etd fstab dengan menambahkan item berikut: /dev/hda5 /sharing ext3 defaults 0 0 Sekarang, partisi /dev/hda5 bisa digunakan oleh ketiga distro tersebut sehingga bisa difungsikan sebagai media untuk tukar-menukar data. Secara garis besar cara instalasi dan konfigurasi di atas dapat digunakan sebagai panduan untuk kombinasi distro yang berbeda.