Binaries: Speed Bumps for Server Admins

Setting up an IRC server is pretty simple as long as you make sure to read the man pages and any other information given (especially the INSTALL file). Of course, that doesn’t really work all that well when you go about things the way I did initially.

Photo by Forest & Kim StarrI first started researching different IRC daemons to use in Ubuntu Server, and settled upon one. Finding that there was already a binary for it inside the Ubuntu repository, I decided to go that route. Quick and easy, yeah? IRC set up painlessly and after a quick configuring of the ircd.conf, I thought everything was dandy. I logged in and queried NickServ to register my nick, only to find there was no such nickname or channel. Looking this up, I realized I needed to set up some Services. I found the package I wanted to use and set about configuring it for use. I got it to set up and everything was a-okay, except for the fact that I could not get global operator working.

Now, the server is internal and does not need a global operator, so that wasn’t too big of a deal. Deciding to go with a passworded server instead of going through and configuring ChanServ to manage things, though, seemed to be a rather big deal. The binary I was using does not have ssl enabled, which means I have to compile everything from source.

This is the way I originally was going to do it until I let the temptation of using a binary overpower me. From this I have learned that if you are going to do something super specific with an application, do not install a binary. It is one of those common sense no-brainers which we are susceptible to once in a while, especially when we have become used to installing applications from binaries. All I can do is shake my head and laugh. After all, it is a learning experience isn’t it? It is just another one of those “trust your first instinct” things that I ignored.

So, if you are going to be installing applications to a workstation or server, make sure you that the binary will do everything you want it to, otherwise you are going to end up having to take several steps back, configure, and compile from source. What are your speed bumps?

Posted in The Plank | Tagged , , | Leave a comment

Embed a Terminal Into Desktop

There are some neat things that I have been looking into for customizing my installation of Ubuntu 9.04, one of which is embedding a terminal into the desktop so that I don’t have to worry about closing it on accident (not to mention that it looks cool, too). Seeing as I have had to do this multiple times, I decided to write down the steps. While I know there are other tutorials, I spent too long looking for one that worked correctly (read: to my needs).

Software Required

  • Compiz must be running. You’ll also need CompizConfig, as detailed below.
  • Terminal (duh)

1. Getting Software

The first thing we will do is install CompizConfig. For this we will open up the Add/Remove application. For those new to Ubuntu, you click Applications, and select Add/Remove. After this opens, search for compiz and check Advanced Desktop Effects Settings (ccsm). Now search for irssi and check it. Click apply, and when the programs are finished installing, you can close the window.

2. Creating a Terminal Profile

For the embedding to work, we need to create a new profile for terminal. We need to do this because Compiz will change the behavior of the terminal depending on it’s title.

Open up a terminal (press Alt+F2 and type gnome-terminal). On the menu bar, select Edit, then Profiles. Click New and name it “deskie” (or whatever else you want to as long as it’s a unique name).

Under the General tab, uncheck “Show menubar by default”. Moving over to the Title tab, name it deskie (or what you named it before, if different) and set to “keep initial title”. Under the Colors tab, select White on Black, or whatever will suit your theme. Next we will move to Background. Set the Transparency to 0% or whatever fits your theme. Under the Scrolling tab, disable the scrollbar. After you’ve done what you want with this, close out of the profile editor.

3. Setting up CompizConfig

Now open CompizConfig (under System -> Preferences -> CompizConfig). The first thing we’ll do here is search for Window Decoration, and click on it. Under Decoration Window, we’ll replace “any” with “!title=deskie“, without the quotes. Now search for Window Rules. Enable it, then click on it. We’ll be adding “title=deskie” (without quotes) to:

  • Skip taskbar
  • Skip pager
  • Below
  • Sticky
  • Non resizable windows
  • Non minimizable windows
  • Non maximizable windows
  • Non closable windows

After these are filled in, go to the Size rules tab. Click New and add “title=deskie” and set the height and width you want the window to be. When you are satisfied, close CompizConfig.

4. The Aftermath

If you want to see what you’ve done, press Alt+F2 and type “gnome-terminal –window-with-profile=deskie” as the command and hit enter. You should now have a neat “embedded” terminal. To move it where you want, hold Alt, then click and drag.

If you want one to load on startup, go to System -> Preferences -> Startup Applications, and click Add. Name it “Embedded Terminal” and put “gnome-terminal –window-with-profile=deskie” as the command.

That should work, as it has for me. If you have any questions, comments, or concerns, feel free to let me know!

Posted in The Plank | Tagged , , | 1 Comment

Google Reveals M-Lab

As I was perusing computer and business news this morning, I came upon this interesting article. Google has revealed a new set of tools to help us Internet users figure out whether or not we are getting the Internet services we paid for. These tools are over at Measurement Lab. Perhaps one of the most exciting parts about this (other than the fact that we can now call our ISP’s bluff) is this:

M-Lab is intended to be a truly community-based effort, and we welcome the support of other companies, institutions, researchers, and users that want to provide servers, tools, or other resources that can help the platform flourish.

Naturally I had to try some of the tools out, but it seems that either their servers are very busy, or I’m just not having luck connecting to them. Even with that, M-Lab has entered my bookmark list and will be checked out again later. I can’t wait to see what comes of these tools! I am sure that their Glasnost tool will be quite popular.

Posted in The Plank | 2 Comments