Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So basically, is LAMP strictly for development purposes or is it fine for production websites as well? I ask this because I have recently switched to Ubuntu from Windows and if LAMP is anything like WANP, it is more aimed towards development than production (live) websites.

Does the same apply for LAMP? I wish to run a small website on Ubuntu and I'm wondering if LAMP is secure enough.

share|improve this question

closed as not a real question by Christopher, Bruno Pereira, jrg, fossfreedom, RolandiXor Feb 7 '12 at 17:36

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 1 down vote accepted

LAMP is definitely production ready, of course with any IP accessible service(s) you have to follow Security Best Practices.

Secure LAMP server for production use

Basics;

  • hide all version numbers and debug/informations pages
  • create a mysql user for each application with hardened passwords
  • use regular user accounts (using sudo if needing root permissions)
  • use a firewall (iptables) and open specific ports
  • do not load modules you don't explicitly need
  • apply latest patches/keep packages up to date
share|improve this answer
    
Thanks for the reply, that's exactly what I wanted to hear. :) And thanks for the tips! –  user1104783 Feb 6 '12 at 23:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.