RSS



Go Back   bit-tech.net Forums > bit-tech.net > Article Discussion

Reply
 
Thread Tools
Old 24th Jul 2007, 10:36   #1
Tim S
Pewlius Caesar
bit-tech Staff
 
Tim S's Avatar
 
Join Date: Nov 2001
Location: Ascot, Berks
Posts: 18,021
Tim S is a glorious beacon of lightTim S is a glorious beacon of lightTim S is a glorious beacon of lightTim S is a glorious beacon of lightTim S is a glorious beacon of light
Build your own server: Part 2

http://www.bit-tech.net/bits/2007/07...etter_server/1

You asked for it, you've got it. Ken Gypen is back with another Linux tutorial that builds on the last one, securing your ports and stripping out the bloat of your Ubuntu server.

Tim S is offline   Reply With Quote
Old 24th Jul 2007, 10:38   #2
Glider
/dev/null
 
Glider's Avatar
 
Join Date: Aug 2005
Location: Belgium
Posts: 4,102
Glider has a spectacular aura aboutGlider has a spectacular aura about
Woohoo
__________________
There Are 10 Types Of People, Those Who Know Binary and Those Who Don't
Glider is offline   Reply With Quote
Old 24th Jul 2007, 11:46   #3
yakyb
CK is God!!!
 
yakyb's Avatar
 
Join Date: Oct 2006
Posts: 1,074
yakyb is on a distinguished road
brilliant stuff
cant wait to move house so i can set all this stuff up (and annoy my GF in the process)
would love a PDF tho
__________________
Gaming Box:: q6600 @3.0 :: 9800gtx :: Abit IP35 :: 4gb :: 1.4TB :: akasa eclipse :: Win7
Development:: PhenomII 955BE @3.2 :: 4200 :: asus M4A785 M Evo :: 1.25TB ::Win7
Media Centre :: q6600 @3.0 :: x1950pro :: asus p35 epu :: 8gb :: 320 GB :: Lc17B :: Win7
server:: I7 860 :: p55 gd65 :: 3450 :: 8 TB :: 8gb :: Rebel 12 :: server 2008 R2
yakyb is offline   Reply With Quote
Old 24th Jul 2007, 12:06   #4
chimaera
Modder
 
Join Date: Jan 2007
Posts: 58
chimaera is on a distinguished road
Man I've just finished setting everything up from the last one and along comes this

Mind you I added MythTV and Netatalk to the mix, and they took a bit of work to get working properly...
chimaera is offline   Reply With Quote
Old 24th Jul 2007, 12:32   #5
Seraphim Works
Multimodder
 
Seraphim Works's Avatar
 
Join Date: Apr 2007
Location: Wirral / Coventry, UK
Posts: 164
Seraphim Works is on a distinguished road
After playing around with clarkconnect, linux is still frustrating me. Actually, it's not linux per se, it's the total lack of support for hardware sometimes. Using ndis-wrapper just to attempt to get wireless working annoyed me no end.

It's good to see guides like this though, that show simple, easy to understand steps, hopefully we'll be seeing more Glider?
__________________
From a 4.0Ghz P4 to a 3.3Ghz Q6600, thank god for price wars...
Seraphim Works is offline   Reply With Quote
Old 24th Jul 2007, 12:39   #6
Zut
Multimodder
 
Join Date: Feb 2005
Location: Near Sheffield, UK
Posts: 127
Zut is on a distinguished road
Nice article.

FC4 is pretty easy to install headlessly, if you just want a file/print/web server. And that was with only 128MB ram!
Zut is offline   Reply With Quote
Old 24th Jul 2007, 12:45   #7
Glider
/dev/null
 
Glider's Avatar
 
Join Date: Aug 2005
Location: Belgium
Posts: 4,102
Glider has a spectacular aura aboutGlider has a spectacular aura about
Quote:
Originally Posted by Seraphim Works View Post
After playing around with clarkconnect, linux is still frustrating me. Actually, it's not linux per se, it's the total lack of support for hardware sometimes. Using ndis-wrapper just to attempt to get wireless working annoyed me no end.

