Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Sep 2002
    Location
    eNYCe
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    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
    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)

  • #3
    New Coder
    Join Date
    Sep 2002
    Location
    eNYCe
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Via firewall? Uninstalling software? something else?

  • #4
    Regular Coder
    Join Date
    May 2002
    Location
    London, England
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #5
    New Coder
    Join Date
    Sep 2002
    Location
    eNYCe
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •