How to install Git on Cpanel based 64bit Centos servers

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.

View memory brand, manufacturer & serial number in Linux

Very simply. sudo dmidecode –type 17 This gives the following output: # dmidecode 2.9 SMBIOS 2.4 present. Handle 0x1100, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 2048 MB Form Factor: DIMM Set: None Locator: DIMM_A Bank Locator: Not …

Netboot.me – boot Linux systems directly from Internet

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 …

How to type a degree symbol in Linux

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 …

Boo Language aspx .Net using xsp2 on Mono and Linux (Ubuntu)

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 …

Bash command to determine multiple logins sorted by user with the most logins

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 …

Easy DVD Authoring in Linux thanks to Wine and DVD Flick

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 …

How to schedule Linux to mute speaker volume overnight

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 …

Convert IIS ssl certificate to use in Apache

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 …