Tampilkan postingan dengan label Linux Drive. Tampilkan semua postingan
Tampilkan postingan dengan label Linux Drive. Tampilkan semua postingan

9
Install Ubuntu didalam Windows Melalui Wubi

Wubi adalah aplikasi didalam os ubuntu untuk menginstall Ubuntu didalam sistem operasi windows. Umumnya jika kita masukkan CD Installer Ubuntu kedalam Sistem operasi Windows yang aktif akan muncul secara otomatis/autorun.

Wubi juga mempermudah kita menginstal ke file di Windows tanpa melakukan booting untuk mempartisi linux. Pada saat instalasi ubuntu, Wubi dapat menggunakan file .iso dari Ubuntu Alternate CD, jadi tidak harus mengunduh dari internet. Jika Anda punya Alternate CD, Anda dapat mengubahnya menjadi file .iso, lalu menginstal ubuntu melalui Wubi dengan meletakkan file .iso itu di folder yang sama dengan file Wubi.exe. Jika tidak ada file .iso, maka Wubi akan mengunduh melalui internet.


Berikut langkah–langkah penginstallan Ubuntu menggunakan aplikasi Wubi langsung pada os windows:

Masukkan CD ubuntu Anda, secara otomatis akan diminta untuk memilih apakah anda ingin menginstall secara penuh atau menginstall di dalam Windows yang Anda gunakan saat ini pilih Option Install dalam Windows. Pilih "Install Inside Windows"


Kemudian Anda akan diminta untuk memilih partisi dimana anda akan menginstall Linux Ubuntu tersebut,memilih ukuran installasi, bahasa, nama pengguna dan password yang diinginkan. Setelah selesai mengisi klik pasang.


Installasi akan mengekstrak file dari CD ke folder partisi yang telah Anda pilih.Apabila installasi berjalan lancar Anda akan diminta untuk merestart komputer.Restart Komputer Anda dan pilih booting ke Ubuntu, setelah itu komputer akan melanjutkan installasinya seperti gambah di bawah ini.


Setelah Proses Instalasi diatas selesai, maka komputer akan diminta untuk restart kembali dan installasi ubuntu Anda telah selesai. Nah gampangkan..., tanpa susah payah anda sudah punya 2 os windows dan Ubuntu.

Semoga berhasil...!!!

1
Building a Linux home media center

Like a lot of people nowadays, I have a growing collection of digital media. My digital media is stored on a home Linux server. Most of the digital media players available today do not support protocols to connect to a Linux server, which make them unsuitable for my use. I realized the best way to connect my digital media library with my home theatre was to build my own Linux home media center (LHMC).



My LHMC would have to interface with my existing home configuration via a wireless network with WPA security enabled and output to my television's S-Video or composite inputs, and it would have to connect to my media server via NFS.

For my LHMC hardware I choose the MSI MEGA 180. One of its main attractions was that it is based on a Linux-supported Nvidia chipset and video card. The video card in this model has S-Video and composite outputs. The box has frontal USB and a built-in 6-in-1 media card reader. The MEGA 180 comes as a barebones product. I purchased one in an online auction with an AMD Athlon 2400+ processor, 60GB hard drive, and DVD player for about $350.

I choose to install Ubuntu Linux on the LHMC because, thanks to its Debian roots, Ubuntu is easy to update and manage, and has a wide range of software available. The low maintenance overhead it provides makes the LHMC behave as reliably as an embedded system. And the Ubuntu community offers many solutions and guides in its wiki and forums.

The Ubuntu installation detected all of the MEGA's hardware correctly. The only thing that was configured incorrectly after the installation was the default screen resolution. To configure the video, Ubuntu needed to be configured to get sources from the universe and multiverse repositories. This allowed for the installation of the binary Nvidia drivers. X.org needed to be set up to output through S-Video so it could display to my television. This process is well documented on Ubuntu's wiki. The Nvidia driver is also able to output in multiple HD standards.

Configuration of the wireless card was not as simple. The wireless card that comes with the MEGA 180 is an Ralink RT2460. Ralink makes some of the most open source-friendly wireless chipsets in existence, yet the rt2400 driver doesn't support WPA. I worked around this by using the ndiswrapper driver, which can support WPA though wpa_supplicant. I configured ndiswrapper with the Windows version of the Ralink drivers. To prevent the rt2400 driver from loading at startup and conflicting with the ndiswrapper kernel module, I created a file named wlan under /etc/modutils and entered the line alias rt2400 ndiswrapper.

The configuration of WPA is well laid out in an Ubuntu howto. Because I was using ndiswrapper, the interface name of the card was wlan0. wpa_supplicant must be configured to use the ndiswrapper driver, so the /etc/default/wpasupplicant file needed to have OPTIONS set like this:
OPTIONS="-i wlan0 -D ndiswrapper -c /etc/wpa_supplicant.conf"

With hardware setup nearly complete, one thing still bugged me. The MEGA's LED display shows the hardware clock's time, but Ubuntu defaults the hardware clock to UTC, so the MEGA's clock was always off by the difference between my local timezone and UTC. By grepping though the etc directory for the string "UTC," I discovered that the configuration option was in the file /etc/default/rcS. Changing the line UTC=yes to UTC=no resolved the issue.

All of my digital media is stored on an NFS share. To enable NFS mounting in Ubuntu, I installed the portmap package. I added the line mediaserver.example.com:/home/media /home/media noatime,rsize=32768,wsize=32768,bg 0 0 to /etc/fstab so that the media library would be mounted to /home/media at system startup.

Now that the LHMC had access to the media library, it was time to install the packages to enable playback of media: Rhythmbox for audio and Totem for video.

To configure Totem to play video, I installed the totem-xine package. The default backend, GStreamer, is automatically removed when you install the totem-xine package.

