Reset root Password for Redhat/CentOS/Sl Linux 5.x Rumi, November 1, 2012November 1, 2012 You can log in using single-user mode and create a new root password. To enter single-user mode, reboot your computer. If you use the default boot loader, GRUB, you can enter single user mode by performing the following: At the boot loader menu, use the arrow keys to highlight the… Continue Reading
zimbra admin password reset Rumi, October 4, 2012 To reset the administrative password: su – zimbra zmprov sp <admin email address> <new password> To get a list of all administrators: su – zimbra zmprov gaaa To access the admin console: https://YOURHOST:7071 Remember that the administrative console (sometimes) requires a full email address as the login name, so you… Continue Reading
XRDP in OpenSuse 11.0/11.2/11.3 Rumi, September 28, 2012 This tutorial is for advanced users who prefer to skate all the detail that attaches to a "new user" Tutorial. The details (wherein lies the devil) are here: Windows Linux RDP Remote Desktop Connections using openSUSE as Client or Server (terminal server) FWIW there's also an 11.1 version there. Tested… Continue Reading
Zimbra 8 Community edition on Scientific Linux 6 (64 Bit) Rumi, September 15, 2012September 15, 2012 Install SL 6.3 (64 bit) Installing SL6.3 (64bit) with 'minimal' installation mode Post installing, fix with the Static IP Address (Public IP and I assume the system is not behind firewall) Double check with /etc/resolv.conf file parameters Prerequisites for ZImbra installation Let's firsy update- yum update Let's install some pckages… Continue Reading
Install nginx on virtualmin (GPL) server Rumi, August 26, 2012 Installing Nginx Support Switching a system from the Apache webserver (installed by default by Virtualmin to Nginx should only be done if no virtual servers with websites have been created yet. Ideally the change should be done on a freshly installed system, running RHEL 6.0, CentOS 6.0 or Debian 6.0… Continue Reading
Redhat/CentOS install PHP on NginX server as fastcgi Rumi, August 26, 2012 tep # 1: Enable EPEL repo ngnix is not included in the base system. Turn on EPEL repo to install nginx stable release: # rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/$(uname -m)/epel-release-5-3.noarch.rpm Step # 2: Install ngnix Type the following command at a shell prompt: # yum install nginx Sample output: Loaded plugins: downloadonly,… Continue Reading
Network Configuration on Debian or Ubuntu Rumi, August 24, 2012 Setting up an Ethernet Interface The majority of network setup can be done via the interfaces configuration file at /etc/network/interfaces. Here, you can give your network card an IP address (or use dhcp), set up routing information, configure IP masquerading, set default routes and much more. Remember to add… Continue Reading
Ozeki NG MySQL Connectivity Parameters Rumi, July 5, 2012July 5, 2012 Databse connection =========================== Driver={mySQL ODBC 5.1 Driver};Server=192.168.0.100;Port=3306;Option=4;Database=mydb;Uid=userdb;Pwd=putmypwd; Sending-Polling ============ SELECT id,sender,receiver,msg,msgtype,operator FROM ozekimessageout WHERE status=’send’ Sending-sending ============= UPDATE ozekimessageout SET status=’sending’ WHERE id=’$id’ Sending-Sent ============== UPDATE ozekimessageout SET status=’sent’, senttime=’$senttime’ WHERE id=’$id’ Sending-Not sent =========== UPDATE ozekimessageout SET status=’notsent’ WHERE id=’$id’ SQL for receiving ============== INSERT INTO ozekimessagein (sender, receiver,… 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