Sunday, October 21, 2012

Convert RHEL 6 to CentOS 6



If you are using RHEL 6.x and you want to move to the free CentOS 6.x, it is very easy to do this migration.

Open terminal and enter the following commands by order:

# yum clean all

- Create CentOS directory

 # mkdir ~/centos

- Cd CentOS directory

# cd ~/centos

- Download the packages

# wget http://mirror.centos.org/centos/6.0/os/x86_64/RPM-GPG-KEY-CentOS-6
# wget http://mirror.centos.org/centos/6.0/os/x86_64/Packages/centos-release-6-0.el6.centos.5.x86_64.rpm
# wget http://mirror.centos.org/centos/6.0/os/x86_64/Packages/yum-3.2.27-14.el6
.centos.noarch.rpm
# wget http://mirror.centos.org/centos/6.0/os/x86_64/Packages/yum-utils-1.1.26-
11.el6.noarch.rpm
# wget http://mirror.centos.org/centos/6.0/os/x86_64/Packages/yum-plugin-fastes
tmirror-1.1.26-11.el6.noarch.rpm

- Now enter the following commands by order to import CentOS key, install the downloaded packages and to upgrade to CentOS 6.x

# rpm –import RPM-GPG-KEY-CentOS-6
# rpm -e –nodeps redhat-release-server
# rpm -e yum-rhn-plugin rhn-check rhnsd rhn-setup rhn-setup-gnome
# rpm -Uhv –force *.rpm
# yum upgrade

Now reboot and enjoy.

Exclude kernel updates in yum

Many times I have set up my NVidia driver in Linux only to clobber it during an update of patches because a new kernel was available.

Well, I run on a laptop, and I don't care about new updates to the kernel. So, I did the following:

Add "exclude=kernel* to /etc/yum.conf

That's all.  Happy days are here again.

Monday, September 17, 2012

Adding GDM to Solaris 11

To add the required packages to the system, the slim_install package has to be added. This adds an additional 368 packages to the system.

root@orion pkg install slim_install
           Packages to install:   368
       Create boot environment:    No
Create backup boot environment:   Yes
           Services to restart:    13
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              368/368 42204/42204  410.5/410.5
PHASE                                        ACTIONS
Install Phase                            67952/67952
PHASE                                          ITEMS
Package State Update Phase                   368/368
Image State Update Phase                         2/2

root@orion# pkg uninstall slim_install
     Packages to remove:     1
Create boot environment:    No
PHASE                                        ACTIONS
Removal Phase                                828/828
PHASE                                          ITEMS
Package State Update Phase                       1/1
Package Cache Update Phase                       1/1
Image State Update Phase                         2/2

root@orion# svcs gdm
STATE          STIME    FMRI
disabled       12:26:40 svc:/application/graphical-login/gdm:default

root@orion# svcadm enable gdm
root@orion# svcs gdm
STATE STIME FMRI online 12:38:11 svc:/application/graphical-login/gdm:default
After this, reboot. Next uninstall the slim_install package, which removes only one package. The other 367 packages are dependencies of slim_install. Once GDM is enabled, the screen shows some activity, and then the familiar GUI login prompt.

Thursday, May 24, 2012

Proper Speaker Setup


Stumbled across this on the web. Good stuff.
source


SUMIKO “IRON CHEF” SPEAKER SETUP PROTOCOL



This protocol was presented to me by John Hunter the owner of Sumiko. They are USA distributors for SME, Sumiko, Sonus Faber, Vienna Acoustics, REL and others. This is the best room set up tool I have ever used.


The most critical part is getting the speaker rake angle adjusted after you have them finally situated. So I hope your speakers have spikes. You will need them to set the rake angle.


If you have no spikes, you can get door shims at Home Depot or Lowes. These are wedges are used to hang the door frames to the studs surrounding the doors. There will be people to help you find these shims. They are inexpensive and you can use them to figure the angle you need, and then find something more in tune with your decore to provide the final angle.


