Blog from SysAdmin

Enable/Disable Dell iDRAC7 web service from SSH

Enable/Disable Dell iDRAC7 web service using “racadm” command via SSH. Step 1: Connect to and login to your server through SSH. (Default username “root” and password “calvin” ) Step 2: Now type the following command to display the status of the IDRAC web server service: # racadm get idrac.webserver Step 3: If the Enable setting is set […]

Move MySQL data to another folder cPanel/WHM

Due to the space issue in /var partition, I need to move the MySQL data to another partition. But before beginning the process let’s first create the full mysqldump first. Create the dump file. # mysqldump –all-databases | gzip > /home/alldatabases.sql.gz Uncheck monitor in WHM > Service Manager for Mysql and save the area. Now your […]

Add VirtualDisk on Xen VM using XE command line

Add VirtualDisk on Xen VM using XE command line

The Citrix documentation says that each PV Virtual Machine can have up to 16 virtual disks attached. However, when I tried to add more than 6 (1 for the VM, 5 for the data) using XenCenter, I got an error: “You have reached the maximum number of virtual disks allowed for this virtual machine”   […]

Installation of NagiosQL 3.3.0 on CentOS7

Installation of  NagiosQL 3.3.0 on CentOS7

First, download the nagiosQL3.3.0 from the web. cd /tmp curl -L -O tar xvf nagiosql_330.tar.gz chown -R apache: nagiosql33 Now configure in apache section accordingly. cd /etc/httpd/conf.d/ cat nagiosql.conf Alias /nagiosql “/opt/nagiosql33” <Directory “/opt/nagiosql33”>         Options Indexes FollowSymLinks         Require ip </Directory> Now access the nagiosQL installation page through the URL: […]

Install Nagios Core v4.3.4 on CentOS7

Install Nagios Core v4.3.4 on CentOS7

In this tutorial, we will cover the installation of Nagios Core v4.3.4, a very popular open source monitoring system on CentOS 7 First, LAMP stack is required for the Nagios installation process. I assume you’ve already configured it. We will install from some dependencies first. yum install gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel […]