but since we're talking about using RAID on a fileserver for those without knowledge of bootable arrays, I think a <$100 Syba card is still the better option.
though I may have to use software myself soon for a second array, as the one in the media server is filling up.
Nothing prevents you from having the system disk regular, and the data on an array, and then there is no problem. The data drive will be mounted long after the RAID utility will be initialised.
Anyway, there's a reason I didn't talk about RAID arrays in the article ;)
Originally Posted by kickarse Great guide to hammering the nail in Microsoft's Vista coffin...
Great guide, but how does it hammer any nails? It just goes to show how versatile Linux is, Microsoft is too - providing workstation and server operating systems.
Glider you'll never cease to amaze us with your Linux knowledge!
Originally Posted by Bluephoenix I have and it is much better than VNC.
the NX web plugin can be used to access the computer securely from any computer with a web browser as well (just don't try playing games unless you're on gigabit LAN)
ooo! nice! ... so, uhm, would you mind if I PM'ed you some questions about trying to set this up?
Thanks glider for your responce, i was worried i was going to get roasted for my stupidity. :)
I really wish i was good at things like this, its these types of things id like to improve my knowledge on as its horrible!
Great article!
I'm now inspired to re-assign my gf's pc (766 celeron, bout time for an upgrade), however despite being a linux n00b I would like to use a purely CLI setup. It'd just bug me the resources (however small) being wasted on a GUI.
EDIT:
Are there any web based binary usenet clients (Like torrrentflux) I could install on such a machine?
EDIT #2:
Found one! Ninan Looks pretty good too, be a while before I can try it out though :(
Originally Posted by pendragon ooo! nice! ... so, uhm, would you mind if I PM'ed you some questions about trying to set this up?
the documentation provided with it is pretty thorough, and explains it better and in much more detail than I can. also I've only futzed around with it in kubuntu, never actually set one up for serious public domain use (and thus never bothered with the security steps, just the LAN setup)
*nix software raid is as fast or faster than the most expensive raid cards and is easier to restore if you know how as the array can withstand the disk controller dying. Which is a big problem if the manufacturer of the disk controller no longer makes that particular controller.
Atm the main bottle neck in file transfers from my ubuntu box is 100Mb/s ethernet and thats without raid.
not for me anyways. I have one File server running Windows 2003 and it has 6x 500GB HDD in raid 5. As for torrent fluk i highly recommend as that software is pretty awesome.
Originally Posted by Bluephoenix the documentation provided with it is pretty thorough, and explains it better and in much more detail than I can. also I've only futzed around with it in kubuntu, never actually set one up for serious public domain use (and thus never bothered with the security steps, just the LAN setup)
Hmmm... well, first off.. which documentation are you speaking of - the stuff on NoMachine's website, or the doc's for FreeNX? I had a hard time locating good documentation, myself, and always seemed to find 'how-to's' that were outdated and never covered Ubuntu 6.10 Edgy :(
Originally Posted by Kipman725 *nix software raid is as fast or faster than the most expensive raid cards and is easier to restore if you know how as the array can withstand the disk controller dying. Which is a big problem if the manufacturer of the disk controller no longer makes that particular controller.
Atm the main bottle neck in file transfers from my ubuntu box is 100Mb/s ethernet and thats without raid.
again, with the CPU overhead. for something like a media server that also has to decode content to playback, the overhead can be crippling.
the only real applictaion for software raid is in storage only systems (more like subsystems because they're so focused) and even a webserver with moderate traffic can do without the overhead.
I've got a dual p3 850 with only 384MB of PC133 SD RAM.
It runs quite nicely really. I could likely get away with a single CPU.
Just about any dual p3 out there should do very nicely for a media box. They even typically only cost $100 or so off of ebay. I just this morning bought a 2u dual p3 700. I hope to get it by wednesday next week! :)
EDIT: On a single p3 733 I setup for a client, the two disk raid 1 array typically only needed 2% of the CPU power. This box also only had 256Mb of ram.
Excellent article Glider. Super informative. But I'm running into a problem with torrentflux. I run the sql script and it goes off without a hitch, but then I go to http://localhost/tf/ and I get this error:
Fatal error: Call to undefined function mysql_connect() in /var/www/tf/adodb/drivers/adodb-mysql.inc.php on line 354
I made sure to follow every command that was written, so my guess is something is borked in that particular file.
The lines from that section of php file are:
Code:
// returns true or false
function _connect($argHostname, $argUsername, $argPassword, $argDatabasename)
{
if (!empty($this->port)) $argHostname .= ":".$this->port;
if (ADODB_PHPVER >= 0x4300)
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect,$this->clientFlags);
else if (ADODB_PHPVER >= 0x4200)
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect);
else
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword);
if ($this->_connectionID === false) return false;
if ($argDatabasename) return $this->SelectDB($argDatabasename);
return true;
}
Seems like you are missing a package... Give me a sec, I'll get you the name :)
EDIT:
Code:
sudo apt-get install php5-mysql
and give your regular user password when asked :) Just a question, have you installed phpmyadmin?
EDIT2: That is in a terminal ;) you can do it through synaptics too if you want. Just search for the package, mark it for installation and click "Apply".
Wow.. amazing article once again. Thanks a lot - I am now one step closer to Linux heaven :D. One question though, is there any way that how-to's could be made downloadable... Maybe pdf or something? It would be brilliant to be able to refer to the article in a few months' time without having to dig through all the other stories.
Yeah, I installed phpmyadmin when it was mentioned in the article. Mayhaps I got a little overzealous when deleting packages I "thought" I didn't need. I'll give it a shot when I get back to work tomorrow.
Well crap. I checked to see if I have those packages loaded, and they're both there. So now I'm stuck. I'll route around the torrentflux site for some assistance. If you find out anything please reply back.
[UPDATE]
Glider was right on the money, I just need to mark php5-mysql for reinstallation and BAMF! it's working now... or at least no error on line 354 what not. I'll log in and fool around. Thanks for pointing me in a direction Glider. Next up I would like to request a Gentoo installer guide. I've followed the documentation (about 4 times) and still can't get any life out of it. Granted, like you mentioned in another post, its a 10/10 on the difficulty scale.
Thanks for a good guide - I've got a plan to do most of the stuff here with the addition of MythTV over the next couple of weeks.
One question though - why have XFCE running in the background 24/7? seems an unnecessary waste of resorces when you sould set the system to boot to CLI only and have more 'grunt' available for the tasks it actually *needs* to be doing?
Originally Posted by chimaera Thanks for a good guide - I've got a plan to do most of the stuff here with the addition of MythTV over the next couple of weeks.
One question though - why have XFCE running in the background 24/7? seems an unnecessary waste of resorces when you sould set the system to boot to CLI only and have more 'grunt' available for the tasks it actually *needs* to be doing?
The XFCE is meant to allow a comfortable installation and management for people who are new to Linux. ;) Of course you can shut it off and run CLI at any time, but most even semi-modern setups have absolutely no need to do this. You CAN get linux running down to almost nothing...but you certainly don't have to anymore and you'll still have no adverse effects.
So for people who are more comfortable with a GUI, why disable it for no real gain? If you're hardcore enough to be stripping things out to run the server on such peanuts for hardware to the point that you can't afford to run XFCE, you're probably above the scope of this guide anyway. :D
But don't worry...there will be follow-ups coming that cater to taking this forward a step - increasing security, adding new functionality, etc. :)
Originally Posted by Da Dego So for people who are more comfortable with a GUI, why disable it for no real gain? If you're hardcore enough to be stripping things out to run the server on such peanuts for hardware to the point that you can't afford to run XFCE, you're probably above the scope of this guide anyway. :D
Like on a 28MB RAM LAMP server (that also does distcc)? ;)
Quote:
Originally Posted by Da Dego But don't worry...there will be follow-ups coming that cater to taking this forward a step - increasing security, adding new functionality, etc. :)
I sense more work for me :) I have some ideas... Getting rid of the GUI (or at least disableing it while not in use), a SCP tutorial (to replace the FTP server, but SCP is already installed), altering default ports on most major services,... And if I feel brave, maybe webmin (although it gives me the chills down my spine... Security and webmin in the same sentence ;))
And for the ones asking for MythTV... That was planned from the beginning, there are just some practical things that need sorted out (hardware, me having exams,...)
Originally Posted by Da Dego The XFCE is meant to allow a comfortable installation and management for people who are new to Linux. ;) Of course you can shut it off and run CLI at any time, but most even semi-modern setups have absolutely no need to do this. You CAN get linux running down to almost nothing...but you certainly don't have to anymore and you'll still have no adverse effects.
So for people who are more comfortable with a GUI, why disable it for no real gain? If you're hardcore enough to be stripping things out to run the server on such peanuts for hardware to the point that you can't afford to run XFCE, you're probably above the scope of this guide anyway. :D
But don't worry...there will be follow-ups coming that cater to taking this forward a step - increasing security, adding new functionality, etc. :)
I suppose with using remote admin via VNC you'd need the graphic environment up and running as well.
I must admit I'm looking forward to trying it, but I need to get all the equipment together first :)
Comments 51 to 75 of 586
Replythough I may have to use software myself soon for a second array, as the one in the media server is filling up.
Anyway, there's a reason I didn't talk about RAID arrays in the article ;)
Glider you'll never cease to amaze us with your Linux knowledge!
ooo! nice! ... so, uhm, would you mind if I PM'ed you some questions about trying to set this up?
I really wish i was good at things like this, its these types of things id like to improve my knowledge on as its horrible!
Great article!
EDIT:
Are there any web based binary usenet clients (Like torrrentflux) I could install on such a machine?
EDIT #2:
Found one! Ninan Looks pretty good too, be a while before I can try it out though :(
the documentation provided with it is pretty thorough, and explains it better and in much more detail than I can. also I've only futzed around with it in kubuntu, never actually set one up for serious public domain use (and thus never bothered with the security steps, just the LAN setup)
+10 votes for more articles from glider.
Atm the main bottle neck in file transfers from my ubuntu box is 100Mb/s ethernet and thats without raid.
I'm dissapointed!
Cheers on the article though.
Hmmm... well, first off.. which documentation are you speaking of - the stuff on NoMachine's website, or the doc's for FreeNX? I had a hard time locating good documentation, myself, and always seemed to find 'how-to's' that were outdated and never covered Ubuntu 6.10 Edgy :(
again, with the CPU overhead. for something like a media server that also has to decode content to playback, the overhead can be crippling.
the only real applictaion for software raid is in storage only systems (more like subsystems because they're so focused) and even a webserver with moderate traffic can do without the overhead.
EDIT: And IIRC on read operations there isn't even a calculation...
I've got a dual p3 850 with only 384MB of PC133 SD RAM.
It runs quite nicely really. I could likely get away with a single CPU.
Just about any dual p3 out there should do very nicely for a media box. They even typically only cost $100 or so off of ebay. I just this morning bought a 2u dual p3 700. I hope to get it by wednesday next week! :)
EDIT: On a single p3 733 I setup for a client, the two disk raid 1 array typically only needed 2% of the CPU power. This box also only had 256Mb of ram.
Fatal error: Call to undefined function mysql_connect() in /var/www/tf/adodb/drivers/adodb-mysql.inc.php on line 354
I made sure to follow every command that was written, so my guess is something is borked in that particular file.
The lines from that section of php file are:
// returns true or false function _connect($argHostname, $argUsername, $argPassword, $argDatabasename) { if (!empty($this->port)) $argHostname .= ":".$this->port; if (ADODB_PHPVER >= 0x4300) $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword, $this->forceNewConnect,$this->clientFlags); else if (ADODB_PHPVER >= 0x4200) $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword, $this->forceNewConnect); else $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword); if ($this->_connectionID === false) return false; if ($argDatabasename) return $this->SelectDB($argDatabasename); return true; }Thanks to any one who can help.
EDIT:
EDIT2: That is in a terminal ;) you can do it through synaptics too if you want. Just search for the package, mark it for installation and click "Apply".
-ed out
Thanks for the help, I'll report back.
did it work?
[UPDATE]
Glider was right on the money, I just need to mark php5-mysql for reinstallation and BAMF! it's working now... or at least no error on line 354 what not. I'll log in and fool around. Thanks for pointing me in a direction Glider. Next up I would like to request a Gentoo installer guide. I've followed the documentation (about 4 times) and still can't get any life out of it. Granted, like you mentioned in another post, its a 10/10 on the difficulty scale.
Anyhow, thanks for the help.
One question though - why have XFCE running in the background 24/7? seems an unnecessary waste of resorces when you sould set the system to boot to CLI only and have more 'grunt' available for the tasks it actually *needs* to be doing?
So for people who are more comfortable with a GUI, why disable it for no real gain? If you're hardcore enough to be stripping things out to run the server on such peanuts for hardware to the point that you can't afford to run XFCE, you're probably above the scope of this guide anyway. :D
But don't worry...there will be follow-ups coming that cater to taking this forward a step - increasing security, adding new functionality, etc. :)
And for the ones asking for MythTV... That was planned from the beginning, there are just some practical things that need sorted out (hardware, me having exams,...)
Thanks for all the positive comments tough...
I suppose with using remote admin via VNC you'd need the graphic environment up and running as well.
I must admit I'm looking forward to trying it, but I need to get all the equipment together first :)
-
« Previous
-
1
-
2
-
3
-
4
-
5
-
...
-
24
-
Next »
Discuss in the forums