My first production server. What should i focus on?
Hi.
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: centos 6.3 postgresql database 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 :)
Also, use Code:
chkconfig --list 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. http://www.unixtutorial.org/2009/12/...red-hat-linux/ |
Quote:
|
Quote:
chkconfig --list Code:
abrt-ccpp 0:off 1:off 2:off 3:on 4:off 5:on 6:off Code:
# Firewall configuration written by system-config-firewall Centos Turn on iptables Turn on log rotation turn off root account for ssh turn on ntpd postgresql configure pg_hba.conf tomcat ? 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:57 AM. |