a Dreamer

dreams out loud

Virtual Box Guest Addition : Accessing file in host os (windows) from guest os (ubuntu)

As you read the title, you know that for this time i will write about how to access files from a host operating system from a guest operating system in virtual box. in this care, i use Microsoft windows XP service pack 3 as host os and ubuntu 9.04 as guest addition.

before we start to read up this tutorial, we must have known and have installed virtual box guest Addition in our guest os. if you have not known how to install it yet, please read this article :  http://www.sentra-ilmu.co.cc/2010/10/mengistall-virtualbox-guest-addition-di.html

lets begin this section

the first thing we should do is run our ubuntu in virtual box

in menubar of ubuntu window, just click "device" and choose "share folder"
   
a window will appear and you can click on the button to add new share folder, type the path and the name of the folder you want to share.

for example, i want  to share a folder in drive D:/share and i type its name share.

notes

before you type the path and the name, you should already change the property of the folder in host os

if you 've done, the next step is run your terminal and create a folder in home

      Mkdir /home/share

    then, we must connect our share folder in host os to our folder in home, type these command on terminal

     Mount –t vboxsf sharename mountpoint

     in my case i type :

     Mount -t vboxsf share /home/share

    well done so far!  now take a look to our share folder in home, its content will be same with our share folder in our host os.
wish you luck!!

Installing Virtual Box Geust Addition in Ubuntu

as a new bie in open source, exploring some  open source operating system using virtual machine seems more interesting for safety. Safe from destructive to your Windows system for unintended mistake, also to keep your data save. well that my reason exploring ubuntu in virtual machine. but when i write this article, i used ubuntu 9.04 full installed in my hardisk :D

first i explored ubuntu in virtual mechine, well i used virtual box. i got a problem. its hard to access my file in host os from my guest os. and i start to hunt how to access host file and finally i got it, and now i want to share it to you.

     ithe key is VIRTUALBOX GUEST ADDITION. we need to install vitual box guest addition in our guest os to access our files in host os. if you are using ubuntu or other linux distro as guest addition you should download virtual box guest addition for linux firt. you can download it here

when you finished downloadit, run your ubuntu in virtual box, and and on the menu bar of ubuntu window, click "device" and choose install guest addition. it will make your vbox guest adition image file as default cd/dvd in your ubuntu os.

then go to terminal and enter directory where the installer in. absolutely in cd/dvd. you can type

cd /media/cdrom

run the suitable installer to your guest os. type these command

./VBoxLinuxAdditions-x86.run //standard linux

./VBoxLinuxAddition-amd64.run // 64 bit

then restart you guest os or your ubuntu

good luck!!

Installing Xampp in Ubuntu

      Linux is not a new stuff on Computer. it is a free and open source operating system, and a lot of people use this OS for many kinds of reason. Some said that Linux OS is more secure from virus attack, compare from other OS such as Windows. some other said that because it is free, it has public license.

      I also has migrate my PC to ubuntu 9.04, and as a IT student, i might have to develop many application. as a new bie, i need a lot of tutorial and try more and more. for this time, i would like to develop a website on ubuntu, and we have to prepare its server or localhost. and i would love to tell you how to install xampp, a server for linux.

      Xampp is an application contain some application package that programmer need to build a local server, known as localhost. Xampp contained apache, PHP, Pearl, MySQL and PHPMYADMIN for MySQL interface. its all you need to built a server scripting site using PHP.

      First thing we need to do is download the newest version of xampp for linux. most known as Lampp. this is the link where you can download it

    
You also can directly download it from your terminal by typing these command :

wget htt://wwwapachefriends.org/download.php?xampp-linux
 
     sudo tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt     when the process ends successfully,  you can run the lampp by typing the commannd below.

sudo /opt/lampp/lampp start

apache, MySQL and other application will running as in windows, and we can access our localhost thorugh browser

      sometimes, you ll fin that the file extraction will not success. and you can not  start the lamp and access your localhost, i suggest you to unistall it first and you can install id for more. this is the command for uninstalling Lampp

      Perintah untuk unistall xampp di linux :
Sudo rm -rf /opt/lampp
 Go open source!



    Follower