So here is the Iron Chef Speaker Set Up Protocol
Proper speaker set up requires music. John Hunter of Sumiko uses a Rob Wasserman song featuring Jennifer Warnes called "Ballad of the Runaway Horse". You will find this on his “Duets” cd and his “Trio” CD as well. This is the best set up song I have ever found. So get a copy of this. You will always be glad you did. Another tool I like to use for fine tuning the speakers is Bob Chesky's Jazz Sampler Number 
1. Cuts 10 and above really help you nail it down solid.


Step 1 will be to remove whatever removable sound absorbers you have. Take them out of the room. Anything that is permanently fixed and all your furniture and stuff are ok to leave alone.


Step 2 recommends you either remove the speaker stand spikes to make moving the speakers easier, or at least level all the spikes so the speaker is completely level. If you own heavy speakers you are probably better off adjusting the speakers with the spikes in place and set level.


Step 3 is to establish your listening seat. Optimally you will set up the speakers and your listening seat in the shape of an triangle. I like my speakers at least 8-12 ft apart and the listening seat 12-15 ft back. When properly set up, the speaker will be out at least 18” from the rear boundary wall. Your listening seat likewise should be at least 24 inches from a back boundary.


Step 4 places both left and right speakers directly against their wall facing straight out into the room. No inward “toe in” angle should be attempted yet.


The left speaker is going to become the anchor for the set up.


Step 5 gets you grooving. Now you can begin playing the “Ballad”. What makes this song so effective for set up is that the plucked string bass is at realistic volume at realistic timber. So the goal is to get the bass properly coupled to the room and the drivers.


Play this track at volumes where you can easily detect bass quality. I am usually between 80-95 db when I do a set up. Sometimes you will need to crank it up a bit. 


Just make sure it is loud enough to fully engage the room.


Step 6 involves a buddy. Have your buddy slide your left speaker (the anchor) out into the room until the bass becomes solid and authoritative. Mark this spot with some masking tape.


Now slide the speaker right and left to find the best bass quality. Mark this spot.


Now slide the speaker further out in the room to find other points where the bass couples properly in your room. There are likely to be a dozen spots within a 3 ft diameter of your first spot. Be patient. 1/3 of an inch is all that differentiates a good bass quality from a lifeless bass sound.


Listen to all of these good bass points until you find your favorite bass spot.


All this is done with just the left speaker playing straight out. The right speaker is playing straight into the room from the back wall. Each speaker playing at the same volume.


Step 7 establishes the “toe in” angle of your left speaker toward your listening seat. You want the widest possible sound stage without the sound being too thin. I usually end up seeing about 2/3 of the inside wall of the speaker when I have this about right. Do not toe in excessively, you will just ruin your sound stage. A little dab will do you! If the toe in is right, the sound will be very natural, if it is too wide the sound will be thin, and with too much the sound will seem to come from two speakers not from the space in between.


Your anchor is now set. Mark this spot carefully with masking tape.


Step 8 requires reinsertion of the left speaker's spikes leaving the speaker level at this time.


Step 9 is to set up the right speaker position. Simply slide or move the right speaker out into the room. Move it slowly listening for the sound stage to line up equally before you. By this I mean a stage is flat in front of you. The sound stage should not sound tilted, like one speaker sounding closer to you than the other. 


Remember to keep the speaker oriented directly straight ahead. No angle yet.


Step 10 involves moving the speaker right and left until you hear the soundstage become cohesive, and Jennifer should sound like she is right dab in the middle.


Step 11 Then toe in the angle the speaker very slighly until you hear Jennifer Warnes voice become a “body” centered in the sound field. You will hear the sound congeal nicely at this time. Things are really beginning to sound better now.


You should now have accomplished sound coupling of the speakers to your room boundaries. To test if this is the case, you should be able to stand directly over either speaker and clearly hear the other speaker.


It may be necessary to make very minor angle adjustments of the right speaker to get her voice centered. Be patient and you will be rewarded.


Now if the sound stage is not linear, meaning one speaker sounds more forward than the other, then simply slide that right speaker front or back until the sound field is "level." (Moving it right or left adjusts the centreing of Jennifer Warnes voice).