It's good to see guides like, this though, that show simple, easy to understand steps, hopefully we'll be seeing more Glider?
Wireless has come a long way, but still isn't there quite yet. I search for Linux supportive/native chipsets (like Realtek, Intel, ...) and buy those mostly

And more? Ask Brett, he forces me to do this

Quote:
Originally Posted by Zut View Post
Nice article.

FC4 is pretty easy to install headlessly, if you just want a file/print/web server. And that was with only 128MB ram!
I have a webserver/MySQL dbase server running on a 600MHz with 28MB (32-4) of RAM based on Debian Ok, only for testing/development, but still

My student house server (Fileserver, Media server [plays music], printserver,...) is also a 600MHz but with 60MB (64-4) of RAM also Debian based
__________________
There Are 10 Types Of People, Those Who Know Binary and Those Who Don't
Glider is offline   Reply With Quote
Old 24th Jul 2007, 13:01   #8
capnPedro
Deaf forever to the battle's din
 
capnPedro's Avatar
 
Join Date: Apr 2007
Location: North-East England
Posts: 2,988
capnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud of
Very nice. However, may I recommend:

/usr/bin/startgui
Code:
#!/bin/bash
/etc/init.d/gdm start
/usr/bin/stopgui
Code:
#!/bin/bash
/etc/init.d/gdm stop
Remeber to
chmod 700 startgui
chmod 700 stopgui
Of course.

It's much easier to just type startgui/stopgui than having to remember /etc/init.d/gdm stop. Or maybe that's just me.
__________________
ASUS M4A785TD-M Evo | AMD Phenom II x4 955 BE | D-Tek FuZion
4GB Corsair XMMS3-10666 | Corsair TX650
Point Of View 8800GTX | EK FC-8800
capnPedro is offline   Reply With Quote
Old 24th Jul 2007, 13:05   #9
Tim S
Pewlius Caesar
bit-tech Staff
 
Tim S's Avatar
 
Join Date: Nov 2001
Location: Ascot, Berks
Posts: 18,021
Tim S is a glorious beacon of lightTim S is a glorious beacon of lightTim S is a glorious beacon of lightTim S is a glorious beacon of lightTim S is a glorious beacon of light
Quote:
Originally Posted by Glider View Post
And more? Ask Brett, he forces me to do this
I force Brett to force you to do them... heheh
Tim S is offline   Reply With Quote
Old 24th Jul 2007, 13:32   #10
Da Dego
Brett Thomas
 
Da Dego's Avatar
 
Join Date: Aug 2004
Location: Cleveland, OH USA
Posts: 3,906
Da Dego is on a distinguished road
Quote:
Originally Posted by Tim S View Post
I force Brett to force you to do them... heheh
Hey now, nobody forces me to do anything...I chain glider to his laptop and beat him til an article pops out from the kindness of my heart.


By the way, Digg to share! Thanks for the support!
__________________
"Frankly that seems overkill. iluvtrees2 arguing with spec is the intellectual equivalent of a bunny rabbit taking on a pissed-off lion." - Nexxo

Last edited by Da Dego; 24th Jul 2007 at 14:55.
Da Dego is offline   Reply With Quote
Old 24th Jul 2007, 13:35   #11
Glider
/dev/null
 
Glider's Avatar
 
Join Date: Aug 2005
Location: Belgium
Posts: 4,102
Glider has a spectacular aura aboutGlider has a spectacular aura about
Redefines "Hard labour"

EDIT: since it's unpayed work, am I a slave to Bit-tech now?
__________________
There Are 10 Types Of People, Those Who Know Binary and Those Who Don't
Glider is offline   Reply With Quote
Old 24th Jul 2007, 15:58   #12
proxess
Victim of AdvancedModernCapitalism
 
Join Date: Nov 2006
Location: The town of Love, Funchal
Posts: 600
proxess is on a distinguished road
Well I'm not sure if your a slave, but you'll get a whipping if you don't work.
__________________
Netbook: Asus eeePC 901; 12Gb SDD; Custom Ubuntu 9.04 Minimal Compiz Standalone.
Laptop: Intel Centrino Duo T5500 1.66ghz; 2048mb RAM; ATI Mobility Radeon x2300; Hitachi 120gb iPod Classic 120GB; Maxtor 160GB External; Ubuntu 9.10 x64 and Windows 7 x64.
proxess is offline   Reply With Quote
Old 24th Jul 2007, 18:01   #13
Andy Mc
Supermodder
 
