Quick Links

Club PA 2.0 has arrived! If you'd like to access some extra PA content and help support the forums, check it out at patreon.com/ClubPA

The image size limit has been raised to 1mb! Anything larger than that should be linked to. This is a HARD limit, please do not abuse it.

Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.

Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

Know what I love about Linux? Mirrors. I'm in Indiana, so: Why hello there Indiana University's mirror of {lots of distros}. Hello to you too, Purdue University's mirror of {lots of distros}. And GA Tech's mirrors always seem lightning-fast.

This post brought to you by too much coffee this morning while installing arch in a VM.

I use powerpill as an interface to pacman. It accepts the same arguments as pacman (and has some extras), but uses aria2c for simultaneous and segmented downloading from multiple sources. It also retrieves a list of the most recently updated mirrors and can also rank them by speed (I never need to rank them).

Know what I love about Linux? Mirrors. I'm in Indiana, so: Why hello there Indiana University's mirror of {lots of distros}. Hello to you too, Purdue University's mirror of {lots of distros}. And GA Tech's mirrors always seem lightning-fast.

This post brought to you by too much coffee this morning while installing arch in a VM.

I use powerpill as an interface to pacman. It accepts the same arguments as pacman (and has some extras), but uses aria2c for simultaneous and segmented downloading from multiple sources. It also retrieves a list of the most recently updated mirrors and can also rank them by speed (I never need to rank them).

what?

It uses voodoo to do things like downloading multiple packages at the same time and downloading pieces of a single package from multiple sources to maximize download speed.

It (the underlying program that actually does the downloading) is also smart enough to cancel a download from a slow source that you may be using and use a faster source that you have already downloaded a piece of the file from.

Lemmings was pro-Communist propeganda. All are created equal, sorted into specific jobs and roles that they will hold for the rest of their lives by a higher authority, and must sacrifice continuously for the good of the group. Success is measured by meeting quotas and nothing else. Also, nuclear holocaust.

Lemmings was pro-Communist propeganda. All are created equal, sorted into specific jobs and roles that they will hold for the rest of their lives by a higher authority, and must sacrifice continuously for the good of the group. Success is measured by meeting quotas and nothing else. Also, nuclear holocaust.

Okay, so I'm about to flip out over my attempt to set up a test environment for my websites on my Ubuntu LAMP machine. I had originally set up apache to use /var/www as the DocumentRoot. However, since I'm testing multiple sites, I have them checked out from SVN to /var/www/site1/trunk, /var/www/site2/trunk, etc. As you can imagine, having your site address as home-PC:port/sitename/trunk makes it difficult to formulate paths that work both at home and at the real web host.

So, I next tried to set up virtual hosts. My aim is to have each web site on a different port. I.e. SVN is being served on templewulf-LAMP:51008, while one site is supposed to be served on templewulf-LAMP:51001. Unfortunately, every time I try 51001 it redirects me to 51008. What do I do about this?

Having been intrigued by Linux for awhile, I finally decided to try it out. Posting through my new Slax OS, woohoo! Since I've finally gotten wireless working on this, I'm probably going to sleep. Tomorrow I'll be working at getting Java installed, and moving Slax to a less dinky Flash drive (250 megs, it fit the OS, but now my changes directory has ballooned up to 32 megs just because of Firefox).

Okay, so I'm about to flip out over my attempt to set up a test environment for my websites on my Ubuntu LAMP machine. I had originally set up apache to use /var/www as the DocumentRoot. However, since I'm testing multiple sites, I have them checked out from SVN to /var/www/site1/trunk, /var/www/site2/trunk, etc. As you can imagine, having your site address as home-PC:port/sitename/trunk makes it difficult to formulate paths that work both at home and at the real web host.

So, I next tried to set up virtual hosts. My aim is to have each web site on a different port. I.e. SVN is being served on templewulf-LAMP:51008, while one site is supposed to be served on templewulf-LAMP:51001. Unfortunately, every time I try 51001 it redirects me to 51008. What do I do about this?

to restart the daemon and get it to include the latest config changes then:

httpd -tD DUMP_VHOSTS

to get a list of virtual hosts running on your machine.
If your svn site(s) aren't listed, you might want to check for appropriate include lines in your master configs and make sure the .conf files you are editing are actually being read.

to restart the daemon and get it to include the latest config changes then:

httpd -tD DUMP_VHOSTS

to get a list of virtual hosts running on your machine.

I've been using init.d/apache2 restart for my changes, so I'm pretty sure that's working. I restarted with apache2ctl, but I couldn't find an httpd command with which. Is it a service or something?

If your svn site(s) aren't listed, you might want to check for appropriate include lines in your master configs and make sure the .conf files you are editing are actually being read.

The weird thing is that my SVN URL is fine. I have the DocumentRoot as /var/www, and index.php is working there. The Location /svn for host templewulf-lamp:51008 leads to the repository, and that works too.

I added a virtual host for port 51001, and that should lead to e.g. /var/www/site1/trunk, but it gets redirected to templewulf-lamp:51008.

Hmm, installing Java is being more of a bitch than at first anticipated, and the only advice I can find on the Slax forum is "Download this unverified module I made."

Granted, everybody I see on those forums recommends using unverified modules, but even if they were safe, I'd rather learn how to fish rather than have to hope that everything I want has been converted to .lzm and put up on the Slax site.

