Category: Linux

  • Stay away from suspicious access with fail2ban

    A number of suspicious access to Linux servers happens on the Internet every day. Fail2ban is software to protect Linux servers from brute-force attacks. Installation on Ubuntu Linux server: $ sudo apt update $ sudo apt install fail2ban Configuration of Fail2ban: Configuration files are located in directory /etc/fail2ban. An example checks the status & unban […]

  • How to setup a email relay with the Postfix SMTP server ?

    Email relay is an email server which forwards incoming SMTP emails to an another SMTP server. Postfix can be setuped as an email relay. First, you should ensure which domaisn are being forwarded (eg. and, and hostname of destination SMTP server which you expects emails for these domains forwarding to. (eg. destination_host of […]

  • How to manage KVM Virtual Machine

    How to manage KVM Virtual Machine

    virsh is the administration tool of KVM virtual machine, for examples, starting up or shutting down VM operation, control and modify the virtual machine, etc. virsh can be used as an interactive command shell or direct execution with its sub-commands. List KVM Virtual Machine and their names ‘virsh list’ lists the running KVM virtual machine. […]

  • How to build KVM virtual machine on Ubuntu 16.04

    How to build KVM virtual machine on Ubuntu 16.04

    KVM (Kernel-based Virtual Machine) is the virtualization solution supported on Ubuntu and other Linux distributions, it is added to mainstream Linux Kernel from version 2.6.20. QEmu is the complete KVM emulator.  Many cloud servers are running as virtual machines, its advantage is rapid deployment. A number of machines can be added in a short time […]

  • Samba Windows file server on Linux

    Samba Windows file server on Linux

    Samba is an open source software to provide windows file and print sharing on Linux server. Windows 10: Setup Tips Q: Windows 10 displays error message “\\samba\share is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. You […]