How to Allow MySQL Client to Connect to Remote MySQL server Rumi, December 19, 2011 By default, MySQL does not allow remote clients to connect to the MySQL database. If you try to connect to a remote MySQL database from your client system, you will get “ERROR 1130: Host is not allowed to connect to this MySQL server” message as shown below. $ mysql -h… Continue Reading
Recover MySQL root Password Rumi, December 19, 2011 Step # 1 : Stop mysql service # /etc/init.d/mysql stop Output: Stopping MySQL database server: mysqld. Step # 2: Start to MySQL server w/o password: # mysqld_safe –skip-grant-tables & Output:[1] 5988 Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[6025]: started Step # 3: Connect to mysql server using mysql client:… Continue Reading
Virtual USB and VBoxusergroup Troubleshoot on Linux Host Rumi, December 16, 2011December 16, 2011 I faced USB issues on both Virtualbox installation on both Debian and CentOS linux host. I really didn't notice the urgency of vboxusers group in running VBox in headless mode! Anyway, following snippets of texts really did help me out solving my USB problems. All credits goes to the VBox… Continue Reading
Centreon – Preconfigured nagios Rumi, December 15, 2011December 15, 2011 Centreon is a network, system, applicative supervision and monitoring tool, it is based upon the most effective Open Source monitoring engine : Nagios. Centreon can be used as a Nagios GUI which gather a lots of new features. Learn more: http://www.centreon.com Continue Reading
CentOS – Enable or Disable SELinux in command interface Rumi, December 14, 2011 From the command line, you can edit the /etc/sysconfig/selinux file. This file is a symlink to /etc/selinux/config. The configuration file is self-explanatory. Changing the value of SELINUX or SELINUXTYPE changes the state of SELinux and the name of the policy to be used the next time the system boots. [root@host2a… Continue Reading
VBoxHeadless – Running Virtual Machines With VirtualBox 4.0 On A Headless CentOS 5.6 Server Rumi, December 14, 2011December 14, 2011 This guide explains how you can run virtual machines with VirtualBox 4.0 on a headless CentOS 5.6 server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment. Fortunately, VirtualBox comes with a tool called VBoxHeadless that allows you to… Continue Reading
Icinga Sample Host cfg file to monitor Windows Server Rumi, December 8, 2011December 8, 2011 define host{ use windows-server ; Inherit default values from a template host_name blk-smsgw ; The name we're giving to this host alias Windows Server ; A longer name associated with the host address 10.10.10.1 ; IP address of the host } definehostgroup{ alias Windows Servers ; Long name… Continue Reading
Monitor Windows Service using Nagios (Icinga) Rumi, December 8, 2011 On the Nagios Server edit the file /usr/local/nagios/etc/objects/windows.cfg: # vi /usr/local/nagios/etc/objects/windows.cfg Add the following to create a new service definition to monitor the process state of WinVNC.exe (VNC Server): # Create a service for monitoring the WinVNC.exe process # Change the host_name to match the name of the host you… Continue Reading
UN Guideline on How to Write your Resume Rumi, December 7, 2011 Please make sure to provide ALL the information requested in these guidelines. INCOMPLETE APPLICATIONS MAY NOT BE ACCEPTED. Please also refer to the additional note indicated at the bottom of these guidelines. A. Cover letter Please elaborate, in a concise statement NOT EXCEEDING ONE PAGE why you consider yourself… Continue Reading
Postfix Configuration on Centos 5.x Rumi, December 5, 2011 Let's install Postfix and Dovecot (Dovecot will be our POP3/IMAP server): yum install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix dovecot Next we configure SMTP-AUTH and TLS: postconf -e 'smtpd_sasl_local_domain =' postconf -e 'smtpd_sasl_auth_enable = yes' postconf -e 'smtpd_sasl_security_options = noanonymous' postconf -e 'broken_sasl_auth_clients = yes' postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination'… Continue Reading