I use yum to install LAMP on Centos, like this:

yum install httpd mysql mysql-server php php-mysql

chkconfig --levels 235 httpd on

chkconfig --levels 235 mysqld on

service httpd start

service mysqld start

Is it enough? Do I need to add security or something to it? Thank you very much.

Edit: Yes, it's going to be a website which will be accessible for everyone.

link|improve this question
Is it enough for what? – Flimzy Oct 30 '11 at 2:44
@Flimzy: website – hey Oct 30 '11 at 2:56
Clearly you intend it for a web site. – Flimzy Oct 30 '11 at 2:58
feedback

closed as not a real question by Ward, Iain, mailq, Scott Pack, Mark Henderson Oct 30 '11 at 20:58

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. See the FAQ for guidance on how to improve it.

2 Answers

Is it enough?

No

Do I need to add security or something to it?

Yes.

And not just security, but also log file management, monitoring, and other system administration staples of that ilk.

For example, is that mysql instance available over the public network interface? Did you set a password for the root mysql user during the install? Is there a firewall in place?

link|improve this answer
feedback

If you're going to put this machine online, then definitely you should be adding some firewall rules, recording your passwords, setting up MySQL security, thinking about doing regular package updates, etc. It all depends on how you plan to use it.

link|improve this answer
feedback

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