Join Date: May 2002
Location: Worcester, UK
Posts: 489
Andy Mc is a splendid one to beholdAndy Mc is a splendid one to beholdAndy Mc is a splendid one to beholdAndy Mc is a splendid one to beholdAndy Mc is a splendid one to beholdAndy Mc is a splendid one to beholdAndy Mc is a splendid one to behold
My only issue with this is the round about way that it has gone.

After reading both articles to conclusion, would it have not been more prudent to start the whole shebang off with the 'Server' edition of Ubuntu to begin with instead of the normal edition and then strip stuff away? As this is virtually where you have ended up with part 2 of the guide.
__________________
"Seemed a harmless little ****........But we unleashed the lion"
'Jeremy' by Pearl Jam
Andy Mc is offline   Reply With Quote
Old 24th Jul 2007, 19:14   #14
Kipman725
When did I get a custom title!?!
 
Kipman725's Avatar
 
Join Date: Nov 2004
Location: UK
Posts: 1,753
Kipman725 is on a distinguished road
This guides good. How about a more general guide for distros without package managment? or a desktop linux guide?
__________________
Sn45g game server mod My Electronics Site
Hardware: 3400+ Sempr0n, 1GB RAM, 1.28TB local storage, x1950pro,Razer Viper,M$ comfort curve 2000,L70S + 17", Fujitsu 17" CRT
Audio: HD-650's, PE congress amp, Sound Blaster AWE64, Soundblaster 24bit
Kipman725 is offline   Reply With Quote
Old 24th Jul 2007, 19:27   #15
mclean007
Officious Bystander
 
mclean007's Avatar
 
Join Date: May 2003
Location: Nodnol
Posts: 1,597
mclean007 is on a distinguished road
Quote:
Originally Posted by Kipman725 View Post
This guides good. How about a more general guide for distros without package managment? or a desktop linux guide?
A desktop guide might be useful, but to be honest the normal Ubuntu install does such a damn good job that you hardly need to make many tweaks to get a very useable system. Seriously - plop live CD in drive, click install, watch the progress bar / make a cup of tea, a few clicks in the package manager and BOOM, you've got a fully functional desktop. Heck, half the stuff in part 1 was getting rid of the very useful (for a desktop) stuff the default installer brings to the table.

As for a more general guide, why? If you are a linux n00b, just go with Ubuntu - it's proven, it's very well supported by the developers and the community, and from my experience it generally just works solid as a rock. Only reasonably experienced users are going to have a real reason to want to go for one of the many other distros out there. Anyone in that position should be a little beyond this sort of by-the-numbers approach. In particular, you'd be daft to want to install a distro without package management if your knowledge of linux extends to a couple of six page articles on bit-tech.
__________________
Demand Naked DSL in the UK!
mclean007 is offline   Reply With Quote
Old 24th Jul 2007, 19:27   #16
Glider
/dev/null
 
Glider's Avatar
 
Join Date: Aug 2005
Location: Belgium
Posts: 4,102
Glider has a spectacular aura aboutGlider has a spectacular aura about
Quote:
Originally Posted by Andy Mc View Post
My only issue with this is the round about way that it has gone.

After reading both articles to conclusion, would it have not been more prudent to start the whole shebang off with the 'Server' edition of Ubuntu to begin with instead of the normal edition and then strip stuff away? As this is virtually where you have ended up with part 2 of the guide.
Yes, but originally there was no intent to make a followup article. I only wrote it because of demand.

And also if I would have started from the server install, there won't be a GUI installed at all, and a lot of new Linux users cling to GUI. Now they can use it when they need it and turn it off when they don't need it.

