I got distracted and was pointed at Kitematic, but it’s Mac only and so I moved on to Panamax. I am not sure this is for me, but we’ll see and I am still not clear that the answer isn’t shipyard. Continue reading “Managing Docker with Panamax & Vagrant”
My original article in 2015 pointed at the fanclub’s grive, this ceased to work on my elementary build and so with some googling I found this page
and installed grive 2, looks like it needs rc files
It seems that googledrive integration with Linux is going to be weak for some reason, it can’t be because it’s hard given the Linux expertise that exists in the company and they seem not to be implementing WEBDAV. This is a bit of a pain as I’d love to use the default file managers on my Linux builds. However, google publish a developer API and Nautilus is open source. It could be done. Continue reading “Gdrive & Linux”
get the .iso from here
don’t make a mistake in creating the Vbox image, it needs a bridged network adapter
I need another Red Hat look alike and chose Fedora. My target is Virtual Box on Windows 8.1.
- Install from Live CD, reboot
- yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
- yum update
- install guest additions, if that fails
set & export KERN_DIR, for Fedora it’ll be in /usr/src/kernel, check that the source agrees with the running kernel version using
uname -aand run it from the command line
I found this page at forums.virtual.box and this page at ‘if not true then false’, which talks about what to do in the case that the Kernel Source can’t be found. (see the comments about the KERN_DIR environment variable above).
Ubuntu now offers the Virtual Guest additions as a package, and page at the fedora project the fedora project suggests that this is available for Fedora, even if one has to add the rpmfusion repo to the sources.list. Managing Yum Repositories from the Sysadmin documentation describes how to add and enable repos to Fedora.
I downloaded this from
The comments on downloading and installing packages to allow Virtual Box Guest Additions on my Centos 5.3 pages seem to still apply. You need a bunch of non-standard packages and to set a variable to point at the Kernel Source.
This page has been live for a long time. Sun Microsystems bought Innotek the authors of Virtual Box, an opensource virtualisation product in 2008. It permits Windows/Linux/Solaris guests on the same operating system. I probably started this page slightly later, my first oracle blog on it was dated May 2008. It mainly describes any guest installation tricks.
The shred folder manager script needs to be uploaded to git, just in time to be replaced by launchd.
Continue reading “Virtual Box”
I have been experimenting with an OpenSUSE Linux VM running in Virtual Box.
This is new to me, and I actually had some problems in making an 11.4 image, and compiling the shared folders helper for 11.3.
I have found these links as part of my work.
- How To Install Software From the Command Line in SUSE (Like APT in Debian)
- openSUSE:Build Service Tutorial
- man zypper
I need to document the Guest Additions problem and the 11.4 install problem, which I document on the forums in this thread.
opensolaris, virtualbox, GNOME & RAM 20 Nov 2009
Having been inspired at the Open Solaris usergroup in London on Wednesday, I installed an Open Solaris Virtual Box VM on my works laptop. I came across the guest additions bug in VB 3.0.10 and so upgraded to VB3.0.12 and chose the defaults for the VM. This includes setting the RAM at 768 Mb. (I think it checks how much RAM the host has and makes a recommendation based on that, I am running Windows Business 32 bit and can ‘see’ 3.45 Gb of RAM. ) Anyhow, it seems if the VM has under 1024 Mb of RAM the window manager won’t start. Simple enough to solve. See this thread at http://forums.virtualbox.org
I want to write bash scripts to be emulated using cygwin. This has a problem in that XP uses spaces in its file folder hierarchies and the environment variable initialisation process isn’t good enough. This is actually a snip on writing shell script using cygwin. The virtual boix commands are just the use case which led to me doing the research. Continue reading “Shell Scripting on Windows”
At some point Virtual Box came with RDP as part of the set up and its allegedly faster than VNC. I want to connect my ipodtouch to my PC’s using Mocha’s RDP Lite.
I have a windows 7 beta VM. (See my Sun blog.) Initially I couldn’t connect using Ipod or the Alienware.
I am now connected using the Alienware and the Microsoft client. The Host is XP Home Edition, SP/3 with a W7 VM hosted in VB 2.2.4, networking = bridged, port = !3389, with the NULL authentication libraries. NB the port is not available on the internet. It does not work with external authentication, and the manual suggests that guest is experimental.
Perry says I need to have the VRDPAuth.dll library in a folder that is pointed to by the %PATH variable. This page at computerhope.com explains how to do it.
I don’t know if port 3389 will work or not because of the order of the testing, but the Mochasoft Client is still not working. They have a FAQ. I can’t get it to work on the EDGE either. Mochasoft suggest an incompatibility or a firewall as the problem. So
- fix the authentication problems and turn it on
- sort out the mochasoft problems
What didn’t work!
I had assumed that the initial failures were due to the failure to present the RDP port to the LAN and I tried to map the VM port to the real port. My VM was a NAT machine. I wrote about port mapping on my blog when I exposed apache to my network. I need to port the script, maybe now is the time to wrap it in TCL. The Virtual Box 2.1.4 manual discusses port forwarding in Section 6.1.4. This fails. The W7 image fails to boot; using [gs]etextradata to map port 3389 from the guest to the host causes the VM to fail to boot. I have amended the VM config to chnage the port as suggested by this thread at http://forums.virtualbox.org and this blog at http://www.ubuntugeek.com. I still get “your remote session has ended”. PerryG says you must use bridged networking.
N.B. The Virtual Box manual is the first port of call. Otherwise these might be usefull.
- Remote Desktop Connection Software Download at microsoft.com >> Windows XP. This page details how to install RDP onto a Home Edition XP build.
- Get started using Remote Desktop with Windows XP Professional at microsoft.com >> Windows XP. This page makes it clear that RDP doesn’t come with my version of XP.
- Frequently Asked Questions About Remote Desktop at microsoft.com >> Windows XP
I installed this on the Mac. I also have Centos 5.9 on the HP Probook.
Installing in Virtual Box
Remember to use the DVD copy, not Live CD
My first copy on the Mac has Desktop Gnome, Server & Server GUI packages installed. This might not be what I need.
I need to configure the admin user to be a sudoer. See Centos 4.7. In order to remake the kernel, on the Mac, or with 5.3 you need to force the shell interpreter i.e. sh ./VBLinuxAdditions-x86.run.
There is/was a kernel version mismatch; probably caused by the age of my .ISO image. I used the following commands.
# yum install binutils gcc make patch libgomp glibc-headers glibc-devel # yum install kernel-headers kernel-devel # yum install kernel*
The advice was to install the first two lines, but it still didn’t work and so I ran the last line. Not sure what was used and what wasn’t.
I ran the Guest Editions (VB 3.1.6) install script on Centos 5.4 today. I used all the yum commands above and still got a failure to compile the guest additons module. I checked the log which stated it couldn’t find the kernel source, and recommended setting KERN_DIR, so,
export KERN_DIR=/usr/src/kernel/2.6.18-164.15.1.el5-i686/ sh ./VBoxLinuxAdditions-x86.run
which works I suggest you use bash’s autocomplete to do this, and I assume your current directory is /media/VBOXADDITIONS_*. This is also documented on the Virtual Box forum thread,Installing Guest Additions into CentOS/RHEL 5.4 27 April 2010
- How to install Guest Additions… at http://forums.virtualbox.org
- Problem Installing GuestAddition for CentOS also at http://forums.virtualbox.org. This contains the advice on the rpms required.
- man yum at http://linux.die.net, which should be useful when installing the other packages I need.
I am having problems with full screen mode. It installs with only 800×600 & 640×480. I have used Adminstration -> Display to change the Display device but at the moment, it’ll only support an 1152×864, despite using system-config-display to define a screen of 1440×900, which I though was the Mac Screen size. Shit! See http://www.virtualbox.org/ticket/4830. Why is this pile of shit so popular? (I mean Centos not VB, of which I am still a fan.)The keyboard isn’t right either. See also this thread at the VB forums. Lets see if that’s fatal.
I need planet on this distro, so I need Bazaar. Not supported by the standard repositories, so http://bazar-vc.org/Downloads has Centos advice. The repository rpm advised there doesn’t work for me so I used,
This site is advised at rpm.pbone.net’s EPEL release page.
yum install bzr
this works, AFIAK, I have downloaded planet venus using bzr.
I decided to install Redland RDF first. i.e before testing planet. You would think I have the choice of,
- installing from source
- installing the RPM
- installing a remote REPO based on the librdf.org directory and use yum?
- installing a local REPO and rsync it using the librdf.org directory and use yum.
I decided to try and create a local mirror for the rpms with a local repository. I have written up how to make a local repository on my making a yum repo page. It has some links to pages that helped/inspired me.However I am stuck at the moment and plan to install from the librdf.org source rpms. I will need the following resources,
In the SetupRpmBuildEnvironment page, above, there are instructions to set up a .rpmmacros file. The required syntax is
I am pretty clear that the syntax requires the variables to be expanded. The centos page recommends an echo > but I couldn’t get their syntax to work. I was helped by this script from http://www.oldrpm.orgI wrote a script that downloaded the sources from librdf.org.
I used rpmbuild –rebuild to create the RPMs then used sudo yum install to discover the missing dependencies and install them, one at a time. This worked fine until I tried to rebuild the bindings. The rebuild fails with the following errors.
Installed (but unpackaged) file(s) found /usr/lib/python2.4/site-packages/RDF.pyc /usr/lib/python2.4/site-pacages/RDF.pyo
I have found the Koders search for RDF.py, and google points me at the SPEC file in the rpmbuild tree. The %files section on redland-python has lines referenceing RDF.py and Redland.so. locate can’t find these, and its getting a bit beyond me. http://python.org has an SPRM for python-rdflib, but this won’t rebuild because of an error in setup.py.
Notes as to how I got here follow.
The binary packages are hosted at http://librdf.org/. They have a redhat downloads directory which is based on Fedora Release Versions. Using rpmfind, [rpmfind results html] suggests, Redland 1.0.7 i686 html, with this ftp .rpm download.
I used wget to download the .rpms from http://download.librdf.org/binaries/redhat/fc7/, which may be my mistake. Is fc7 == Centos 5.3? It seems that CENTOS 5.3 is RHEL 5.3 which is based on Fedora Core 6.
So just had another go, Dave Beckett suggests I source the rpms from koji.fedoraproject.org. I am still guessing as to which vesion of the package is required, but I found that the Centos 5.3 distro has rasqal in its repo, so when installing it, from a koji .rpm, it installs from the Centos repo and installs its dependent raptor package. This now leaves just the redland library itself. The versions I have tried all require to modern a version of libdb, libpq and libcurl. I am now trying to get old versions of librdf. Back to librdf.org and ./fc6.
This also works without the repos.d/*.repo file. I used redland-1.0.6. It seems the rpm is in the distro.
In order to make apropos work, one must run makewhatis with root privilidge.
See also http://superuser.com/questions/346703/linux-apropos-command-always-returns-nothing-appropriate
Sudo holds its permissions in sudoers file. Centos uses the wheel group to aquire permissions. i.e. the chief user needs to be members of the wheel group.