Audio playback was next. My Ogg music files played out of the box. The key to getting MP3 playback to work was installing libmad. I installed both libmad0 and gstreamer0.8-mad, and was able to play MP3 files. To fill any gaps that might come up, I also installed the gstreamer0.8-plugins-multiverse package, which includes all of the GStreamer plugins.

The LHMC has been rock solid since I set it up. It has handled all of the tasks that I planned to use it for and then some. The wow factor that I get when people visit is nice too.

Source: Linux.com

2
Install Chrome di Ubuntu

Install Chrome di Ubuntu

Simple aja, pertama add GPG keynya

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5

kemudaian sudo apt-get update

setelah update selesai install google chromenya

sudo apt-get install chromium-browser

untuk menjalankan aplikasnya

Applications --> Internet --> Chorium Web Browser

cara lain untuk install google chrome dengan mendownload file .deb

1. wget http://media.codeweavers.com/pub/crossover/chromium/cxchromium_0.9.0-1_i386.deb

2. sudo dpkg -i cxchromium_0.9.0-1_i386.deb

2
Format Drive in Linux

.
Tutorial:
Step 1
When you format a computer hard drive, you will lose everything that is on the drive. Therefore it is very important to back up anything you might later want.
Step 2
In order to format a secondary drive you will need root access. All commands used in this tutorial are run from a command line (terminal) as root. You may also want to make note of the size (total capacity in MB) of the drive.
Step 3
Linux refers to hard drives as either “hdx” or “sdx” where x is a letter, starting with a, which represents the order in which the drive was added to or detected by the computer. The “hd” prefix is used for IDE and PATA (formerly just ATA), and the “sd” prefix is used for SCSI, SATA, and USB drives. Usually a number is also put at the end of “hdx” or “sdx” to denote different partitions on the same phisical drive, but for the purpose of formatting you only need to know which letter the drive you want to format is.
Step 4
The examples given in this how-to are for a computer with two IDE hard drives attached as a master and slave. In this, the drives are “hda” and “hdb.” You will need to determine the letter of drive you want to format for your own setup. We will be formatting the drive hdb. For all examples, replace “hdb” with whatever your drive designation is.
Step 5
You can see all the drives attached to you system by typing the command “ls /dev/hd*” or “ls /dev/sd*” depending on which type (IDE, SATA, etc.) the drives are. On the example system the result of this command looks like “/dev/hda /dev/hda1 /dev/hda2 /dev/hdb /dev/hdb1″ The operating system is installed on hda, which has two partitions (hda1 and hda2), and there is one partition on hdb and hdb1.
Using fdisk

Step 1
First you will use the fdisk command to erase any old partitions on the drive and create a new one. Any changes you make using fdisk are only made permanent if you then issue the “w” command before quitting, so feel free to play around a little if you like. If at any time you find yourself stuck, you can quit the program without saving changes by holding the “Ctrl” key and pressing “c.”
Step 2
At the command prompt, type “fdisk /dev/hdb” replacing the “hdb” with the letters for your drive. Upon opening, fdisk may give you a couple of warnings, all of which can be ignored. It then gives you a prompt that looks like this: Command (m for help):
Step 3
Enter “p” to see the partition table of the drive. The first line of output from the “p” command will also tell you size of the drive. This is a good way to double check that you are working with the correct drive.
Step 4
If there are any partitions already on the drive they will be listed as the last lines of the “p” command. On our example, this looks like “/dev/hdb1″ followed by some information about the partition’s size and file system.
Step 5
To delete any existing partitions, press “d” then enter. It will ask you which partition number you wish to delete. The number of the partition is the number that follows hdb, so on our example system we enter 1. If there are multiple partitions repeat the “d” command for each one. You can always view the partition table again with the “p” command.
Step 6
Once you have deleted all existing partitions on the drive you are ready to make a new one. Type “n” and hit enter. Then press “p” to create a primary partition. It asks you for a partition number, enter “1.” Now you are asked which cylinder the partition should start at, the beginning of the drive is the default, so just hit Enter. Then you are asked for the last cylinder, the end of the drive is default so you can just press Enter again.
Step 7
Now you are back at fdisk’s command prompt. Use the “p” command to check the partition table. You should now see your new partition at the bottom of the output. In the example it lists “/dev/hdb1.”
Step 8
You now need to set the filesystem type for your new partition with the “t” command. You are asked for the Hex code of the filesystem you wish to use. We wll use the standard Linux ext2 filesystem which is “83.” If you are doing something special and know of a particular filesystem that you need to use, you can press “L” to see all the codes, which are one or two characters made up of the numbers 0-9 and the letters a-f.
Step 9
Now just issue the “w” command to write your new partition table and exit fdisk.
Creating the New File System with mkfs

Step 1
Now you need to create the filesystem on the drive. This is done with the “mkfs” command.
Step 2
At the command prompt, enter “mkfs -t ext2 /dev/hdb1″ while remembering to change the hdb1 to whatever the letters are for the partition you just created.
Step 3
If you are using a different filesystem than ext2, you will have to specify that where “ext2″ is in the above command.
Finalizing the Format with fsck

Step 1
All that is left is to run a check on the drive and enter it into your fstab so that the drive mounts each time you start your computer. This can be done with a single fsck command.
Step 2
At the command prompt, type “fsck -f -y /dev/hdb1″ again replacing hdb1 with the letters and number for your partition.
Step 3
After fsck runs, your new drive is formatted. Restart your system before using it.
Step 4
If you reformatted your system drive, you will now need to boot off an installation disk to install an Operating system.

Source: Go-Hacking


Bookmark and Share


 
Ujie Caprone | © 2011 Blogger Template by Ujiecaprone.com