Archive for the ‘Linux’ Category

Bind9 How-to in Ubuntu

Saturday, October 20th, 2007

I struggled a whole day getting bind to work properly after looking at 50 how-to’s and 100 some odd forum posts I got it to work.  Kinda silly it took this much work to get it working.  *shrug*

  1. Install bind: sudo apt-get install bind9
  2. Generate a new key (why the default one dosn’t work, but i couldn’t ever get it to): sudo rndc-confgen -a -b 128 -r keyboard
  3. Copy the output into a file or just to your clipboard.
  4. Open your named.conf, in it (probably very top would  be best) enter the info from the previous output.
  5. Example: key “rndc-key” {
    // how was key encoded
    algorithm hmac-md5;
    // what is the pass-phrase for the key
    secret “<your special key>” ;
    };
  6. Now you should create a rndc.conf file, it should look like this: options {
    // what host should rndc attempt to control by default
    default-server localhost;
    // and what key should it use to communicate with named
    default-key “rndc-key”;
    };server localhost {
    // always use this key with this host
    key “rndc-key”;
    };

  7. key “rndc-key” {
    // how was the key encoded
    algorithm hmac-md5;
    // what’s the password
    secret “<your special key>”;
    };Check and make sure you have a rndc.key file, it should look like this: key “rndc-key” {
    algorithm hmac-md5;
    secret “<your special key>”;
    };
  8. Now everything should work, just setup your databases and give it a try.  Let me know if it dosn’t work, I’ll see if Ileft something out

Skylight

Thursday, July 12th, 2007
Found this little app on digg today. It’s a windows version of (linux) Katapult and (Mac) Quicksilver. Very handy for quickly finding/launching applications or files. So far seems pretty nice.

You tell ‘em!

Friday, June 15th, 2007
Mark Shuttleworth: A great man for the linux community. Without him, we wouldn’t have a wonderful distro such as Ubuntu. He has provided a ton of ideas and helpful pushes to help Linux hit the desktop and hit it hard. In a conference with a bunch of other Linux leaders, he pushed to get everyone to work together on squishing bugs and getting patches out faster. Also to give a central location to discuss problems on projects. This is THE idea that should be out there. I mean there are TONS of distros out there, as well as multiple applications that do the same thing. He wants to get the community together for those working on apps for gnome and KDE to talk to each other so to combine projects or at least help them design the projects faster due to problems run into by one developer is probably gonna get run into by another developer. I whole heartedly would love to see this become a reality. There are lots of hands to help, but each on is in a different kitchen and no one is helping each other.

Go Mark! You Tell ‘em!

Is that Vista in your pocket or are you just happy to see me…

Tuesday, February 6th, 2007
Now I’ve tried Vista (Ultimate so I dunno how the lower versions are). There are some nice new features, but its just a bunch of copy write infringement they are getting away with. Most everything in vista is a copy of some other operating systems *CoughOSXCaugh* but there are a few Microsoftiszums they threw in there to make it look and feel like crap. Personally there are types of operating systems for types of people.
  • You got your laid back some eye candy but not too much but like a bit of flavor in their cup; thats OS X.
  • You got your geeky want more outta their operating system and want it to look exactly how they want and feel just as they want, and if so inclined have lots of eye candy; these are Linux people.
  • If you want generic gaming virus getting spyware infected no clue what your doing (cept for the ones who do, who use it only because they have to, or for some strange reason actually like it) fucked up and bloated; You’ve got Windows. Ever notice M$ bases its success by the lines of code they have? Personally I would be more impressed that they were able to reduce the lines of code in the core of their os, but they’d never say that. Bloat is good.

Rant done..

BTW, I’m just happy to see you.. ;-D

sudo apt-get update…

Thursday, February 1st, 2007
So its been a little bit since I last posted, theres a good reason for this. Last few weeks I’ve been mad study’n for physics and calculus. The calculus hasn’t been that bad so far, but I suspect that it will get worse. However, physics has been a big zit on my ass. I do admit its starting to get better, just gotta open your mind and let the shit pour in. Physics, in my mind, is a bit common sense and a bit bullshit. Once you get past the bullshit, it all makes sense ;-). Other then that my C++ class takes up a good amount of time. Thankfully my good friends Andy and Suzie (who are engaged now, they’re so cute…) are in the class too so we all work on the program together. It helps. Oh yeah my last class, econ; I don’t think I actually not slept in the class as of yet. *shrug*

Oh, started a new workout routine! I’m gonna start swimming on Tuesday and Thursday (my only days I can get to the pool before 7:30 when lap swim is done) and strength training on the other days. Had the cutest personal trainer the other day show me the kinda work out I probably should do. She had these bright blue eyes, I’m just a sucker for blue. All the really cute ones that talk to me are generally taken though, *shrug* oh well. In a few weeks after doing this routine though my abs are gonna be frigg’n rock, you can already see the 6 pack come’n back.

In other nues (yay i made a new word) some how I phucked up my Linux box a bit. I got an itch and decided to install some 36 gig 15K scsi320 drives in a raid0 array. Instead of reinstalling I just DD’d each partition over to the nue drive(s). Normally one wouldn’t think this would be a problem, but for some reason after that my system became really slow. I dunno if I phucked up some files during the DD or what. *shrug* And rather then digging though and try’n to find out what got screwed up , I think I’ll just try something new. Been meaning to anyways. I like change. Back in the day I was a Gentoo man before I became a Ubuntu bigot, and after I saw the setup Sayabon, I might have to give it a whirl once more.