Lemmings was pro-Communist propeganda. All are created equal, sorted into specific jobs and roles that they will hold for the rest of their lives by a higher authority, and must sacrifice continuously for the good of the group. Success is measured by meeting quotas and nothing else. Also, nuclear holocaust.

httpd should just be a program that takes arguments. Details here in the Apache 2 docs on-line.

So if it's not already in your path, you might have to go looking for it. Uh /etc/bin/ maybe?
Theoretically apachectl should also take exactly the same arguments but I've not had that work for me ever; YMMV however.

The includes look right though, since you're adding the virtual host in a .conf that's in a location covered by them....

Also it occurs to me that you might want to define a DocumentRoot for your second vhost; I think I remember something about failing over to the default parameters if the extras don't define them or something.

httpd should just be a program that takes arguments. Details here in the Apache 2 docs on-line.

So if it's not already in your path, you might have to go looking for it. Uh /etc/bin/ maybe?
Theoretically apachectl should also take exactly the same arguments but I've not had that work for me ever; YMMV however.

The includes look right though, since you're adding the virtual host in a .conf that's in a location covered by them....

Also it occurs to me that you might want to define a DocumentRoot for your second vhost; I think I remember something about failing over to the default parameters if the extras don't define them or something.

Well hurf-fucking-durf. I just picked the first site to migrate to a new virtual host by alphabetical order. That site happened to be a wordpress site which redirects URLs to those stored in wp_options in mySQL. *facepalm*

Thanks for helping me find my nose on my own face, Mr_Rose!

edit:
I tried find-ing and grep-ing all over the file system, and I never did find httpd.

Man, good thing I didn't really accomplish much on that install. Managed to mess things up real good, forcing me to eventually reformat the mp3 player it's loaded on. But at least I'm getting a feel for linux and the terminal, so I should be able to redo everything much quicker now (and I have a plan of attack for Java now, realized I shouldn't be downloading the RPM version).

OK so Arch and OpenBox are outstanding. Trying to find a way to force a title on an application (i.e. make Chromium always show up in the pager as Chromium instead of the current page's title) and my google-fu is apparently too weak.

Agreed. I got Arch + OpenBox up and running on a virtual machine this weekend, it only took me 2 tries!

It was pretty educational. Maybe this fall when I'm back in school I'll switch my main machine over. Shouldn't be playing all those games anyways.

Can you elaborate on what's so outstanding about them? I tried OpenBox, but all it seemed to be was a lighter WM on top of Gnome (on top of Ubuntu).

Openbox really shines when you're not running it on top of Gnome. Login times are instant (although at the expense of everything but a right click menu by default). You can also pair it with a lightweight taskbar and file manager to get something both feasible for long-term use and amazingly snappy.

Agreed. I got Arch + OpenBox up and running on a virtual machine this weekend, it only took me 2 tries!

It was pretty educational. Maybe this fall when I'm back in school I'll switch my main machine over. Shouldn't be playing all those games anyways.

Can you elaborate on what's so outstanding about them? I tried OpenBox, but all it seemed to be was a lighter WM on top of Gnome (on top of Ubuntu).

Openbox really shines when you're not running it on top of Gnome. Login times are instant (although at the expense of everything but a right click menu by default). You can also pair it with a lightweight taskbar and file manager to get something both feasible for long-term use and amazingly snappy.

I'm running Crunchbang 10 alpha 1. I'm having some trouble mounting a portable HDD. Usually what happens is I turn it on, and it auto-mounts it. In previous #!s, it would auto-detect it and add it to the "favorites" side pane in Pcmanfm and I'd have to click it, but it was still pretty painless.

Recently, it's taken to popping up a dialogue telling me I don't have the privs to mount it. I've found that if I just turn it off and on often enough, it'll work its problem out by itself and just work, but it's annoying that it's happening at all. How can I force this bitch to mount?

I can see the device using lsusb, but I can't mount it because it's "not a block device".

Unfortunately I can't be much more specific because it's working properly at the moment, but... any general tips on this sorta thing?

I'm running Crunchbang 10 alpha 1. I'm having some trouble mounting a portable HDD. Usually what happens is I turn it on, and it auto-mounts it. In previous #!s, it would auto-detect it and add it to the "favorites" side pane in Pcmanfm and I'd have to click it, but it was still pretty painless.

Recently, it's taken to popping up a dialogue telling me I don't have the privs to mount it. I've found that if I just turn it off and on often enough, it'll work its problem out by itself and just work, but it's annoying that it's happening at all. How can I force this bitch to mount?

I can see the device using lsusb, but I can't mount it because it's "not a block device".

Unfortunately I can't be much more specific because it's working properly at the moment, but... any general tips on this sorta thing?

Are they using the new GIO pcmanfm? I know the latest Thunar uses a different mechanism then the Xfce Desktop to mount drives, so you get that problem when trying to unmount drives in Thunar that were mounted on the Desktop (automounting also breaks).

OK so Arch and OpenBox are outstanding. Trying to find a way to force a title on an application (i.e. make Chromium always show up in the pager as Chromium instead of the current page's title) and my google-fu is apparently too weak.

Never used openbox but Arch is the best distro I know of for learning. I used it for a few months before switching back to ubuntu (I'm lazy and arch is too much work) but I feel much more confident about manually modifying my system because of it.

donkyhotay on May 2010

Do not be afraid to joust a giant just because some people insist on believing in windmills.
Free Moonbase Commander remake @ http://code.google.com/p/tether