HostOnNet Blog

Changing Your SSH Key

Like changing password at times, it is good practice to change your SSH key at times. But updating all servers with your new SSH key can be time consuming. Here is what i done to change my SSH key. First


Copying files with rsync

Backup linux server with rsync MySQL Data Directory Backup with Rsync rsync is used to sync/copy files. If files are already present on destination, it will not copy files again, only changed or new files get copied when you run


How to find Ubuntu/Debian version

To find version of Ubuntu/Debian, you can run Example This way show exact point release, for example this is Debian 8.8. You can use lsb_release command to find more details, lets first install lsb_release if not already installed. Now run


Installing webmin on Ubuntu/Debian

webmin is a free control panel for linux servers. It is mainly used to manage linux servers. This is not a web hosting control panel. http://www.webmin.com/deb.html To install webmin on Debian/Ubuntu, first add webmain repo Add Install webmin GPG Key


Install Cpanel DNS Only Server

Before installing cpanel dns only, you need to update the server and install some software that maybe useful Now install Cpanel DNS Only Server with This may take some time to finish. Once install finished, login to http://your-server-ip:2086 See cpanel


pacman – Installing software in Arch Linux

packman is package management tool used in Arch linux. It is like yum on RedHat Linux, apt on Debian/Ubuntu. If you already familiar with yum, dnf or apt, arch linux wiki have list of equivalent commands for pacman https://wiki.archlinux.org/index.php/Pacman/Rosetta Update


pyCharm – Best Free IDE for Python

pyCharm Community Edition is best Free IDE for Python/Django. This is created by JetBrains, they make many popular IDE for differnt programming languages like IntelliJ IDEA for Java, phpStrom for PHP, AndroidStudio for Android development and more. https://www.jetbrains.com/pycharm/ PyCharm support


Proxychains – Route Traffic through proxy

proxychains is a command line program that allows you to route traffic through proxy. proxychains support all types of proxy servers. You can configure proxy servers in browser like firefox, but not all applications support proxy configurations, proxychains help you


Display Errors in PHP Script

Some web servers have PHP display_errors turned off by default for security reason. This is good for security, but make debug very hard. To display errors in PHP script, add following code to PHP script


Exim Mail Server

To list all mails in queue To see total number of mails in Queue, run To view body of a mail, run To see header of a mail, run To find scripts that send email in Cpanel server, run