Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

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. 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.

    
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

2 Answers 2

up vote 4 down vote accepted

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?

share|improve this answer

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.

share|improve this answer

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