2 Şubat 2011 Çarşamba

Checking out a project

Suppose your path of the directory is as follows:

http://10.23.98.12:8080/svn/project1

To check out a file simply writedown the code below:

svn checkout http://10.23.98.12:8080/svn/project1

The project will be checked out into your computer.

15 Ocak 2011 Cumartesi

Virtual Box shared folders

Here is the steps to share a folder in VirtualBox when windows is your host operating system and ubuntu is your guest operating system.

1) For your guest, you have to install the virtual box guest additions.

Download the virtual box guest additions from the website below:

http://download.virtualbox.org/virtualbox/4.0.0/

choose  the  VBoxGuestAdditions_4.0.0.iso package and download it.You are downloading a .iso file. Therefore after you download you have to extract the including files into a folder. Enter to this folder,
and write the command below, in the terminal:

sudo sh ./VBoxLinuxAdditions-x86.run

The guest additions will be installed and then you will be asked to restart the computer.


For downloading the virtual box guest additions you can find additional information in the following website:

http://www.dedoimedo.com/computers/virtualbox-guest-addons.html

2) Define a folder name in the vitual box. Go to your host machine and then from

Devices -> Shared Folders

define a new shared folder. Define its location in your host and the name of the folder.

3) Finally, you have to mount this newly defined folder in host to a folder in your guest machine.

Enter the command below:

mount -t vboxsf work /mnt/yeter/


This command means that the folder that you defined in your host wachine, whose name is "work", will be mapped to a folder in your guest machine /mnt/yeter.


POSSIBLE ERRORS YOU CAN FACE WHEN YOU ARE FOLLOWING THIS PROCEDURE:

1) /sbin/mount.vboxsf: mounting failed with the error: Invalid argument

To solve this problem, please rename the shared folder in your host computer. For this case it is windows. Therefore, open Devices->shared folder and rename the folder and then give the command:

mount -t vboxsf calisma /mnt/shares/

7 Ocak 2011 Cuma

"less"

If you are using linux from command line and you want to look at what your current folder includes. You type the command below:

ls

and press enter. If there is so much file or folder in this current folder and if you strall around in the folder you should enter the command below:

ls | less

and press enter. This will allow you to strall around the folder.

In the "less" mode you can search by with "/".
For example, you want to search for the word "apple" in your current folder, type what is written below:

/apple

and press enter. The words which includes "apple" will be highlighted.

<space> means "page down"
<q> will quit