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.
Barrakketh on
Rollers are red, chargers are blue....omae wa mou shindeiru
I wonder, why hasn't anyone made a version of that matrix screensaver that actually will use all of the character sets you have installed, instead of just latin characters
I wonder, why hasn't anyone made a version of that matrix screensaver that actually will use all of the character sets you have installed, instead of just latin characters
Because it's only recently that developers are taking notice of the existence of other languages.
I'm happy to say my crappy throwaway HTTP client supports IDN. :rotate:
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).
Peccavi on
0
Options
Mr_Rose83 Blue Ridge Protects the HolyRegistered Userregular
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?
Any ideas? Any other improvements I can make to my conf files?
Can you use httpd to check the current virtual hosts?
Use:
apachectl restart
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.
Can you use httpd to check the current virtual hosts?
Use:
apachectl restart
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.
Hm, I don't think I remember anybody using Slax or even Slackware extensively around here. Maybe Ubuntuforums.org or Arch-forums can help you? They're generally quite knowledgable.
Uh... httpd is the Apache web server daemon - if you have an accessible site it's there somewhere.
I know what httpd stands for, but I don't know if it's a program in a path, or a service, or what. Would it be named something else since I'm running apache2?
As for the other thing, does your master apache config file have any 'include' statements in it and if so, where do they point?
I've got the usual Includes:
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/
oh, and also phpmyadmin:
Include /etc/phpmyadmin/apache.conf
Mr_Rose83 Blue Ridge Protects the HolyRegistered Userregular
edited May 2010
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).
I feel like this was brought up the last time I posted a shot as well..
Visti on
[SIGPIC][/SIGPIC]
0
Options
LuvTheMonkeyHigh Sierra SerenadeRegistered Userregular
edited May 2010
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
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
Just wanted to say thanks to the people who suggested fixes for my video freezing problem. I haven't found the source yet, but I appreciate the suggestions.
Posts
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.
What. In Portugal we have close to a dozen and it's a smaller country!
It's the only app that requires windows for me (and 2010 has issues with wine)
"It's pretty much exactly like this. All the time."
Because it's only recently that developers are taking notice of the existence of other languages.
I'm happy to say my crappy throwaway HTTP client supports IDN. :rotate:
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?
apache conf files:
apache2.conf: no changes
ports.conf changes:
sites-available/default:
mods-enabled/dav_svn.conf:
Any ideas? Any other improvements I can make to my conf files?
Use: to restart the daemon and get it to include the latest config changes then: 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.
Nintendo Network ID: AzraelRose
DropBox invite link - get 500MB extra free.
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.
As for the other thing, does your master apache config file have any 'include' statements in it and if so, where do they point?
Nintendo Network ID: AzraelRose
DropBox invite link - get 500MB extra free.
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.
I've got the usual Includes:
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/
oh, and also phpmyadmin:
Include /etc/phpmyadmin/apache.conf
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.
Nintendo Network ID: AzraelRose
DropBox invite link - get 500MB extra free.
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.
http://wiki.archlinux.org/index.php/Taking_a_Screenshot#scrot
I feel like this was brought up the last time I posted a shot as well..
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.
Is there a recommended DE to pair it with?
This page says almost everything you need to know about Openbox and recommended apps that you can run with it to jazz things up.
I recommend Nitrogen for wallpaper management.
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).
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.
Free Moonbase Commander remake @ http://code.google.com/p/tether