Sunday, December 21, 2008

Intrepid Ibex

Since Ubuntu Intrepid Ibex has been out for a while now, I thought it would be safe to start evaluating it. I haven't heard any horrible things about it, so we'll see how that goes.

I spent this morning setting up a VM and started building my standard image. I really love dpkg --get-selections and dpkg --set-selections. It allows me to keep somewhat of a standard build when I upgrade to a new version of Ubuntu by doing a diff on my package list from previous versions.

Wednesday, December 17, 2008

Resizing / and qla2xxx cards

I wanted to expand the root partition on our Oracle RAC cluster which is all run from our XIOTech Magnitude (SAN). The servers all have a QLogic card to connect to the SAN. When I fired up the system rescue cd, which contains gparted, the qla2xxx module loads, but the filesystem on the SAN is not recognized. This is what I did to fix it:

uname -r - remember this
rmmod qla2xxx
insmod /lib/modules/kernelversion/kernel/drivers/scsi/qla2xxx/qla2xxx.ko

After that, type in dmesg. You should see some stuff related to [sda] and XIOTech at the very end.

At this point, launch gParted -- and it will automatically recognize your filesystem.

Monday, November 03, 2008

Extended Filesystem ACLs

Our ZCM10 servers have a directory which holds the desktop images. We want our desktop guys to be able to upload to this directory, but without knowing the root password. Extended filesystem ACLs came to mind, and this is how we set it up.

Linux_Admins is a LUM-enabled eDirectory group that the desktop guys are all in.

Also, make sure your partition is mounted with acl support, otherwise this won't work :)


setfacl -R -m g:Linux_Admins:rwx /var/opt/novell/zenworks/content-repo/images


user@host:/var/opt/novell/zenworks/content-repo> ls -l
total 20
drwxrwxr-x 235 zenworks zenworks 4096 2008-10-28 19:47 content
drwxrwxr-x+ 4 zenworks zenworks 4096 2008-10-30 14:09 images
drwxrwxr-x 5 zenworks zenworks 4096 2008-10-21 23:53 system-update
drwxrwxr-x 4 zenworks zenworks 4096 2008-10-29 08:48 tmp

Notice the little plus sign on the images directory permissions? That indicates extended attributes are in place.

user@host:/var/opt/novell/zenworks/content-repo> getfacl images/
# file: images
# owner: zenworks
# group: zenworks
user::rwx
group::r-x
group:Linux_Admins:rwx
mask::rwx
other::r-x

There ya go! In addition to the zenworks group having permissions, the Linux_Admins group now has rwx permission to the images directory.

Sunday, October 05, 2008

Rebuilding my laptop

I was running Linux on my laptop for a while and pretty much lived within virtual machines.
I think down the road it will be possible to run Linux on the desktop in my environment, but right now the older Novell stuff requires Windows to admin it. I put Vista back on my laptop and here is some software that I have installed:

Work:
Office 2007
Blackberry Desktop Manager
Lotus Notes
Aventail
iPass
Groupwise Messenger
VMWare Workstation 6.5
Novell Client for Vista w/ Patch 6
nLite
vLite
Windows AIK
Bart PE
Novell iFolder
iManager Workstation

Standard:
Firefox
Google Talk
Google Earth
Google Chrome
Flash
Java
Better Gmail
Better GReader
Better GCal
Launchy
DownThemAll
Google Toolbar
iMacros
Google Gears
Ultra VNC
Notepad++
Adobe Reader
Picasa
VLC
GIMP
Isorecorder
daemon tools
cdburnerxp
PuTTY
WinSCP
XMing
Filezilla (client and server)
nmap
wireshark
windirstat
TrueCrypt
virtuawin
cutepdf
SyncBack

* This is still a work in progress. I will be modifying this as time goes on.

Saturday, September 20, 2008

gTwitter

I decided to try and get back into Twitter again. This time instead of refreshing a website every 5 minutes or checking my blackberry, I installed gTwitter. I had previously been using Twitux, but I just didn't like it for some reason.

Thursday, September 18, 2008

Remember the Milk

I've been using Remember the Milk to help me keep track of my to-do's at work. I've even gotten another guy to use it as well and we can share lists and assign each other tasks. It is pretty nice for me to be able to see some of the stuff coming in the pipe and where he is at on certain things.

I'll be in Miami for the next 6 days for work, and then a town outside Des Moines, Iowa for 5 days.

Monday, September 15, 2008

Ubuntu Hardy, Firefox 3 & Flash

I've had nothing but trouble since upgrading to Hardy in regards to Firefox 3 and Flash. I decided to remove the packages provided in Hardy for flash and compile Flash 10 RC . Since doing so, I haven't had Firefox crash on me once.

