I am using CentOS 5 for one of my servers, and use raid1 and md for the mirroring between two drives. Then one of the drives fail (which they eventually will), here is how you fix it: I have taken info from these pages for this blog post: http://w…
Tag: linux
amixer in ubuntu
If you want to change the volume in Ubuntu 11.10 it seems that amixer is kind of bugged when it comes to toggle (mute/unmute). When toggling Master, it also mutes all the separate groups (Front, headphone, PCM and so on), but when toggled again it…
Cutting bits from avi-file with ffmpeg/mencoder
I wanted to cut out two bits from an avi-file and then join them to get one small file from a large file. I thought using ffmpeg would be easy for this, but it turns out it might have a but with avi/wmv so I ended up using mencoder instead. The or…
Google Chrome and Kerberos
Just a short tip for those of you that use Google Chrome and want to utilize Kerberos to login to sites: You need to start Chrome with an extra command-line option. Why this isn’t configurable inside Chrome is a mystery, but anyways – here is the …
API and RedHat Network
If you use RedHat Enterprise Linux in a big environment, you probably use RedHat Network (RHN) as well. RHN has a very well documented API, which can be used for all tasks you want to do. Here is a small script I wrote to list out all of our syste…
Ubuntu 11.04 and workspaces
A little bit difficult to find, so this is more of a “note to self”. How to change number of workspaces in Ubuntu: 1) Open a Terminal. 2) To change the number of rows, type the following command, changing the final number to the number you wish. P…
NRK nett-tv i Ubuntu
Kjapp fremgangsmåte for å se NRK sin nett-tv i Ubuntu: 1) Installer repository MediUbuntu: sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get –quiet u…
Nostalgy for Thunderbird
I just found the best addon ever for Thunderbird: Nostalgy. It’s so good, I just felt like sharing with the world 🙂 This addon makes is super-easy to copy or move a mail to another folder, without using the mouse. To do this, you have two main mo…
Thunderbird: IMAP Mailbox isn’t selectable
There was a problem with Thunderbird that was bugging me for a long while. If I did a search across all my folders, I would always get a pop-up window with the message “not a selectable mailbox” or something like that. Finally today I decided to i…
Windows+VMWare+Ubuntu+Keyboard-problems
I just got a new laptop, installed Windows and VMWare on it, and then installed Ubuntu as a virtual machine. It worked like a charm, but when I was going to login, the keyboard didn’t work… After googling a bit, I came across this: http://connec…