Monday 16 December 2013

Mount shared folder to Ubuntu in VirtualBox


We cannot use the /media/sf_Dropbox as a mount point because of permission. Create new folder as <~/Dropbox> and mount shared folder for VirtualBox by

>>sudo mount -t vboxsf <Dropbox> <~/Dropbox>

The mount above performs by root so normal user cannot write on the folder. We can define user and group of normal user by specify uid and gid as shown below

>>sudo mount -t vboxsf -o rw,uid=1000,gid=1000  <Dropbox> <~/Dropbox>

And you can unmount by

>>sudo umount -a -t vboxsf

Tuesday 3 December 2013

Install Qt on Ubuntu 64 bit

I just got Lenovo L330 with Windows 8. I got a secured boot lock problem that made installing Ubuntu along with Windows 8. The secure boot lock must be disabled, for more detail please go to here.

Well, this note is about preparing Qt framework in Ubuntu 64 bit. I downloaded Qt online installer for Linux 64bit. It took about 30 minutes and installed with a warning message "This should not happen". I really don't know what does the message means. The installation finished and it looks OK.


3/12/13 10:40pm
Then I'm installing the g++ compiler by 
>>sudo apt-get install build-essential

Next the cmake, I found cmake in Synaptic Package Manager, installing  with 3 clicks. I also need OpenCV 2.3, another 3 clicks. The size of all OpenCV packages is quite large, so please be patient, it took me  20 minutes.

We just finished installed all package required for the project.