<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on despatches</title><link>https://icle.es/tags/ubuntu/</link><description>Recent content in Ubuntu on despatches</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 18 Mar 2026 15:13:17 +0000</lastBuildDate><atom:link href="https://icle.es/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Restricting Linux Logins to Specified Group</title><link>https://icle.es/2012/03/21/restricting-linux-logins-to-specified-group/</link><pubDate>Wed, 21 Mar 2012 11:36:45 +0000</pubDate><guid>https://icle.es/2012/03/21/restricting-linux-logins-to-specified-group/</guid><description>&lt;p>If you have linux boxes that authenticate over ldap but want logins for specific
boxes to be restricted to a particular group, there is a simple way to achieve
this.&lt;/p>
&lt;p>Firstly, create a new file called &lt;code>/etc/group.login.allow&lt;/code> (it can be called
anything - you just need to update the line below to reflect the name)&lt;/p>
&lt;p>In this file, pop in all the groups that should be able to login&lt;/p>
```
admin
group1
group2
```
&lt;p>Edit &lt;code>/etc/pam.d/common-auth&lt;/code> (in ubuntu), it might be
called &lt;code>/etc/pam.d/system-auth&lt;/code> or something else very similar. At the top of
the file (or at least above other entries, add the following line:&lt;/p></description><content:encoded><![CDATA[<p>If you have linux boxes that authenticate over ldap but want logins for specific
boxes to be restricted to a particular group, there is a simple way to achieve
this.</p>
<p>Firstly, create a new file called <code>/etc/group.login.allow</code> (it can be called
anything - you just need to update the line below to reflect the name)</p>
<p>In this file, pop in all the groups that should be able to login</p>
```
admin
group1
group2
```
<p>Edit <code>/etc/pam.d/common-auth</code> (in ubuntu), it might be
called <code>/etc/pam.d/system-auth</code> or something else very similar. At the top of
the file (or at least above other entries, add the following line:</p>
```
auth required pam_listfile.so onerr=fail item=group sense=allow file=/etc/group.login.allow
```
<p>For the record, found this little tidbit
<a href="https://www.centos.org/modules/newbb/viewtopic.php?topic_id=25940" title="Allow Only Specific LDAP Group Access (CentOS Forums)">over at the centos forums</a>\</p>
]]></content:encoded></item><item><title>My Thoughts on OCFS2 / Understanding OCFS2 [1110]</title><link>https://icle.es/2011/11/24/my-thoughts-on-ocfs2-understanding-ocfs2-1110/</link><pubDate>Thu, 24 Nov 2011 21:42:09 +0000</pubDate><guid>https://icle.es/2011/11/24/my-thoughts-on-ocfs2-understanding-ocfs2-1110/</guid><description>&lt;p>&lt;a href="https://icle.es/2011/11/24/glusterfs-howto/" title="GlusterFS HOWTO [1108]">As mentioned earlier&lt;/a>,
we have been considered networked filesystems instead of NFS to introduce into a
number of complex environments. OCFS2 was one of the first candidates.&lt;/p>
&lt;p>In fact, we also considered GFS2 but looking around on the net, there seemed to
be a general consensus recommending ocfs2 over gfs2.&lt;/p>
&lt;p>Ubuntu makes it pretty easy to install and manage ocfs2 clusters. You just need
to install ocfs2-tools and ocfs2console. You can then use the console to manage
the cluster.&lt;/p>
&lt;p>What I totally missed in all of my research and understanding, and due to lack
of in depth knowledge on clustered filesystems was that OCFS2 (and GFS2 for that
matter) are shared disk file systems.&lt;/p>
&lt;p>What does this mean?&lt;/p></description><content:encoded><![CDATA[<p><a href="https://icle.es/2011/11/24/glusterfs-howto/" title="GlusterFS HOWTO [1108]">As mentioned earlier</a>,
we have been considered networked filesystems instead of NFS to introduce into a
number of complex environments. OCFS2 was one of the first candidates.</p>
<p>In fact, we also considered GFS2 but looking around on the net, there seemed to
be a general consensus recommending ocfs2 over gfs2.</p>
<p>Ubuntu makes it pretty easy to install and manage ocfs2 clusters. You just need
to install ocfs2-tools and ocfs2console. You can then use the console to manage
the cluster.</p>
<p>What I totally missed in all of my research and understanding, and due to lack
of in depth knowledge on clustered filesystems was that OCFS2 (and GFS2 for that
matter) are shared disk file systems.</p>
<p>What does this mean?</p>
<p><a href="http://en.wikipedia.org/" title="Wikipedia">Wikipedia</a> defines a
<a href="http://en.wikipedia.org/wiki/Shared_disk_file_system" title="Shared Disk File System">shared disk filesystem</a> as
being &ldquo;shared by being
simultaneously <a href="http://en.wikipedia.org/wiki/Mount_%28computing%29" title="Mount
(computing)">mounted</a> on
multiple <a href="http://en.wikipedia.org/wiki/Server_%28computing%29" title="Server (computing)">servers</a>.&rdquo;</p>
<p>This essentially means that the storage medium is mounted on to cluster. The
cluster is a collection of the clients. The storage is traditionally a SAN mount
point. This means that a shared storage space is accessed at high speeds by a
number of clients.</p>
<p>From a simplistic point of view, this is not that different from mounting the
SAN point onto a server and then running an NFS server on it with all the
clients mounting over NFS.</p>
<p>The main difference is that OCFS is distributed. There is no single point of
failure (assuming that the storage medium is redundant which a SAN would be).
The NFS server is a clear single point of failure.</p>
<p>If you do not have access to or want to use a SAN,
<a href="http://www.drbd.org/users-guide/ch-ocfs2.html" title="Using OCFS2 with DRBD">you can also use DRBD.</a></p>
<p>NFS is described as a network filesystem and GlusterFS is described as a NAS
file system.</p>]]></content:encoded></item><item><title>GlusterFS HOWTO [1108]</title><link>https://icle.es/2011/11/24/glusterfs-howto/</link><pubDate>Thu, 24 Nov 2011 20:53:33 +0000</pubDate><guid>https://icle.es/2011/11/24/glusterfs-howto/</guid><description>&lt;p>So, I  am catching up a bit on the technical documentation. A week taken to play
Skyrim combined with various other bits and pieces made this a little difficult.&lt;/p>
&lt;p>On the bright side, there are a few new things that have been worked on so
hopefully plenty of things to cover soon.&lt;/p>
&lt;p>We manage a number of servers and all over the place and all of them require to
be backed up. We also have a number of desktops all with mirrored disks also
getting backed up.&lt;/p>
&lt;p>I like things to be all nicely efficient and its annoying when one server /
desktop runs out of space when another two (or ten) has plenty of space. We grew
to dislike NFS particularly due to the single point of failure and there were
few other options.&lt;/p>
&lt;p>We had tried &lt;a href="http://www.gluster.org/" title="GlusterFS">glusterfs&lt;/a> a few years ago
(think it was at version 1.3 or something) and there were various issues
particularly around small files and configuration was an absolute nightmare.&lt;/p>
&lt;p>With high hopes that version 3.2 was exactly what we were looking for, we set up
three basic machines for testing&lt;/p></description><content:encoded><![CDATA[<p>So, I  am catching up a bit on the technical documentation. A week taken to play
Skyrim combined with various other bits and pieces made this a little difficult.</p>
<p>On the bright side, there are a few new things that have been worked on so
hopefully plenty of things to cover soon.</p>
<p>We manage a number of servers and all over the place and all of them require to
be backed up. We also have a number of desktops all with mirrored disks also
getting backed up.</p>
<p>I like things to be all nicely efficient and its annoying when one server /
desktop runs out of space when another two (or ten) has plenty of space. We grew
to dislike NFS particularly due to the single point of failure and there were
few other options.</p>
<p>We had tried <a href="http://www.gluster.org/" title="GlusterFS">glusterfs</a> a few years ago
(think it was at version 1.3 or something) and there were various issues
particularly around small files and configuration was an absolute nightmare.</p>
<p>With high hopes that version 3.2 was exactly what we were looking for, we set up
three basic machines for testing</p>
<p>Previously, <a href="http://www.gluster.org/" title="GlusterFS">glusterfs</a> required all the
configuration to be completed manually and with text files. It also required a
fairly detailed knowledge of what they called translators and a lot of tweaking
and fiddling with parameters.</p>
<p>I am very happy to report that this is no longer the case with 3.2.</p>
<p>The three servers(cserver[1-3]) are running Ubuntu and was updated to Natty
(11.10) to get access to glusterfs 3.2 (11.04 only had 3.0). One thing to bear
in mind is that the glusterfs website seemed to only have the 64 bit version but
Ubuntu 11.10 also has the 32bit version.</p>
<p>Installing the server part of glusterfs was simple and straightfoward</p>
```bash
$ sudo aptitude install glusterfs-server
```
<p>Once this was done all three servers
(<a href="http://www.tenshu.net/p/terminator.html" title="Terminator">terminator</a> is a godsend
when doing these things across a number of servers), adding the servers into a
&ldquo;cluster&rdquo; was easy enough.</p>
```bash
shri@cserver1:~$ gluster peer probe cserver2
Probe successful

shri@cserver1:~$ sudo gluster peer probe cserver3
Probe successful
```
<p>The thing to note is that these probe statements are two way. In other words,
all three servers are now part of the same cluster.</p>
```bash
shri@cserver3:~$ sudo gluster peer status
Number of Peers: 2

Number of Peers: 3

Hostname: cserver1
Uuid: 8fe63300-e227-4aec-81f3-69b33f894330
State: Peer in Cluster (Connected)

Hostname: cserver2
Uuid: 275ce612-2dd8-4e2a-8cc8-3115ad18c594
State: Peer in Cluster (Connected)
```
<p>The thing is that if you type in an incorrect hostname, the probe will keep
trying to connect to it. I haven&rsquo;t left it running long enough to know if it
every returns.</p>
```bash
shri@cserver3:~# sudo gluster peer probe does-not-exist
^C
shri@cserver3:~# sudo gluster peer status
Number of Peers: 3

Hostname: cserver1
Uuid: 8fe63300-e227-4aec-81f3-69b33f894330
State: Peer in Cluster (Connected)

Hostname: cserver2
Uuid: 275ce612-2dd8-4e2a-8cc8-3115ad18c594
State: Peer in Cluster (Connected)

Hostname: does-not-exist
Uuid: 00000000-0000-0000-0000-000000000000
State: Establishing Connection (Disconnected)
```
<p>Thankfully, removing host does-not-exist is simple enough</p>
```bash
shri@cserver3:~# sudo gluster peer detach does-not-exist
Detach successful
shri@cserver3:~# sudo gluster peer status
Number of Peers: 2

Hostname: cserver1
Uuid: 8fe63300-e227-4aec-81f3-69b33f894330
State: Peer in Cluster (Connected)

Hostname: cserver2
Uuid: 275ce612-2dd8-4e2a-8cc8-3115ad18c594
State: Peer in Cluster (Connected)
```
<p>Creating a volume is straightforward. There are a number of different types of
volumes which you can find out from the documentation. In this particular
instance, we are creating a distributed replicated</p>
```bash
shri@cserver3:~$ sudo gluster volume create testvol replica 2 transport tcp cserver1:/gdata cserver2:/gdata
Creation of testvol has been successful
Please start the volume to access data
```
<p>The reason I have not included cserver3 in here is that the volume needs a
multiple of the replica number of bricks. In the case, the there needs to be a
muliple of 2 number of bricks.</p>
<p>Additionally, you could use rdma instead of tcp if you are using infiniband</p>
<p>Starting the volume is simple enough</p>
```bash
shri@cserver3:~$ sudo gluster volume start testvol
```
<p>this volume is now accessible from all the boxes in the cluster</p>
```bash
shri@cserver1:~# sudo gluster volume info

Volume Name: testvo
Type: Distributed-Replicate
Status: Started
Number of Bricks: 2 x 1 = 2
Transport-type: tcp
Bricks:
Brick1: cserver1:/gdata
Brick2: cserver2:/gdata
```
<p>Mounting this from another box is easy</p>
```bash
$ sudo aptitude install glusterfs-client
$ sudo mount -t glusterfs /mnt cserver:/testvol
```
<p>If you get the error of &ldquo;endpoint not connected&rdquo; when listing the content of the
mount, it is likely because the volume is not started.</p>
<p>If you are curious, check the gdata folders in the bricks after copying some
files into the mount and you&rsquo;ll find them show up intact and on both bricks in
the above example.</p>]]></content:encoded></item><item><title>Gnome Desktop Inaccessible After Screensaver Kicks in [1103]</title><link>https://icle.es/2011/11/03/gnome-desktop-inaccessible-after-screensaver-kicks-in-1103/</link><pubDate>Thu, 03 Nov 2011 11:11:14 +0000</pubDate><guid>https://icle.es/2011/11/03/gnome-desktop-inaccessible-after-screensaver-kicks-in-1103/</guid><description>&lt;p>Yesterday, I
&lt;a href="http://drone-ah.com/2011/11/02/saving-your-workspace-window-configuration-in-linux-1102/" title="Saving your workspace window configuration in Linux [1102]">mentioned a problem that I've been having&lt;/a>
with GNOME 3 on Ubuntu 11.10.&lt;/p>
&lt;p>Essentially what happens is that when I leave my desktop for a while, under
specific circumstances, and often, on returning and moving the mouse or using
the keyboard, the pointer would come back  on screen. However, this only works
on one of my two screens.&lt;/p>
&lt;p>The unlock dialog does not show up and it seems that there is no way to get back
in.&lt;/p>
&lt;p>In the past, I would log into the terminal (Ctrl-Alt-F1 or any function key
through to F5 or so) and&lt;/p>
```bash
$ kill -9 -1
```</description><content:encoded><![CDATA[<p>Yesterday, I
<a href="http://drone-ah.com/2011/11/02/saving-your-workspace-window-configuration-in-linux-1102/" title="Saving your workspace window configuration in Linux [1102]">mentioned a problem that I've been having</a>
with GNOME 3 on Ubuntu 11.10.</p>
<p>Essentially what happens is that when I leave my desktop for a while, under
specific circumstances, and often, on returning and moving the mouse or using
the keyboard, the pointer would come back  on screen. However, this only works
on one of my two screens.</p>
<p>The unlock dialog does not show up and it seems that there is no way to get back
in.</p>
<p>In the past, I would log into the terminal (Ctrl-Alt-F1 or any function key
through to F5 or so) and</p>
```bash
$ kill -9 -1
```
<p>This would of course kill all processes owned by me and is therefore unpleasant
at best and have you losing a bunch of work at worst.</p>
<p>After a brainwave yesterday (as detailed in the aforementioned post), I decided
to check the status of the screensaver and killed just those processes. Happily,
this gives me my desktop back. However, my gnome-shell had given up which I had
to restart</p>
```bash
$ gnome-shell --replace
```
<p>Unfortunately, I did not get the windows into the original workspaces since
everything just got dumped into the one workspace but it is better than having
to kill everything off.</p>
<p>EDIT: I just realised that the screen saver of course no longer kicks in and I
had to restart it</p>
```bash
$ gnome-screensaver --no-daemon
```]]></content:encoded></item><item><title>Synergy with Linux Server &amp;amp; Mac Client</title><link>https://icle.es/2010/04/18/synergy-with-linux-server-mac-client/</link><pubDate>Sun, 18 Apr 2010 15:41:03 +0000</pubDate><guid>https://icle.es/2010/04/18/synergy-with-linux-server-mac-client/</guid><description>&lt;p>I  borrowed a mac to try and play
with &lt;a href="http://en.wikipedia.org/wiki/IPhone">iPhone&lt;/a> development. I already have a
linux box (running Ubuntu 9.10). Anyone who has used two computers
simultaneously know how annoying it is to have two keyboards/mice plugged. I
originally anticipated just using X11 forwarding. However, it is
an &lt;a href="http://en.wikipedia.org/wiki/IMac">iMac&lt;/a>{with a big beautiful screen. It
would be an absolute waste to not use it.&lt;/p>
&lt;p>I installed &lt;a href="http://en.wikipedia.org/wiki/Synergy%20%28software%29">synergy&lt;/a> on
both ends, with the linux one as the server&lt;/p></description><content:encoded><![CDATA[<p>I  borrowed a mac to try and play
with <a href="http://en.wikipedia.org/wiki/IPhone">iPhone</a> development. I already have a
linux box (running Ubuntu 9.10). Anyone who has used two computers
simultaneously know how annoying it is to have two keyboards/mice plugged. I
originally anticipated just using X11 forwarding. However, it is
an <a href="http://en.wikipedia.org/wiki/IMac">iMac</a>{with a big beautiful screen. It
would be an absolute waste to not use it.</p>
<p>I installed <a href="http://en.wikipedia.org/wiki/Synergy%20%28software%29">synergy</a> on
both ends, with the linux one as the server</p>
```bash
$ sudo aptitude install synergy
```
<p>and the mac as the client</p>
<p><a href="http://sourceforge.net/projects/synergykm/">http://sourceforge.net/projects/synergykm/</a></p>
<p>and it worked.</p>
<p>There was just one very very annoying problem. The Ctrl key and Cmd keys were
different. This really messed with my muscle memory. After some hunting around,
I just had to update my .synergy.conf file in linux. Here is the relevant
section</p>
```
section: screens
    linux-desktop:
    imac:
    ctrl=alt
    alt=ctrl
    meta=alt
end
```
<p>et voila. It now works a charm. I  have neglected the configuration of the
synergykm and synergys but these can be figured out easily ;-)</p>
]]></content:encoded></item><item><title>Perfect Linux</title><link>https://icle.es/2009/12/15/perfect-linux/</link><pubDate>Tue, 15 Dec 2009 16:03:03 +0000</pubDate><guid>https://icle.es/2009/12/15/perfect-linux/</guid><description>&lt;p>According to &lt;a href="http://lunduke.com/?page_id=2">Brian Lunduke&lt;/a>{
&lt;a href="http://lunduke.com/?p=815" title="Ubuntu 9.10 - almost perfect">Ubuntu 9.10 is almost perfect&lt;/a>{
and I concur.&lt;/p>
&lt;p>Being a bit of a purist, I ran &lt;a href="http://www.debian.org">Debian&lt;/a>{for very many
years but found their stable releases lagging behind far too much. This was
largely due to their perfectly understandable view of it being ready only when
it is right.&lt;/p>
&lt;p>For a while, I ran their unstable distribution
called &lt;a href="http://www.debian.org/releases/unstable/">Sid&lt;/a>{ based on the disturbed,
hyperactive 10 year old boy in the
film &lt;a href="http://en.wikipedia.org/wiki/Toy%20Story">Toy Story&lt;/a>{ The idea being that
Sid breaks things, and it certainly did. While it taught me a heck of a lot
about linux (and the terminal), my computer was broken on a very regular basis.&lt;/p>
&lt;p>I switched down to
the &lt;a href="http://www.debian.org/releases/testing/">testing version&lt;/a> and that helped
ease the pain to a very large extent. I had always thought
that &lt;a href="http://www.debian.org">Debian&lt;/a> with a more regular and shorter release
cycle would make a world of difference.
Clearly, &lt;a href="http://en.wikipedia.org/wiki/Canonical%20Ltd.">Canonical&lt;/a> had the same
idea.&lt;/p></description><content:encoded><![CDATA[<p>According to <a href="http://lunduke.com/?page_id=2">Brian Lunduke</a>{
<a href="http://lunduke.com/?p=815" title="Ubuntu 9.10 - almost perfect">Ubuntu 9.10 is almost perfect</a>{
and I concur.</p>
<p>Being a bit of a purist, I ran <a href="http://www.debian.org">Debian</a>{for very many
years but found their stable releases lagging behind far too much. This was
largely due to their perfectly understandable view of it being ready only when
it is right.</p>
<p>For a while, I ran their unstable distribution
called <a href="http://www.debian.org/releases/unstable/">Sid</a>{ based on the disturbed,
hyperactive 10 year old boy in the
film <a href="http://en.wikipedia.org/wiki/Toy%20Story">Toy Story</a>{ The idea being that
Sid breaks things, and it certainly did. While it taught me a heck of a lot
about linux (and the terminal), my computer was broken on a very regular basis.</p>
<p>I switched down to
the <a href="http://www.debian.org/releases/testing/">testing version</a> and that helped
ease the pain to a very large extent. I had always thought
that <a href="http://www.debian.org">Debian</a> with a more regular and shorter release
cycle would make a world of difference.
Clearly, <a href="http://en.wikipedia.org/wiki/Canonical%20Ltd.">Canonical</a> had the same
idea.</p>
<p>Thus <a href="http://en.wikipedia.org/wiki/Ubuntu%20%28Linux%20distribution%29">Ubuntu</a>
was born and it has grown from strength to strength. Its latest distribution
of <a href="http://www.ubuntu.com/products/whatisubuntu/910features">9.10 codename karmic koala</a>
released October 2009, is a massive step forward.</p>
<p><a href="http://www.linkedin.com/in/stepram">Stephen</a>{ the head
of <a href="http://www.krayatec.co.uk">krayatec</a>{was so impressed by the new release
that he conducted an experiment. He asked three people in the office who are not
tech savvy to install and try out the new release. My view was that it was still
too early for such kind of an adoption. I felt that pushing people to try it out
at this stage would damage the reputation of the user friendliness
of <a href="http://en.wikipedia.org/wiki/Linux">Linux</a> rather than help it.</p>
<p>I must admit that I was proven wrong.  All of the installations went smoothly
and it was possible to log in and do the things that they wanted to do.</p>
<p>Do they now use <a href="http://en.wikipedia.org/wiki/Linux">Linux</a> instead
of <a href="http://en.wikipedia.org/wiki/Microsoft%20Windows">Windows</a> - No! There is
still a learning curve and with tight deadlines and little time for re-learning
how to navigate around a computer, it remains an experiment.</p>
<p>However, it does answer one question. Can a user who is not tech-savvy, pick up
a CD/DVD of the latest version
of <a href="http://en.wikipedia.org/wiki/Ubuntu%20%28Linux%20distribution%29">Ubuntu</a>
and run with it? The answer, from this very tiny experiment is a resounding Yes!</p>
<p>As someone who is technically very demanding, I have very few complaints about
the latest version. The only one is that it still looks largely the same as the
previous version. Then, the release is a collection of tools, so this is
understandable.</p>
<p>My three favourite things about the new release are:</p>
<ul>
<li>substantially faster bootup times</li>
<li><a href="http://en.wikipedia.org/wiki/Empathy%20%28software%29">Empathy</a> (particular
for people-nearby which works great in the office)</li>
<li><a href="http://en.wikipedia.org/wiki/Cloud%20services">Cloud</a> (Client &amp; Server)</li>
</ul>
<p>In my opinion, this is the beginning of the
end. <a href="http://en.wikipedia.org/wiki/Linux">Linux</a>, has finally taken a leap that
shows its potential to change everything&hellip; I would wish it luck, but it looks
like it doesn&rsquo;t need it ;-)</p>
<p>Why not
<a href="http://www.ubuntu.com/getubuntu/download" title="Download Ubuntu Live CD">download a live cd</a>
and try it out?</p>]]></content:encoded></item><item><title>Vista Guest, Linux Host, VirtualBox, Host Networking - Bridge</title><link>https://icle.es/2009/03/23/vista-guest-linux-host-virtualbox-host-networking-bridge/</link><pubDate>Mon, 23 Mar 2009 15:39:41 +0000</pubDate><guid>https://icle.es/2009/03/23/vista-guest-linux-host-virtualbox-host-networking-bridge/</guid><description>&lt;p>One would think that it would be straightforward, work off the bat, or at least
have some reasonable documentation. Unfortunately, no!&lt;/p>
&lt;p>I needed host networking to be able to access network resources (Samba shares
etc.) which does not work if the guest OS is on NAT :-(&lt;/p>
&lt;p>Solving it was easy though&amp;hellip; I assume Vista is installed as a guest with the
guest additions and that your user account is a part of the vboxusers group.&lt;/p></description><content:encoded><![CDATA[<p>One would think that it would be straightforward, work off the bat, or at least
have some reasonable documentation. Unfortunately, no!</p>
<p>I needed host networking to be able to access network resources (Samba shares
etc.) which does not work if the guest OS is on NAT :-(</p>
<p>Solving it was easy though&hellip; I assume Vista is installed as a guest with the
guest additions and that your user account is a part of the vboxusers group.</p>
<p>On the linux host, first install bridge utils. I run Ubuntu, so it was as easy
as:</p>
```bash
$ sudo aptitude install bridge-utils
```
<p>Next, you need to set up the bridge; again, easy on Ubuntu:</p>
<p>add the following section to /etc/network/interfaces</p>
```
auto br0
iface br0 inet dhcp
bridge_ports eth1
```
<p>Add the interfaces to VirtualBox</p>
```bash
$ sudo VBoxAddIF vbox0 'shri' br0
```
<p>Within the VirtualBox Guest settings, choose Host Networking and fo the
interface, choose br0</p>
<p>bring the interface up:</p>
```
$ sudo ifup br0
```
<p>and start your guest os&hellip; et voila, it just works&hellip;</p>
]]></content:encoded></item><item><title>Controversy</title><link>https://icle.es/2009/01/31/controversy/</link><pubDate>Sat, 31 Jan 2009 18:53:02 +0000</pubDate><guid>https://icle.es/2009/01/31/controversy/</guid><description>&lt;p>We have never been shy about voicing our opinions or being controversial. While
discussing some PR requirements recently with a potential agency, the question
was asked about whether we would be willing to be controversial.&lt;/p>
&lt;p>We are not necessarily controversial, just that we hold a view that is usually a
little different from the mainstream views. It could be said that we bring the
alternative to the mainstream.&lt;/p>
&lt;p>But then, so did some world governments, bringing open source software into
their work places, successfully or unsuccessfully in the last few years instead
of Microsoft.&lt;/p>
&lt;p>Someone recently suggested that we were anti-microsoft. I don&amp;rsquo;t think that is
case. Microsoft has its place in a technology infrastructure. It is simply that
its position is usually overrated or misplaced. As far as desktops for
technically shy users are concerned, there is really no alternative but
Microsoft Windows. I can hear the Mac users scream that Macs are also an
alternative. Theoretically, yes but the fact is that they are too expensive for
someone to dabble with it. This is precisely the reason that Microsoft Windows
dominates the desktop market.&lt;/p>
&lt;p>We support and use Linux. In fact, the majority of the desktops in the office
run Linux (Ubuntu as it happens) but people who have a non-technical role use
Windows. They could use Linux but Windows is better suited to their role.&lt;/p></description><content:encoded><![CDATA[<p>We have never been shy about voicing our opinions or being controversial. While
discussing some PR requirements recently with a potential agency, the question
was asked about whether we would be willing to be controversial.</p>
<p>We are not necessarily controversial, just that we hold a view that is usually a
little different from the mainstream views. It could be said that we bring the
alternative to the mainstream.</p>
<p>But then, so did some world governments, bringing open source software into
their work places, successfully or unsuccessfully in the last few years instead
of Microsoft.</p>
<p>Someone recently suggested that we were anti-microsoft. I don&rsquo;t think that is
case. Microsoft has its place in a technology infrastructure. It is simply that
its position is usually overrated or misplaced. As far as desktops for
technically shy users are concerned, there is really no alternative but
Microsoft Windows. I can hear the Mac users scream that Macs are also an
alternative. Theoretically, yes but the fact is that they are too expensive for
someone to dabble with it. This is precisely the reason that Microsoft Windows
dominates the desktop market.</p>
<p>We support and use Linux. In fact, the majority of the desktops in the office
run Linux (Ubuntu as it happens) but people who have a non-technical role use
Windows. They could use Linux but Windows is better suited to their role.</p>
<p>This is not necessarily a cost-saving decision. Sure, we have saved thousands of
pounds by sticking to Linux instead of using Windows but that is a co-incidence
more than anything. In some ways, it is a testament to the skillset of the
people who work at Kraya that they are comfortable with Linux. The mindset of
Linux is in alignment with the mindset of a developer.</p>
<p>I used to develop in Windows and I often found myself fighting with Windows,
whereas with Linux, it just fits. There are several reasons for this. One being
that Linux forces you to understand what you (trying to ) do to a bit more depth
instead of pretending its magically taken care of.</p>
<p>I am not, for one moment implying that developers who use or develop on the
Windows platform is inferior or not as skilled. Simply that my experience was
that the Windows platform made it easier to do things badly and more difficult
to do things well.</p>
<p>Microsoft has done wonders in bringing technology to the masses and making it
more accessible. However, there is still a massive barrier, even for people
specifically in the technology sector to appreciate and use technologies which
require a bit more experience or knowledge to use appropriately.</p>
<p>There are a couple of really good examples. PostgreSQL is a powerful outstanding
database server that can easily compete with Microsoft SQL Server and Oracle.
However, very few people know about it and even fewer use it.</p>
<p>MySQL on the other hand is also an open source database server but is much more
widely used and accepted.</p>
<p>It surprises me when MySQL is used when PostgreSQL is, from a technical
perspective better suited. MySQL is faster than PostgreSQL at the cost of poor
transaction managment (at best). For any system where data integrity is even
remotely important, PostgreSQL is a better choice. However, since there are
better GUI tools for MySQL and since it is easier to get the hang of, it gets
chosen.</p>
<p>This give technology and people in that sector a bad name. Every tool or
software has its place, and should be used in an environment where its strengths
are displayed, not its weaknesses. We have instances where we use multiple
database servers within one project. PostgreSQL for all the data integrity
sensitive areas and MySQL for the speed sensitive areas. Sometimes you want
integrity and speed. In these cases, you have to make a choice based on which is
more important or layer the databases to use the strengths of both.</p>
<p>Metaphorically speaking, MySQL is a hammer, and PostgreSQL is a sledgehammer.
Would you use a sledgehammer to crack a nut, or a hammer to crack a slab of
concrete?</p>
<p>Before someone jumps down my throat, I am not suggesting that PostgreSQL is
better than MySQL or vice versa - just that they both have different goals,
different strengths and weaknesses. They have spent a lot of effort to converge
and strengthen their weaknesses but not matter the amount of convergence, their
core goals are still different that they will never truly be able to remove
their weaknesses without giving up some of their strengths as well. One tool
cannot be both a hammer and a sledgehammer&hellip;</p>]]></content:encoded></item><item><title>Eclipse TPTP on Ubuntu (64bit)</title><link>https://icle.es/2008/12/28/eclipse-tptp-on-ubuntu-64bit/</link><pubDate>Sun, 28 Dec 2008 18:15:45 +0000</pubDate><guid>https://icle.es/2008/12/28/eclipse-tptp-on-ubuntu-64bit/</guid><description>&lt;p>I run ubuntu 64 bit (technically, I run an ubuntu 64bit vserver which I access
from ubuntu 32 bit but thats not really relevant).&lt;/p>
&lt;p>In the open source world, I expect that all things which are accessible as 32bit
are also accessible and 64bit and ubuntu makes it automagic enough that
everything just works. Yes, I run into problems with closed source software like
Flash Player (recently resolved with flash player 10) and the Java Plugin but
that is another story. I use Eclipse and wanted to do some performance analysis
and benchmarking to find a bottleneck and installed the TPTP plugin; and ran
into a problem. It just didn&amp;rsquo;t work.&lt;/p></description><content:encoded><![CDATA[<p>I run ubuntu 64 bit (technically, I run an ubuntu 64bit vserver which I access
from ubuntu 32 bit but thats not really relevant).</p>
<p>In the open source world, I expect that all things which are accessible as 32bit
are also accessible and 64bit and ubuntu makes it automagic enough that
everything just works. Yes, I run into problems with closed source software like
Flash Player (recently resolved with flash player 10) and the Java Plugin but
that is another story. I use Eclipse and wanted to do some performance analysis
and benchmarking to find a bottleneck and installed the TPTP plugin; and ran
into a problem. It just didn&rsquo;t work.</p>
<p>To resolve it, I turned to google&hellip; In this instance, it turned out to be a
distraction and a red-herring. It lead me in the direction of installing
libstdc++2.10-glibc2.2_2.95.4-27_i386.deb which was difficult at best since
there was only a 32bit version of the package and that wasn&rsquo;t even in the
standard repository.</p>
<p>In the end, digging deeper, I found that it simply missed the following shared
object libstdc++.so.5.</p>
<p>All I had to do was install libstdc++5:</p>
```bash
sudo aptitude install libstdc++5
```
<p>and it worked&hellip; :-D</p>
<p>Now, I think that ACServer which Eclipse uses to do TPTP should not link to an
outdated library but that is another issue&hellip;</p>
]]></content:encoded></item></channel></rss>