How to install and use vnstat (Network Traffic Monitor) in linux

Show Statistics for a Hour

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources. In this … Read more

SSHGuard – Block Brute Force Attack in RHEL/CentOS 6.x

SSHGuard is an intrusion prevention system written in C language. SSHGuard parses server logs, determines malicious activity, and then bans malicious users via firewall rules. SSHGuard protects many services out of the box: sshd Sendmail Exim dovecot Cucipop UWimap (imap, pop) vsftpd proftpd pure-ftpd FreeBSD ftpd Install and configure SSHGuard on RHEL/CentOS 6.x Install sshguard. … Read more

How to install latest Google Chrome on Ubuntu and Mint Linux

Google Chrome is a multiplatform (Linux, Windows and Mac OS) web browser developed by Google. Google Chrome is most popular browser and used by users. This tutorial describes how to install Google Chrome web browser in Ubuntu 14.04 LTS. This tutorial also work on Ubuntu flavor (Edubuntu, Kubuntu, Lubuntu, Ubuntu Gnome, Ubuntu Kylin, Ubuntu Studio, … Read more

Linux findmnt command (find mounted file systems)

Findmnt command will list all mounted filesytems or search for a filesystem. The findmnt command is able to search in /etc/fstab, /etc/fstab.d, /etc/mtab or /proc/self/mountinfo. If device or mountpoint is not given, all filesystems are shown. Install findmnt The command findmnt comes in the package util-linux. Findmnt default installed on most distros like Ubuntu, Fedora, Debian. … Read more

Monitoring network connection using ss command

ss command

A very useful tool in administering a Linux network is the ss command. You can identify socket statistics with this command. The ss command is very similar to the netstat command. However, you can gain more useful information about TCP and state information with the ss command. The ss command is fast. Information is very … Read more

Atop – monitor system resources in Linux

atop command example

Atop is an interactive monitor to view the load on a Linux system. It shows the occupation of the most critical hardware resources on system level, i.e. cpu, memory, disk and network. It also shows which processes are responsible for the indicated load with respect to cpu- and memory load on process level. Disk load … Read more

How to use “tree command” on linux

tree command example usage

Tree is a program available for Unix and Unix-like systems. tree is a recursive directory listing program that produces a depth-indented listing of files. With no arguments, tree lists the files in the current directory. When directory arguments are given, tree lists all the files and/or directories found in the given directories each in turn. … Read more

Install Viber on Debian/Ubuntu and Linux Mint 64 bit

viber on ubuntu

What is Viber? Viber is a VOIP (Voice Over Internet Protocol) client that allows users to send free messages and make free calls to other Viber users, on any device and network, anywhere in the world. Viber allows you to syncs your contacts and messages with your mobile device. [box type=”info” align=”” class=”” width=””]See also: Install … Read more

Install Ajenti control panel on CentOS 6.5

Ajenti is a simple and easy to use admin panel that can be used to manage server tasks from any web browser a bit similar to the webmin module but what really caught my attention was GUI its really nice and everyone’s gonna agree once they install and use it . The features of this admin panel can be extended by the use of … Read more

How to configure Network interfaces in RHEL/CentOS or Fedora Linux

In RHEL/CentOS or Fedora, you can configure network interfaces by using configuration files located in /etc/sysconfig/network-scripts/. For each network interface (e.g., eth0), there should be a corresponding configuration file (e.g., ifcfg-eth0) in the directory. If you would like to configure a network interface, do the following. $ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 If you would like to … Read more