Monthly Archives: August 2011

How-To : Install Spotify on RHEL6 x64 native client

Hey!

You need premium for RHEL6 native client to work.

If you get it to work with WINE it would work for free (as a plus you get it with the very annoying ads).

My machine is a RHEL 6 64-bit.

The only requirement I had was that I did not have libQtWebKit.so.4 installed.

This was fixed with:

sudo yum install qtwebkit-2.0-3.el6.x86_64.rpm

I found this package online.
It’s needed because the spotify-install wants libQtWebKit.so.4 – this may be available in some other package available from within the red hat repositories but I couldn’t find it. If you know how/where that would be great to know :)

I have qt 4.6.2-19 but adding the WebKit in this way hasn’t caused any issues (yet).

You’ll probably need other qt-stuff installed too (I did an ldd /usr/bin/spotify after install and what it wants you can find in this file: spotify ). There’s a lot of them in there but libQtGui.so.4 , libQtCore.so.4 , libQtWebKit.so.4 , libQtDBus.so.4 , libQtNetwork.so.4 , libQtXml.so.4 are the libQt* ones.

To find which qt packages you have installed in a Red Hat based system hit:
sudo yum list ‘*qt*’

Download the spotify-client, I used spotify-client-qt_0.5.2.84.g6d797eb-1_amd64.deb. You can get the latest one via http://repository.spotify.com/pool/non-free/s/spotify/

As spotify doesn’t release an rpm anymore – you need to convert the debian .deb to rpm like this:

sudo alien –to-rpm spotify-client-qt_0.5.2.84.g6d797eb-1_amd64.deb

Then install spotify like this:
sudo yum install spotify-client-qt-0.5.rpm

Run spotify (just hit spotify in the terminal) and log in!

Worked without changing any sound settings or anything like that!
The volume control inside spotify controls the master volume, so be ware  and don’t let it blow your ears out!

Happy musicing!

p.s.

I also tried to install spotify on a shell with WINE and load spotify with X11-forwarding enabled on the shell. Spotify loads and lets me log in but right after login it crashes for some reason.

BCFP – good threads in the brocade forum

How to set up two FCIP tunnels between two B7500: http://community.brocade.com/message/15261

Connecting two sites via FCR: http://community.brocade.com/message/16828#16828

Set up FCIP between two B7800: http://community.brocade.com/message/14216#14216

Why is there an IP in ipaddrshow on FC interfaces: http://community.brocade.com/message/3978#3978

 

 

 

 

BCFP – more studying

OK, so now you’ve been studying for a while? Read the material once or twice, made notes. Have you read more details about a command in the command reference guide, or more details about a technique in the FCIP Admin Guide or the FOS guide? Or how do you do your studying?

Now would be a good time to head over to the page where you see the requirements/objectives of the exam.

Write them down and think about each. Could you for example ‘Demonstrate knowledge of how to manage FCIP/FC distributed external solutions’ ? No? Why not? What parts about it do you not understand, are there any foggy parts, etc. If you can explain this to somebody, that’s a great achievement (now you just have to find somebody who doesn’t get glazed eyes but listening to you talk about fibre channel).
Maybe if you imagine a presentation (like in school) and you have to tell somebody about this specific feature. What would you go over?

Two weeks left for me now. Just hit me today that it’s 4 hours long and 180+ questions (so about 1min 20seconds per question). My brain is not going to function very well after the test. Gotta stock up on carbs, don’t drink before.

BCFP – 16G Studying

Another studying tip!

Head over to the forum/community at Brocade. Do it. After you read this post :p

For example in the BCFP there will be questions about NPIV, so it makes sense to read the forum for threads regarding NPIV. Right? I mean there’s bound to be troubleshooting, and getting some ‘real’ experience troubleshooting SAN is quite hard to get, especially with stuff like FCIP/FCR.

Example link: http://community.brocade.com/message/18897#18897

You don’t need an account. If you register you don’t get access to much anyway.

Here is one as an example. But there are lots of posts there and there’s a ton to learn. I usually just troll/help out on HP’s Enterprise Server/Storage forum but I think I’ll start reading on this as well.

BCFP Studying on

A bit quiet here.
I’m quite busy at work and also studying for the BCFP.
Currently wrapping up the end of ‘going through the material and putting what I find interesting in a document so that I can print it and re-read it and make notes etc’.

One thing I found was a Top Talker feature called ‘EE Monitors’.
As far as I could tell this was the same as Top Talker in ‘port mode’ in opposed to ‘Top Talkers’ which was ‘Top Talker’ in fabric mode.

Brocade Embedded SAN switches are called B54xx like 5424 etc.

Some terminology:

Ingress Port – Traffic Entering a switch port (rx)
Egress Port – Traffic Exiting a switch port (tx)

Bicycling in Helsinki

Some things to remember:

  • Follow the rules of the road, like, stay on the right side :)
  • People tend to follow the rules and get confused if you start bicycling on the left side, there’s also some streets where the bicycle part of the road is one-way (like Boulevardi).
  • Don’t bicycle on walk ways. Old people get upset and the cops might stop you. Even though many of the streets in Helsinki downtown are made out of cobble stone making the bike ride somewhat amusement-parky.
  • Pay attention to your surrounding but pay more attention to where you’re bicycling so you don’t run into stuff or people.
  • True, the Finns are generally an honest people, but do lock your bike.

SunOS 5.11 OpenSolaris Man Page Trick

Ever had to read a man page on a Solaris system?
You’ll see these

SunOS 5.11
System Administration Commands

on each page in the manpage, making it quite hard to read.

To make it more readable you can run this:
man $1|grep -v ‘SunOS 5.11’|grep -v ‘System Administration Commands’|less

With $1 being the command, for example mpathadm.

You could also put it in a bash script file, for example /usr/bin/man2, :

#!/bin/sh
man $1|grep -v ‘SunOS 5.11’|grep -v ‘System Administration Commands’|less

Don’t forget to set executable permissions with chmod 755 on the script file so that normal users can run it.
Then instead of running man, run ‘man2 mpathadm’ and you’ll have a much more readable manpage.