You are here


Kubuntu: Moving an installation hard drive from one system to another

Submitted by Druss on Sat, 2011-08-27 02:58

One of my local servers died a quiet death last week. Much as I tried to revive the li'l bitch, she refused to accede to my plaintive entreaties. She is now consigned to a forlorn corner and I am yet to see to her last rites. In the meantime, I have recently introduced a new addition to my family of servers through the cannibalisation of older (and now retired) members of the same. So, I settled on trying to see if I could save the soul of my now recently defunct Kubuntu box by simply transferring its hard drive to this new server. When I tried to do so, this is what transpired:

Linux: Finding all the members of a group

Submitted by Druss on Tue, 2011-05-17 11:00

Finding all the members of a group is an occasional requirement and while there are a number of ways to do this by parsing the /etc/group and /etc/password files, Debian/Ubuntu come with a simpler solution that performs all this skulduggery for you. This is the members function that can simply be installed using sudo apt-get install members . Once this is done, members of a group named foo can be listed using:

Getting a list of all installed packages using aptitude

Submitted by Druss on Mon, 2011-05-09 22:20

Earlier today, I noticed - in htop - that a particular process, let's say 'foo-123', was running even though I had removed the package 'foo' many days earlier. I tried removing it again and found that I was right and that the package had already been removed. The package dependency list was way too long for me to go removing them one by one, or parsing them out and removing the lot.

Configuring Samba share on Lucid

Submitted by Druss on Wed, 2010-05-05 00:00

I performed a fresh install of Kubuntu's new distro - Lucid whatever - today. As per usual, there is no front-end to configure Samba and I had to do it the old-fashioned way. The following are steps that should walk you through a basic configuration on creating a share that can be accessed from Windows:

  1. Install Samba using sudo aptitude install samba smbfs
  2. Navigate to /etc/samba/

Compiling and installing KTorrent 3.3RC1 on Kubuntu Karmic

Submitted by Druss on Sat, 2009-11-07 20:30

Compiling KTorrent 3.3 RC1 on Kubuntu 9.10 Karmic with KDE 4.3:

Update 1: This works with 3.3 final as well.
Update 2: This works with 4.0 beta1 as well.

  1. Install cmake and related tools:
    sudo apt-get install cmake automoc build-essential gettext
  2. Install other required libraries:
    sudo apt-get install kdelibs5-dev kdebase-workspace-dev kdepimlibs5-dev python-kde4 libboost-dev libtag1-dev libqca2-dev libgmp3-dev

Samba: subprocess post-installation script returned error exit status 1

Submitted by Druss on Tue, 2009-06-23 04:27

I made a mistake earlier today when looking for a GUI application to manage samba shares. I installed the wrong application - gadmin-samba (which is quite fugly and buggy) - instead of system-config-samba which is clean and has worked well for me in the past. gadmin-samba added all sorts of nonsense and in a bid to reset the samba configuration, I nuked the files in /etc/samba to give system-config-samba something of a fresh slate.

Wicd: connect to wifi network before logging in

Submitted by Druss on Tue, 2009-06-02 00:43

One of my Linux boxen is primarily used as a server and frequently just sits around without monitor, keyboard or mouse attached. While previously, it used to be connected to the network via ethernet, now that I've got the USB wifi adapter for my machines, it's even niftier and only requires power to get up and running.


Subscribe to RSS - Kubuntu