Originally Posted by Niko-Time
Hi Plan, thanks a lot for all that. To respond to your questions:
1. I'm trying to install node.js and the steps I shall take are:
git clone https://github.com/joyent/node.git
./configure --prefix=/opt/node --without-snapshot
I have also tried the wget method but have th esame problem on both (prefer git for easy upgrading)
2. I am running Debian Squeeze and it is installed via fun_plug - it doesn't install over the top and kind of runs side by side (i.e. I can still access the original software at 192.168.1.*)
3. I have two 3TB drives running in Raid 1
4. Yes and yes
Ok, a few points in response to #1:
First of all, you can do that download and install from any folder, it doesn't need to be done from tmp. However you're going to run into the same problem where ever you download to because you're whole Debian install is running from RAM disk. Which also means you cannot install the thing either (as the install location, /opt/node, will also be RAM disk too).
Secondly, it wouldn't make any difference for upgrading if you did a wget
of the ZIP archive or git clone
because you're not actually doing anything with the source code other than compiling it. Where git would come into it's own would be if you were editing node.js's source code and you wanted to merge the Joyent's code with yours.
Any how, fixing your problem. Unless fun_plug
offers some way to chose the destination location for Debian, you're going to have to fix this in a very nasty way by mounting a part of Debian on a USB drive or on your 3TB disks. Personally I'd probably recommend using a USB drive because it keeps your OS separate from your data, but neither method is going to be 'pretty' so it's entirely your choice.
Do you know the device names for your HDDs and/or USB drive? If not this command should help you out:
dmesg | egrep "sd[a-z]"