I think thats all. For those who have no clue what my titles means, here it is in lamen terms: “Update the local list of installable packages.” Linux n00bs out there (sorry Andy I had to use it) may not be aware but there are several different ways of getting programs installed on linux.

  1. RPM: the most well known, useful mostly. I hate RPM, they are usually a pain in the ass, but it is the most common package for Linux
  2. DEB: really only used on debian distrobutions; such as of corse Debian, [K|X]Ubuntu, I’m sure there are more, I know Knoppix uses it on its back end.
  3. BIN: bianary packages or .bin installs are common for installs that are made for any distrobution, these aren’t very popular because you have to use the command line and many package based installs are try’n to get away from the console, it scares people.. *caughwindowzbigotscough* scuse me..
  4. Soure: Popular/Not Popular way of installing. Its nice because you get tons of options when installing them and can even optimize the compilation to run faster on your machine because it uses specific cpu instruction sets specific to you machine. (not the best option if you wanna package the binary up and spread the love) but compiling takes tons of cpu cycles, however can be pretty to watch… Shutup! I think it is!
  5. Other: There are actaully several other ways people have created to install packages on any system. One is .run installs. Generally download them with the +X already active so all you do is double click on the file and opens a nice gui to install. .package is another one, not so popular but ultimately nice idea. I could keep naming them, but I think I’m geting a bit off topic here. *shrug*

Ok class time over. Hope you enjoyed the

$ sudo apt-get update

VirtualBox Reloaded…

Thursday, January 25th, 2007
So after trying a few OS’s on good old VirtualBox, not sure I would put my faith in it just yet. Ubuntu wouldn’t boot at all. Well I take that back, It booted, but would just stop after the auto login. In fact I haven’t gotten a live CD to work yet. Also tried Sabayon, no good there either. They all complain about the CD drive missing. Quite a bummer. Fedora Core 6 installed without a hitch though. I haven’t tried windows, but I would suspect it would install fine, Windows generally doesn’t care what you put it on till after its installed. At least Linux has the decency to not work right off the bat so you don’t waste your time. LOL. I guess thats why I still have this shitty 1.7 p4 Compaq lay’n around for just such of occasions.

On another note, was messing with XFCE 4.4ish (the one that came off Ubuntu reps was the RC1) and I have to say it’s come a long way. I’m tempted to load it up on my laptop instead of KDE to conserve memory and processor power. I kinda wanna load it up on my main box to test out 4.4’s new gui effects like transparent windows and what not.

Well, I guess thats all, oh hold on I gotta reload… *Moves mouse off edge of screen*

We don’t need no stink’n VMWare..

Monday, January 15th, 2007
VMWare has been around for a long while, and is a fantastic product. However, if you want to be a law bidding internet go’re, its not in the price range of someone like me. Low and behold, VirtualBox has become open source and our savior! There are a few VM applications out there such as qemu, but they aren’t as user friendly as VMWare. VirtualBox its a good substitute and its FREE. Also its cross-platformed, so far it seems pretty smooth. The install was a breeze, they had an Ubuntu package for the recent releases. I didn’t however see any RPM’s, which doesn’t bother me to much, not a fan.

To test it I decided to give Fedora Core 6 a whirl as well as the new Ubuntu test. The mouse control was quick and responsive, video looks good. I’ll put an update once I get a few installed and working. Maybe even though Winblows on there.

The only problem I ran into is that I have to run it as root, which I don’t like so much, but I’m sure I’m just do’n something wrong.

The quest of the One Piece episodes…

Wednesday, December 20th, 2006
So looking at my One Piece folder I realized it has 42 gigs of episodes, this isn’t including the new episodes that are stored on my Linux box which now have a majority of my storage capacity. The realization that came about after seeing that is, “Damn, I should really burn those before I lose them,” the other was, “Balls, I still have to replace the shitty episodes from way back when.”

I suppose for those who haven’t been a loyal watcher of awesomeness wouldn’t know the pain and sorrow that happened a year or so ago. At first I was getting my One Piece fix from Kaizoku-Fansubs, however at one point (episode 184) they (K-F) were kinda at a stand still for many many moons. This angered many one piece followers, including me, cause there weren’t really anyone else putting out fan subbed episodes. After lengthy search of torrent sites proved to have the episodes that were missing. Even though K-F was at ep 184, the series was actually much further. However, after downloading the episodes several things were discovered:
  1. Realized I was still missing a few episodes between Arcs (different sub-plot lines throughout the story as a whole)
  2. The quality of the videos looked as if someone used a slightly advanced form of etch-a-sketch to record the videos
  3. The translations were at best, off by a little bit. By a little bit, I actually mean a bunch. By a bunch I mean you had to wonder if the person who translated it actually knew English. Here’s an example: Luffy was Ruffy, Zorro was Rollo or something, but thats just names, I really don’t have the energy to go though the old episodes and pick a few phrases, just take my word for it. (Imagine the US releases but worse…scary I know)

When I was able to pick back up on a fan sub group who actaully cared about translating and video encoding, I swore I would replace those pitiful excuse for episodes when they were released. A quick look back at K-F’s site they are now caught up to 208. Now 219 is when the good quality episodes picked up, so not much further to go.

The main reason this suddenly peaked my interest is that I’ve been wanting to make a ringer like the den den mushi phone type psychic snails they use to communicate over long distances. I found one sound byte from episode 76 (very good arc), although I’m not all that happy with the way it turned out. One of these days I’m gonna go on a hunt though the episodes to find a better sound byte (yes I know I’m not using the right form of the word, but it has a comical value to me). I suppose while I’ll be hung out at work with nothing to do for the rest of the week would be a good time to do so. *shrug*

Anyways, what I’m really trying to say is; “I, HATE, SAURERKRAUT, thats really what I’m trying to say here…

Ha ha! I had to put that in there, couldn’t resist. In actuality I like sauerkraut. *shrug* Moving on, if you know the episode where there’s a good two uninterrupted ring from a den den, please please let me know! On to the quest for the One Piece episodes!