Nagios LDAP Monitoring (works for icinga as well) Rumi, June 20, 2012June 20, 2012 on commands.cfg file define command { command_name check_ldaps command_line $USER1$/check_ldap.pl -H 192.168.0.123 -p 389 } on your <server.cfg> file- define service{ use generic-service ; template name, available by default host_name LDAP ; unique name… Continue Reading
Install Perl CPAN on CentOS troubleshooting Net::LDAP Rumi, June 20, 2012June 20, 2012 First we need to make sure our perl modules are all there and up to date. We can do this easily by Running perl -MCPAN -e –shell Let it run. Answer “no” when it asks about Manual configuration. Once it stops you'll be at the cpan prompt….type install Bundle::CPAN this will… Continue Reading
Installing NRPE For Icinga on Ubuntu 10.10 & CentOS 5.5 Rumi, June 11, 2012June 11, 2012 I currently have Icigna 1.2 (classic, web, and mobile) running on Ubuntu 10.10. I have a few other Linux servers that I would like to monitor as well. There is a good amount of information on installing Nagios and things to accompany it but Icigna documentation and blogs are fewer…. Continue Reading
Step by Step Zimbra 6.x installation on CetOS 5.x Rumi, June 11, 2012June 11, 2012 First you need to install a fresh CentOS operating system, keeping almost everything as default state. In this installation note I'm assuming few things- There is either a LARGE '/' partion or a LARGE '/opt' partition. Zimbra by default is installed on /opt directory I'm also assuming that the server… Continue Reading
Running Zimbra on HTTPS Rumi, June 11, 2012 1. First you need to su as 'zimbra' user 2. go to /opt/zimbra/bin/ 3. Use the following commands to enable SSL: ./zmtlsctl https ./zmcontrol restart Now it's working like a charm. For other readers: I can only access to webclient by SSL now (but that's ok for me). other options… Continue Reading
Deploying a J2EE application behind an Apache server in a production environment Rumi, April 20, 2012 You have created a Web application using a JBoss application server and you are going to put it in production. Great! But deploying your application with JBoss serving the Web requests directly may not be the optimal solution. First because the Tomcat web server embedded within JBoss is not the… Continue Reading
Hiding X-Powered by on JBoss Application Server 4.22.x Rumi, April 20, 2012 JBoss can add headers in the HTTP response. The X-Powered-By header exposes what implementation is behind your site. This header is created by a servlet filter that is activated by default in JBoss web configuration files (…/usr/java/jboss-4.2.2.GA/server/default/deploy/jboss-web.deployer/conf/web.xml). You can either disable this filter by commenting the following lines: <filter>… Continue Reading
mod_jk for RHEL6 Rumi, April 20, 2012 If you have a RHEL6 box which ships both Apache and Tomcat6 you might want to connect the two together. You probably have looked around for mod_jk as a RHEL6 RPM or SRPM (src.rpm). You find that It isn't in EPEL, and it isn't in Red Hat Optional Server… Continue Reading
Group-Office installation on Debian 6.x Rumi, April 1, 2012April 1, 2012 I used the auto installation as guided by the group-office wiki. However, for conveniences, quoting the contents once again: Easy installation on a dedicated Debian or Ubuntu server This is the easiest way of installing Group-Office. With the debian packages everything is configured automatically and Group-Office updates will be installed… Continue Reading
Putting Varnish In Front Of Apache On Ubuntu/Debian Rumi, March 22, 2012 Varnish is an open source "web accelerator" which you can use to speed up your website. It can cache certain static elements, such as images or javascript but you can also use it for other purposes such as Loadbalancing or some additional security. In this tutorial we will focus… Continue Reading