This is quite different, in particular the System V init files don’t work any more and so I need to implement a systemd solution to mount the virtual box shared folders. I think these need to run after the vboxaddclient service. Some documentation suggests that LSB compliant scripts will work. I am about to stop and give it a rest; I am definitely of the view that this was a problem not worth solving. Continue reading “Fedora 24”→
I bought a Raspberry Pi to act as a Media Server in the home. I bought a PI, case, SD card and power source. As ever here are my notes. Currently, getting started (or 1st boot), 1st customisations, and early days with the media browsers and XBMC/Kodi. I have BBC, ITV and YouTube working, Channel 4 is going to be very hard and so is Sky, since among other things since Silverlight is deprecated. I have given up, and bought a Roku stick. In addition to the challenges of getting all the channels I want, even v3 of the Pi struggles with iplayer HD; it might be the CPU, it might be the BT broadband plus speed but it’s too hard. I shall reconstruct the page and use comments, as one of the purposes of making a notes page was collecting the various web pages that helped me get to wherever I got. Continue reading “Raspberry Pi”→
Been trying to get my latest Linux Laptop to behave nicely while on battery. It’s an Elementary Luna build. I came to the conclusion that there’s not much that can be done; it’s one of those things we leave to the OS authors, in this case Canonical. Continue reading “Linux Power Management”→
While installing docker, I decided I needed to write some notifications to ensure the configuration works. See Docker. I started with a TCL/TK script, which these days looks a bit old school, and writing the packer was (& remains) difficult. Virtualbox reports its status on Ubuntu via a very pretty interface, prettier than Apple script anyway, so I thought I’d have a lock. Continue reading “notify-send”→
About Docker, looks awesome. Easy to create bootable, runnable images, easy to deploy because the global hub site is a crucial part of the proposition. The free usage of the hub, encourages the publication and sharing of images which are then imported over the internet. Originally written the summer of 2015, and revised in the Summer of 2016
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 ls /usr/src/kernel & uname -a and 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.
This has changed since my days at Pyramid. There has been quite a lot of thinking and engineering about dealing with daemon logs. The places to look are via the syslogd, newsyslog project, you can see a the newsyslog man pages and using the keyword “rotate log”. The idea is that logs are rotated, although the names are not and that old logs are deleted. So the newest is called mypackage or mypackage.0 and the older logs increment the counter. Logs are generally kept in /var/log or /var/log/package_name and not in the package or product install tree. What a nob? There is a command ‘logrotate’; it can be installed using macports. It needs a a configuration file. Continue reading “Log Rotate and *NIX”→