Tuesday, August 05, 2008

My Current Desktop


Screenshot1
Originally uploaded by awbassett1

Hardy and Compiz Fusion

Previously, I have not been a fan of Compiz/Beryl/AIGLX/XGL, as it did not really improve my work, it only got in the way. When I upgraded to Hardy, I decided to give Compiz Fusion a go.

Once I enabled 'Extra' Visual Effects in the Appearance application (System --> Preferences --> Appearance), I went about installing the Emerald Theme Manager.

sudo apt-get install emerald compizconfig-settings-manager

I ran across the problem of the emerald-themes package not being available as well as Emerald no longer allowing you to download the GPL'ed themes.

I downloaded the package from here:
http://mirrors.kernel.org/ubuntu/pool/universe/e/emerald-themes/emerald-themes_0.2.1-0ubuntu1_all.deb

and then:

sudo dpkg -i emerald-themes_0.2.1-0ubuntu1_all.deb

The next step is to install the tray icon for Compiz Fusion.

sudo apt-get install fusion-icon

Next, go to Applications --> System Tools --> Compiz Fusion Icon. Right click on the blue cube next to your clock and go to 'Select Window Decorator' and choose 'Emerald'.

Once this is switched, go to System --> Preferences --> Sessions. In Startup Programs, click Add. In the Name field, type in Compiz Fusion Icon, and in the Command field, type in fusion-icon.

To access the Emerald Theme Manager, go to System --> Preferences --> Emerald Theme Manager. I decided on rezlooks-pastelgreen-1pxb.

Thursday, July 31, 2008

Flickr Page

I started a Flickr page yesterday - I was a loyal user of Picasaweb since before it was public, but I've been having some problems recently. After discussion with Jgib, who pointed out the pricing structure, I think I'm going to give a stronger look at Flickr.

My Photostream

Thursday, July 10, 2008

Changing UIDs

On my work laptop running SLED10SP2, my local user has a UID of 1000. My eDirectory (LUM enabled) user has a uid of 603. If these UIDs are not in sync, this can cause some weird things to happen (which I'll address in future blog posts).

I changed my UID with YaST to 603 and rebooted my system. When I logged back in I couldn't access any of my data or use programs, as the files became orphaned.

I ran the following command to search for orphaned files and dump them to a text file.

$ find / \( -fstype ext3 \) -nouser -print > orphaned.txt

Once that was finished, I wrote a script to take the orphaned files and chown them (awb4422 is my username).


for file in $(cat orphaned.txt)
do
chown awb4422 $file

done

Everything works fine now :)

Friday, June 27, 2008

The Planet is Back!

Planet Ubuntu Chicago is back online. This post is a test to see if I'm still syndicated.

Wednesday, March 19, 2008

Vista SP1

Windows Vista SP1 hit yesterday and I immediately installed it on my home machine and work laptop. I really only had one big gripe with Vista, that being the speed of file copies, both local and remote. Once I applied the update, things greatly improved. I would say it is now on par with W2K and XP, although I don't have any statistics to back this up.

I'm sure I'll be reading about how awful SP1 is, or how bad Vista is, but I have to be honest -- I do not agree with what I've been hearing. I've called a few people out on their gripes and they admitted to never even using Vista.

This weekend will be a good test for SP1, as I will be in Massachusetts upgrading some servers.

Sunday, March 02, 2008

VMware & SUSE

In preparation for our first Linux deployment at work, I began replicating our environment with VMware and Virtualbox (also to see which application I like better).

My base system is Ubuntu 7.10 running vmware-server (built from source, Ubuntu packages assume you use eth0, which I don't).

So far, I've built 2 Virtual Machines. Both are running SUSE Linux Enterprise Server 10 SP1. One is acting as an installation source for SLES10SP1 and OES2, and the other is server build we will be using.

My next VM to build is going to be Netware 6.5 SP7 to begin testing interoperability and having Linux and Netware boxes in the same tree.

More to follow.

Thursday, January 31, 2008

ncpmount

It sure has been a while, and I think planet ubuntu chicago is down, so I don't even know if anyone will read this.

I have been traveling around the country upgrading servers from Netware 5.1 to Netware 6.5 so we can begin upgrading to SuSE Linux. I've been to 15 - 20 cities since last summer, and I will continue going to more this year.

Anyways, while recently trying to use ncpmount to access a Netware volume, I ran into this bug:

https://bugs.launchpad.net/ubuntu/gutsy/+source/ncpfs/+bug/140464

Luckily, someone at work had the debs for the earlier version that works just fine.