Go Back   CodingForums.com > :: Computing & Sciences > Computer/PC discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-19-2002, 10:51 PM   PM User | #1
Bawy
New Coder

 
Join Date: Sep 2002
Location: eNYCe
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Bawy is an unknown quantity at this point
Locking down Linux for use as a web server...

I would like to lock down Linux for use as a web server, where do I begin? What exactly am I disabling/blocking? I guess I can do a port scan, but does that check if I really have successfully locked down Linux? If I were to format and install with only the minimal programs needed (Apache, PHP and firewall,) would that help in any way?
Bawy is offline   Reply With Quote
Old 10-24-2002, 01:42 PM   PM User | #2
bcarl314
Mega-ultimate member


 
Join Date: Jun 2002
Location: Winona, MN - The land of 10,000 lakes
Posts: 1,855
Thanks: 1
Thanked 45 Times in 42 Posts
bcarl314 will become famous soon enough
I suppose I'd start by closing all unnecessary ports. You'll probably need to keep port 80 open, plus any other ports you need for the internet (443, 22, etc)
bcarl314 is offline   Reply With Quote
Old 10-24-2002, 07:51 PM   PM User | #3
Bawy
New Coder

 
Join Date: Sep 2002
Location: eNYCe
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Bawy is an unknown quantity at this point
Via firewall? Uninstalling software? something else?
Bawy is offline   Reply With Quote
Old 10-25-2002, 01:42 AM   PM User | #4
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
research firewalls and ftp daemons. make sure that ports 80 and 21 are open as a minimum. you'll need another port open for a control panel tho this can vary!

The best practice is to have just a plain command line version.... no GUI, no graphics, just pure coding!
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Old 10-25-2002, 02:38 AM   PM User | #5
Bawy
New Coder

 
Join Date: Sep 2002
Location: eNYCe
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Bawy is an unknown quantity at this point
You mean don't install KDE, GNome and the rest, or just to run apache, PHP, etc. from command line without starting xwindows? Anyone know of a command line controlled firewall? Would I be better off with a hardware firewall for the entire network instead?
Bawy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 +1. The time now is 12:05 AM.


Advertisement
Log in to turn off these ads.