Home » Archive

Articles tagged with: linux

Linux Administration, Web Development »

[19 Feb 2011 | One Comment | ]

Quite easy really, once you know how.
First we add in the Epel repo for 64bit Centos5
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
and then you need to disableexcludes in yum due to Cpanel disabling Perl from yum updates. So to install git now, we run.
yum –disableexcludes=main install git
Simple, really.

Linux Administration »

[28 Jul 2010 | One Comment | ]

Very simply.
sudo dmidecode –type 17
This gives the following output:
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0×1100, DMI type 17, 27 bytes
Memory Device

Hardware & Gadgetry, Linux Administration, Open Source »

[27 Aug 2009 | No Comment | ]

netboot.me is a service that allows you to boot nearly any operating system or utility on any computer with a wired internet connection – without having to know ahead of time what you’ll want to boot.
netboot.me works through the magic of netbooting over http. There are a number of ways to boot a computer with netboot.me. The simplest is to download a bootable image, which is 626Kb and burn it to a CD or put it on a USB memory stick, or floppy disk. Boot off it on any networked …

Cross-Platform, Linux Administration, Web Development »

[25 Jun 2009 | 3 Comments | ]

Today, I came across a document where I had to type a degree symbol in Linux. Thanks to this post at Arch Linux Forums, it was painless to find out how. So here it is:
In windows, apparently you hold down Alt+0176.
Linux is different and to achieve the same, hold down Ctrl+Shift and type u+00b0, though if you are writing for html, the correct symbol is
Alternatively you can copy and paste it from this table on wikipedia, which includes other useful symbols like Pound, Registered and Copyright.
It will actually type the …

Bash, Internet Goodness, Open Source, Python, Web Development »

[29 Oct 2008 | No Comment | ]

I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.
So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.
So first thing I did was:
$ cd /usr/share/doc/boo/examples/asp.net$ xsp2
and then from your browser you can run any of the “inline” samples
but if you try and run one of the code behind samples, you get something …

Linux Administration »

[29 May 2008 | No Comment | ]

Here ’tis
w | awk ‘{a[$1]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
stumbled on this issue with a HP-UX server we run where the maxusers kernel paramater is set to 600 (512 by default). To change this setting, requires a reboot of the server (something not easily achievable at midday with 600 users logged in). You can change kernel parameters via SAM in HP-UX
This is a slight modification of the 1 liner that sorts your bash history by commands used:
history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” …

Cross-Platform, Linux Administration, Open Source, Video »

[29 May 2008 | 6 Comments | ]

I haven’t spent much time with Video editing / DVD authoring on either Linux or Windows. Mostly because I don’t watch much video except for a wierd philia for watching Cop Chases on Youtube or at the other end of the spectrum, watching the extremely interesting TedTalks using Miro or Google Tech Talks.
Anyway, my sister-in-law purchased a Mini-DVD Sony camera. It just so happens that Linux doesn’t support this format at the moment (though Windows 2003 doesn’t natively either), so be warned. Anyway, we managed to use Sony’s software to …

Bash, Linux Administration »

[28 Apr 2008 | No Comment | ]

Here’s a simple method of automatically muting your volume overnight and resetting it in the morning. This is especially good for those who use softphones, skype or an IM client that have sound alerts output to speakers.
We are going to use three command line tools for this: aumix, which and cron. We are also only going to set things up so the commands are run under the user account, rather than as root as cron used incorrectly can open up some security issues.
so, to get started try and run:
:~$ aumix
and …

Apache, Linux Administration, Open Source, Windows Administration »

[8 Aug 2007 | 2 Comments | ]

Last time I did this, I found the instructions pretty easily on how to migrate SSL’s from IIS to Apache. This time I found it hard to locate the documentation, so for my own lack of memory and when google fails you, here it is:
First we need to export the certificate from IIS into a pfx file. To do that:Click Start->Run->type: mmc [enter]Click ->’Console’ -> ‘Add/Remove Snap-in’.Click -> ‘Add’ -> ‘certificates’ snap-in and click on ‘Add’.Select -> ‘Computer Account’ -> click ‘Next’.Select ‘Local Computer’ and then click ‘OK’.Click ‘Close’ and …