Let's Share Knowledge And Make A Difference

  • Data Center Solution

    A data centre is a facility where companies can keep and operate most of the ICT infrastructure that supports their business. IT host the most critical systems that are vital to the continuity of daily operations...

    Read More
  • Monitor your network and systems like a hawk

    There are some perfact open souce solution for monitoing your Network devices and server system's health. Nagios, Cacti, WhatsUpGold and Smokeping are the leading monitoring tools among them...

    Read More
  • Email service and Security

    Now a days life without email service is unthinkable and E-mail service is quite expensive. As always linux gives us the answer with a strong mail service named postfix...

    Read More
  • Data Center Solution

    A data centre is a facility where companies can keep and operate most of the ICT infrastructure that supports their business. IT host the most critical systems that are vital to the continuity of daily operations...

    Read More
  • Monitor your network and systems like a hawk

    There are some perfact open souce solution for monitoing your Network devices and server system's health. Nagios, Cacti, WhatsUpGold and Smokeping are the leading monitoring tools among them...

    Read More

Tuesday, April 30, 2013

Mail Server (postfix) Configuration with webmail (Debian wheezy)

Mail Server (postfix) Configuration (Debian wheezy) Postfix installation: 3.apt-get install postfix it will popup a window for Postfix Configuration... ** Select Internet with Smarthost ** Give system mail name mail.mehedi.com ** Enter SMTP relay host if you want to relay your mail though ISP So relay host: mx.bol-online.com   if you don't want to relay leave it blank.         ** after the completion of installation of postfix it will automatically   restart the postfix service. 4. now we will configure...

Grep command tips

Grep command tips: ### Search /path/to/file for tom user: root@host:~# grep tom /etc/passwd ### Ignore word case sencevity: root@host:~# grep -i "boo" /etc/passwd ### grep recursively (read all files under each directory for a string "192.168.1.5") root@host:~#  grep -r "192.168.1.5" /etc/ ### grep to search words only root@host:~#  grep -w "boo" /path/to/file ### grep to search 2 different words root@host:~# egrep -w 'word1|word2' /path/to/file ### Count line when words has been matched root@host:~# grep -c 'word' /path/to/file ###...

Adding Persistent Static Routes in Debian 7 wheezy

Basic Static Routing Part #2 (static route) Adding Persistent Static Routes in Debian 7 wheezy My network diagram: First we have to enable port forwarding at Server#1.  root@server1:~# apt-get install iproute root@server1:~# vim /etc/sysctl.conf net.ipv4.ip_forward=1 root@server1:~# sysctl -p net.ipv4.ip_forward=1 Now, we will add ip address and a static route.   root@server1:~# vim /etc/network/interfaces # The loopback...