Quote:
Originally Posted by Kipman725 View Post
This guides good. How about a more general guide for distros without package managment? or a desktop linux guide?
Distros without a package manager (like LFS) require quite a lot more Linux knowledge. Dependencies and all... That's the power of package managers. And can you eaborate a bit more on what you mean by a desktop Linux guide?
__________________
There Are 10 Types Of People, Those Who Know Binary and Those Who Don't
Glider is offline   Reply With Quote
Old 24th Jul 2007, 19:29   #17
capnPedro
Deaf forever to the battle's din
 
capnPedro's Avatar
 
Join Date: Apr 2007
Location: North-East England
Posts: 2,988
capnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud of
A distro without package management? As in, compiling from source? Maybe not the best option for noobs .
__________________
ASUS M4A785TD-M Evo | AMD Phenom II x4 955 BE | D-Tek FuZion
4GB Corsair XMMS3-10666 | Corsair TX650
Point Of View 8800GTX | EK FC-8800
capnPedro is offline   Reply With Quote
Old 24th Jul 2007, 19:46   #18
Faulk_Wulf
Internet Addict
 
Faulk_Wulf's Avatar
 
Join Date: Mar 2006
Location: USA
Posts: 280
Faulk_Wulf is on a distinguished road
Preface:
I have been reading alot about starting your own webserver and all the security risks involved. I have bookmarked several articles (which I'll happily spam in here if you care) and had planned on using Ubuntu Linux to do this. I am exactly the kind of person, I believe, that you were writing your article for. I am not new to computers and my knowledge is intermediate with more emphasis on hardware.

Content:
Two big questions: If you you have multiple computers on one router/wireless connection, will the security of those computers be compromised by the presence of a server (that may or may not be adequately secured). Also: Can I have people view my webserver without going through a DNS and paying $25. I mean that is the reason I want my own webserver: To get around the costs. If I created a static IP, could I just bind it to a service like DotTK or TinyURL. (Yes, the second option is far more impracticable, I know.)

Otherwise: Great article. I think there should be a big demand for articles such as these. Keep up the great work.
__________________
-- Faulken S. Wulf
"Under the Willow, he sleeps and dreams, of Heaven."
Attempting to post intelligently since the year 2000!
Faulk_Wulf is offline   Reply With Quote
Old 24th Jul 2007, 20:37   #19
mclean007
Officious Bystander
 
mclean007's Avatar
 
Join Date: May 2003
Location: Nodnol
Posts: 1,597
mclean007 is on a distinguished road
Quote:
Originally Posted by Faulk_Wulf View Post
Can I have people view my webserver without going through a DNS and paying $25. I mean that is the reason I want my own webserver: To get around the costs. If I created a static IP, could I just bind it to a service like DotTK or TinyURL. (Yes, the second option is far more impracticable, I know.)
If I understand your question correctly, you are asking how you can have your server be public facing through a friendly URL without paying for static DNS. This is EXACTLY what no-ip.org does, which is discussed on page 5 of the article. They offer a free service that redirects www.[yourhostname].no-ip.org to your server's IP address. No-ip also offers (free) client software that 'phones home' to their servers to keep them updated of your dynamic IP address when it changes. They offer this for free in the hope that you upgrade to some of their paid services.
__________________
Demand Naked DSL in the UK!
mclean007 is offline   Reply With Quote
Old 24th Jul 2007, 20:47   #20
capnPedro
Deaf forever to the battle's din
 
capnPedro's Avatar
 
Join Date: Apr 2007
Location: North-East England
Posts: 2,988
capnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud ofcapnPedro has much to be proud of
Quote:
Originally Posted by Faulk_Wulf View Post
If you you have multiple computers on one router/wireless connection, will the security of those computers be compromised by the presence of a server (that may or may not be adequately secured).
Very possible. The server should be placed in a DMZ so that other networked PCs do not establish trusted relationships with it.

As the server is externally accessible, if it has any vulnerabilities, the rest of your network will become compromised as the server gets pwned.
__________________
ASUS M4A785TD-M Evo | AMD Phenom II x4 955 BE | D-Tek FuZion
4GB Corsair XMMS3-10666 | Corsair TX650
Point Of View 8800GTX | EK FC-8800
capnPedro is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:40.
Powered by: vBulletin Version 3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.