Gdrive & Linux

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

http://elementaryos.stackexchange.com/questions/276/how-to-install-google-drive/2478#2478

and installed grive 2, looks like it needs rc files

ooOOOoo

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”

Fedora 20

I need another Red Hat look alike and chose Fedora. My target is Virtual Box on Windows 8.1.

So remember,

  1. Install from Live CD, reboot
  2. yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
  3. yum update
  4. reboot
  5. 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.

Log Rotate and *NIX

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”

Ubuntu 13.10

I am installing this on the Mac under Virtual Box. This snip is about Ubuntu.

The first problem is that it comes with quite a bit of crap installed and the Unity search is over zealous and too network noisy.

This might be helpful, an article about the first 10 things to do. I seem to have a problem with finding the dash plugins to stop the internet searches. This needs to be tuned.

I want to configure the software package manager to check daily.

I have installed Unity Tweaks.

I have turned the virtual desktop manager on.

I have uninstalled Ubuntu One.

RCS

Revision Control System, one of the grand daddies of them all.

I still use it because its simple and does not have a network interface.

Links

rcs -i creates the repo, rcs -l will turn locking on, ci -l checks the file in. If locking is not on, no version message is prompted. If locking is not on, the file if checked in is deleted from the home directory. rlog will display the version history. So


cat $file | rcs -l | ci

$Header$ is an omnibus with most of what one needs and $Log$  displays the log messages.

I need to experiment with the $Revision$ keyword, can this be subsituted into code.

Virtual Box

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.

I have not been systematic in how I document my virtual box projects, some are on this page, some have their own articles, they should all be tagged; http://wiki.davelevy.info/tag/virtual-box.

The shred folder manager script has been uploaded to git, see https://github.com/dfl1955/vboxtools, just in time to be replaced by launchd although there is a problem with systemd and vboxshares, or there was last time I checked.

Continue reading “Virtual Box”