i just got my linux dedicated server and running in plesk, coz im new to this, i was wondering before i start uploading and developing my app, what should one do, for example security checks, performance, error logging etc. i want as much information please, im so weak sys adminstration, but a good start from you guys, well at least lead me to the right way to look after my server. thank you so much :))
locked by HopelessN00b♦ Jan 21 at 9:59
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.
closed as primarily opinion-based by HopelessN00b♦ Jan 14 at 5:25
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.
Your number one item on the agenda should be to set up a good firewall. The CentOS wiki has some good explanations about how to get started.
Once that's done, ensure that you have a strong password configured for your local users as well as the Plesk interface itself. If you plan to run PHP sites, you may want to learn about PHP accelerators and select one to install.
Keep in mind that these recommendations are only a start. If you're really serious about learning server security, I'd recommend the Linux Security Cookbook from O'Reilly.
redirect the root email to your own email in /etc/aliases, and run "newaliases". This will ensure that you receive the daily email containing the informations reported by the system.
Keep the settings as default as possible, except for the firewall as said before. A default linux machine is really secure by default, and just like in Windows, you don't need to add stuff to make it fast.
Disable the unused services. On centos/redhat, use "chkconfig --list" for example and check everything that is started at level 3. If it's not a useful service (bluetooth) then disable it. (chkconfig service off).
for very specific needs you can install nagios, it will monitor your system and warn you if a parameter goes beyond your boundaries. But it's not user friendly! Use it only if you have specific needs.