My first production server. What should i focus on?
I have a experience in administration, but I had never implemented installation of real production environment.
Now I have to install server, that will be used in production.
That is dedicated server at datacenter.
This installation has:
tomcat server and java webapp
mediawiki (and mysql db for it)
Which settings for security, backupping and performance should I set up in these applications?
well I wouldn't have two different databases on one box for one thing, why not share?
We really can't just tell you magically how to configure *EVERYTHING*. Lots of it will be application specific, and we've no idea what this java web app is. If you use packages from the CentOS repository, then each will have reasonable defaults so just go with them outside of anything you know has special requirements.
As for things like backups, there are plenty of guides on how to achieve good backups, we can't start all this stuff from scratch.
Everything acid_kewpie said :)
Similarly, check /etc/sysconfig/iptables and tighten that down as much as possible.
You might want to consider disabling ipv6 unless you are going to use it. most systems are still only really using ipv4.
Turn on iptables
Turn on log rotation
turn off root account for ssh
turn on ntpd
Also, I have found a useful link http://www.puschitz.com/SecuringLinux.shtml.
this guide is commonly used for security - http://www.nsa.gov/ia/mitigation_gui...s.shtml#linux2
But you really need to note that you're asking for knowlwedge that comprises an entire profession, that's so so so so much you *might* want to do.
1. There's a complete set of (free to read) RHEL6 manuals here http://www.linuxtopia.org/online_boo...ion_index.html
2. As acid_kewpie suggested, if you've gone with MySQL, then you presumably don't need postgresql, so remove it.
3. The default install settings for RHEL/Centos are pretty reasonable, but you should probably start by checking (in addition to all of the above) the Security guide in that link in point 1.
The main point is that only you can say what you REALLY need; there's no real shortcut.
Sure, check logrotate is on; maybe install/setup logwatch to automatically screen the logfiles and email you.
|All times are GMT -5. The time now is 05:07 AM.|