VBoxHeadless Running Virtual Machines With VirtualBox On A Headless Debian/ubuntu Server Rumi, August 3, 2012December 4, 2017 I have implemented this on Debian 6 (Squeeze system) with the IP address 192.168.0.100 where I’m logged in as root. Installing VirtualBox To install VirtualBox 4.1 on our Debian server, we open /etc/apt/sources.list… added this line- deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free Use appropriate OS source list from https://www.virtualbox.org/wiki/Linux_Downloads Then we… Continue Reading
MySQL Database Import Command Rumi, July 31, 2012 The syntax is as follows to import the data created by mysqldump command: mysql -u {DB-USER-NAME} -p {DB-NAME} < {db.file.sql} mysql -u {DB-USER-NAME} -h {MySQL-SERVER-HOST-NAME} -p {DB-NAME} < {db.file.sql} In this example import a file called sales.sql for salesdb1 user and sales db, enter: $ mysql -u sales -p salesdb1… Continue Reading
Nagios JBoss Plugin Rumi, June 25, 2012 Perl script to check thread and memory usage of a Jboss server. I didn't like the Jboss checks that I've found which require Java or remote-run, so I wrote this. It's a simple check that looks at memory usage and busy threads. I did this with percentage thresholds to make… Continue Reading
Icininga on SSL Rumi, June 25, 2012 This is intended to be an introduction for implementation of stronger authentication and server security focused around the CGI web interface. There are many ways to enhance the security of your monitoring server and Icinga environment. This should not be taken as the end all approach to security…. Continue Reading
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