↓ Skip to main content

Virtualbox

How to access shared folder in Linux guest in VirtualBox

·134 words·1 min
Make sure the VBOx extensions are installed. Go here for details: Add share # In VirtualBox, Device add transient shared folder: This one has made available path /Users/Shared/ATG-11 under the name ATG-11 Mount it # sudo mount -t vboxsf ATG-11 /media $ ll /media/Unix/ total 19M drwxr-xr-x. 1 root 408 Sep 12 16:02 ATG11-1 drwxr-xr-x. 1 root 272 Sep 12 16:02 ATG11-docs -rw-rw-r--. 1 root 675 May 13 23:46 atg-platform-mac.userlibraries -rw-rw-r--. 1 root 787 May 13 23:17 atg-platform-vm.userlibraries -rwxr--r--. 1 root 19M Feb 15 2013 jrebel-5.1.3-nosetup.zip -rw-r--r--. 1 root 1020 May 15 15:36 jrebel.lic -rw-r--r--. 1 root 582 May 15 14:58 rebel.xml drwxr-xr-x. 1 root 272 Apr 6 01:33 security drwxr-xr-x. 1 root 306 Jun 9 22:34 servers -rwxr--r--. 1 root 349 Dec 17 2013 users.txt drwxr-xr-x. 1 root 340 Sep 3 16:10 xrebel

Installation of sshfs in the new VM

·82 words·1 min
Installation of sshfs in the new VM # On Centos 6, the fuse-sshfs is not part of default YUM repos. Get the ’epel’ repos # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm Validate $ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/remi.repo It if good idea to enable the remi by default

How to make screenshot from command line

·58 words·1 min
How to make screenshot from command line # platform-edc $ screencapture -i ~/Desktop/$(date +%Y%m%d%H%M%S).png libpng warning: zero length keyword libpng warning: Empty language field in iTXt chunk platform-edc $ screencapture ~/Desktop/A$(date +%Y%m%d%H%M%S).png libpng warning: zero length keyword libpng warning: Empty language field in iTXt chunk First one is “interactive” - Cmd-Shift-3 with selection tool, second is full screen

Case sensitivity and VirtualBox shared folder

·102 words·1 min
Case sensitivity and VirtualBox shared folder # Weird but true behaviour: I have the case sensitive encrypted disk (sparse bundle with HFSX type) mounted in VBox shared folders. All works fine, after VM starts: touch zz zZ creates two files, both “inside VM” ~/development/ATG/platform-edc as well as in OS-X. If the VM is suspended and resumed, it looses the case sensitivity inside the VM.

Usable mc color scheme

·10 words·1 min
Usable mc color scheme # Edit ~/.mc/ini insert [Colors] base_color=lightgray,blue:normal=blue,default:selected=white,brightblue:marked=yellow,default:markselect=yellow,gray:directory=brightblue,default:executable=brightgreen,default:link=cyan,default:device=brightmagenta,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=white,gray:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=green,gray:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=gray,blue:stalelink=red,default

ATG Development using 'hidden' VM

·699 words·4 mins
Brief description of my latest setup I use for CPL and LCH - in case I forget it or somebody wants to replicate it. Inspiration for the setup came from https://www.youtube.com/watch?feature=player_embedded&v=cPt_1Vga-Nk Motivation - issues with VMs # VMs are great - they allow “packaged” dev environment and quick start for the new member of the team. Start a VM on local or remote host, connect with VNC or Remote Desktop and you are in business.