Make sure you mark the final location of both speakers with masking tape.
Insert the right speaker spikes.


Step 12 begins with adjustments to the rake angle of the left speaker. You accomplish this by adjusting the spikes to get the speaker level across the front, and raked back to get the beam of the tweeter firing above your ears. You need to listen to the quality of Jennifer Warnes voice. She should appear to be ear level or slightly above ear level in the sound field. This is a personal choice. Many of my friends prefer ear level because it is a slightly fuller sound. I prefer a little above ear level cause I like the voice to sound ultra natural, like a live musical event.


Carefully listen to the tweeter response of the left speaker and make sure that the "beam" is at least an inch or two above your ear when you are seated in your listening seat.


Step 13 begins by adjusting the spikes on your right speaker to match the "height" of the left speaker.


At this time, you should hear her voice almost as a whisper, when originally it may have sounded shrill and harsh. Her voice should be centered in the sound field now, with solid and good quality bass.


Step 14 suggests you take measurements of the speaker location to the walls. Take digital photos. Someone will mess with your set up some time. You need to have these so you don't have to repeat the process unnecessarily. When you have this locked in, don't let anybody touch your set up!


I like to follow up the set-up with some confirmation tests. I prefer the Bob Chesky Jazz Sampler 1 CD. On cut 10 the speaker starts out 2 ft from the microphone in center stage. Then he moves midway right, full right, and off-stage right. He then repeats this on the left. Simply slide your right speaker right or left to get the sound staging perfect. Then use cut 11 which is “Over”, “Lateral”, “Under” and “Up” to verify your rake angles.


Your friends will be amazed. Just two CD’s let you make the magic. Rob Wasserman’s Duo or Trio CD, and Bob Chesky’s Jazz Sampler 1.


Step 15 bring back any sound absorbers and reflectors to see if you can improve upon the sound. But don't touch the speaker’s location.


What you have done, in short, is to couple the speaker's response to your room based upon your listening seat.


This process will take me 20-30 minutes or longer. On your first dozen set ups it may take longer.


Having a buddy slide your speaker is much faster and easier. If you have hard floors instead of carpet, you can set the speaker on a soft towel to assist in the sliding.


Make sure your buddy stands behind the speaker when he/she moves it, because their body will affect the sound if they stand along side of the speaker.

Tuesday, May 8, 2012

Add a Directory to Apache Web Server

Needing to share ISO images on our SLW (Shitty Little Webserver) at work, I added a disk mirror, and mounted on /data.  Now, how do I add that to the document root on the web server?

Well, a quick look around the inter webs shows this:


Alias /data /data/outside/documentroot

     Order allow,deny
     Allow from all


Added to httpd.connf

Thursday, January 26, 2012

Stereo

In the processes of moving it upstairs.  Ordered art as well.  It is photos of the stereo on canvas.  Can't wait...

Getting Rid of Chooser in RHEL 6

Without the GDM configuration tool in RHEL 6, it takes a bit of command line to remove the user list.

# su -s /bin/sh gdm
sh-3.2$ gconftool-2 --direct \ 
--config-source=xml:readwrite:$HOME/.gconf -t bool \
-s  /apps/gdm/simple-greeter/disable_user_list true
Also, you can add a message
sh-3.2$ gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -t string \
-s /apps/gdm/simple-greeter/banner_message_text 'Your banner message'
sh-3.2$ gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -t bool \
-s /apps/gdm/simple-greeter/banner_message_enable true

Friday, January 6, 2012

Catherine Wheel - Ferment

One of the best bands ever from the 90's.


Sunday, January 1, 2012

Three Fingers


Messing on the computer with the magic mouse.

Me:  wow, one finger swipes go back and forth in safari

Me: neat, two fingers change virtual desktops

Me: i wonder what three fingers would do

Ceri: you're gross

The Dream is Always the Same

It begins to die.

But we knew that was going to happen, didn't we,

2012

Happy New Year