Comments 51 to 75 of 532

Quote Bluephoenix 6th June 2007, 16:08
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.
Quote Glider 6th June 2007, 17:09
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 ;)
Quote Lazlow 6th June 2007, 22:43
Quote:
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!
Quote pendragon 6th June 2007, 23:46
Quote:
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?
Quote Solidus 6th June 2007, 23:50
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!
Quote David_Fitzy 7th June 2007, 00:17
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 :(
Quote Bluephoenix 7th June 2007, 04:44
Quote:
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)
Quote Muunsyr 7th June 2007, 09:02
Thanks glider, that was fantastic. Xubuntu should be downloaded by now, will be servering it up tonight...

+10 votes for more articles from glider.
Quote Kipman725 7th June 2007, 10:22
*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.
Quote tuteja1986 7th June 2007, 11:08
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.
Quote Pygo 7th June 2007, 20:11
No iptables howto?
I'm dissapointed!

Cheers on the article though.
Quote pendragon 7th June 2007, 21:45
Quote:
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 :(
Quote Bluephoenix 7th June 2007, 21:51
Quote:
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.
Quote Glider 7th June 2007, 21:55
I now very few servers that can't spare 5%CPU for RAID calc's...

EDIT: And IIRC on read operations there isn't even a calculation...
Quote Pygo 7th June 2007, 22:05
I'm with Glider on this one.

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.
Quote z4114 7th June 2007, 22:42
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;	
	}


Thanks to any one who can help.
Quote Glider 7th June 2007, 23:12
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".
Quote eddtox 7th June 2007, 23:28
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.

-ed out
Quote z4114 8th June 2007, 00:25
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.

Thanks for the help, I'll report back.
Quote E-Jungle 8th June 2007, 12:08
Quote:
Originally Posted by z4114
I'll report back.

did it work?
Quote z4114 8th June 2007, 14:23
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.

Anyhow, thanks for the help.
Quote chimaera 8th June 2007, 16:12
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?
Quote Da Dego 8th June 2007, 16:27
Quote:
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. :)
Quote Glider 8th June 2007, 17:28
Quote:
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,...)

Thanks for all the positive comments tough...
Quote chimaera 8th June 2007, 18:32
Quote:
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 :)
Log in

You are not logged in, please login with your forum account below. If you don't already have an account please register to start contributing.





Stats: 0.040 seconds