Tag Archives

53 Articles

Posted by Dave on

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.

Posted by Dave on

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.

Posted by Dave on

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.

Posted by Dave on

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.

Posted by Dave on

File Transfer

I need to revise file transfer over TCP/IP. This article consists of links on encryption, sftp man pages, restricting shell escapes, sshd, ssh keys, restarts and scp.

Posted by Dave on

Configuring NTP

Configuring NTP

I want to configure NTP on this box, i.e. the Cobalt Qube as its losing time. Badly. This was written in 2011 or earlier, and should probably therefore not be used any more.

Posted by Dave on

Open SUSE

Recently I have been working with Open SUSE, this has some interesting and frustrating differences to the Linux versions I am used to. These notes talk about Samba, Services and the Firewall.

Posted by Dave on

Virtual Box

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; https://davelevy.info/wiki/tag/virtual-box.

The shared 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.

Posted by Dave on

Shell Programming

At somr point, I wrote. “This page never seems to age, …” it just contains some idioms I like to use in my .login and/or .bashrc files. I don’t do this so often as when I started the page but the MAC keeps it in the house, and I have installed cygwin on nearly all my windows systems. However, microsoft implemented bash on windows 10 and so things finally changed. …

Posted by Dave on

OpenSUSE and 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.

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

Posted by Dave on

Amazon Web Services

Amazon Web Services

I created this article in 2011, it was copied across to the wordpress wiki in the summer of 2013, and then amended in November 2013. I returned to it in Feb 2015, to document my adventures with wordpress. In 2017, I wanted to return to VNC/RDP and so came back to this page and I reviewed the content and moved much of it to the comments section of this page.