HostOnNet Blog

Author Archives: admin

Mounting KVM qcow2 image

To mount qcow2 virtual machine image, you need to install qemu-nbd. On Ubuntu, run Load the kernel module with command For testing, we download Fedora 25 gcow2 image Lets check the file details Lets mount it on device /dev/nbd0 You


Plesk Qmail SMTP Server

Plesk control panel in Linux can use Postfix or Qmail as SMTP server. Here are some useful commands working with Plesk Server with Qmail SMTP Server. Stop/Start Qmail To start qmail use To stop qmail use Log file In pleask,


filesystem

Mounting Windows File System on Linux Encrypt folder before storing on Cloud with EncFS GlusterFS – Storage for your Cloud Mounting KVM qcow2 image


Mounting Windows File System on Linux

To mount a windows file system (CIFS/Samba) on Linux, run Example To auto mount file system on boot, add following to /etc/fstab Now run You will see the network drive mounted Common Errors failed: Key has expired error is due


Find VNC port of a KVM Virtual machine in SolusVM

To find VNC port of a KVM Virtual machine in SolusVM, first get the Node ID from SolusVM Virtual server details page. Here the VM ID is kvm120, now to find VNC password, login to the server (Node) that host


ssh tunnel with autossh

autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. To install autossh on Ubuntu, run To start SSH tunnel using autossh, run Example autossh -M


rtorrent

rtorrent is a command line torrent client for Linux. https://github.com/rakshasa/rtorrent You can install rtorrent on CentOS/RHEL/Fedora with On Debian/Ubuntu Using rtorrent CTRL+S Start a torrent. CTRL+Q Quit rtorrent. CTRL+D Delete a torrent, you need to highlight it with arrow key


CoreOS disable Consistent Network Device Naming

To disable Consistent Network Device naming in CoreOS, run Then reboot the server Now network interface will look like core@localhost ~ $ ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00


Free Images for Web Developers

Here are some sites that offers free images and photos. http://www.freeimages.com https://unsplash.com/


Change network name to eth0 on Ubuntu/Debian

To change network name to eth0 like in old versions of linux, edit file Find Replace with Now run On reboot, your network name will be changed back to old eth0/eth1 format. CoreOS disable Consistent Network Device Naming