CentsOS Upgrade Nagios to 4.3.4

We had NAGIOS installed from CentOS repositories version 4.x.x. But we upgraded nrpe to version 3 which did not support old NAGIOS version that comes with repository. This is how we upgraded to veriosn 4.3.4 yum install rsync wget rsync -rav /usr/local/nagios/ /opt/nagios411backup/ wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.3.4.tar.gz tar xf ./nagios-4.3.4.tar.gz && cd ./nagios-4.3.4 ./configure –with-command-group=nagcmd make all…

Setting up your own Monero mining pool with node-cryptonote-pool and Ubuntu 14

Feel free to use our Monero mining pool. mnrpool.tekyhost.com In this how to we will be setting up Monero mining pool with node-cryptonote-pool. We will be using Ubuntu-14.04 VPS running on VirtualBox Monero Monero first came around in April 2014. One of its main attractions is anonymity and security. Monero incorporates features into the cryptocurrency…

Encrypting home folder on Ubuntu or Linux mint

In this example we will encrypt home directory for user user1. This procedure should work on any Ubuntu system or similar platform like Linux mint. We will need to have administrator user besides user1 to complete the encryption. 1. Create admin user user2 2. Install necessary software if its not yes installed sudo apt-get install…

Install latest version of apache, mariadb and php on CentOS7

In one of out previous tutorials Install LAMP on CentOS we looked at installing LAMP on CentOS 7. Although this type if installation is fine for most of the deployments, in some cases you want to get the latest version of LAMP components. In most cases we will want to do this due to security…

How to Configure Cisco 881 Series Router with Cable modem and static IP

This tutorial will show how to configure Cisco 881 Series Router with Cable modem in bridged mode and static IP address. It will work with any model that has Fast Ethernet WAN interface. Simply what it means your WAN interface connects to Cable Modem with Regular Ethernet cat 5e or 6 patch cable. The particular…

Mining litecoin with cpuminer

Lets look at how we can mind litecoin with cpuminer and litecoinpool. 1. Go to www.litecoinpool.org website and create an account. 2. Install cpuminer # apt-get update # apt-get install libcurl4-openssl-dev git # apt-get install build-essential # apt-get install autotools-dev autoconf # apt-get install libcurl3 libcurl4-gnutls-dev # apt-get install automake # mkdir /downloads # cd…

Blocking words in Subject using postfix

In order to block certain words in Subject using postfix the following has to be done. 1. In /etc/postfix/main.cf add the following vi /etc/postfix/main.cf header_checks = regexp:/etc/postfix/header_checks 2. Create header_checks and add the following line. In this example we will block XXX word separated by spaces. vi /etc/postfix/header_checks /^Subject:.*\b(XXX)\b/ DISCARD

Convert VirtualBox .vdi image to qcow2

We needed to convert .vdi image created on VirtialBox hiperviser to qcow2 format for use with KVM. Below are steps that we took to get it done. 1. Convert vdi to raw disk image VBoxManage clonehd –format RAW vmimage.vdi vmimage.img 2. On KVM host we can now convert it to qcow2 qemu-img convert -f raw…

Zimbra Domain Admin Delegation Open Source version 8.x and up

We were assigned a task of creating user account with access to only certain things. This can be done with this simple approach on Zimbra Open Source addition. 1. First create user admin_usr@domain.com for domain for which you want to grant delegation admin access. 2. We create admin_deleg.sh script in /opt/zimbra directory. The script should…