HostOnNet Blog

Category Archives: Linux

LiteSpeed Web Server Commands

Start/Stop LiteSpeed To start the web server: or To stop the web server: To restart the web server: Check License To reset admin password to login to web interface, run See litespeed


Upgrade Debian 8 to Debian 9 Stretch

Debian 9 Stretch is almost ready to be released. Release date of Debian 9/Stretch is 2017-06-17. Today i upgraded a VPS running Debian 8.8/Jessie to Debian 9. One problem i found was after upgrade, eth0 was renamed to ens3. That


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


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


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


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


Install Atlassian Confluence on Ubuntu 16.04

To install Atlassian Confluence, download it from https://www.atlassian.com/software/confluence/download This is a Java Application, minimum recommended Memory is 6 GB RAM. Now to go URL If you are installing on remote server, replace localhost with server ip. You will see Select


pip Failed to build cryptography

When installing fabric with pip, i get following error The error is related to build/temp.linux-x86_64-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory This is fixed by installing libssl-dev on Ubuntu On RedHat/CentOS, you need to install


CPAN – Comprehensive Perl Archive Network

cpan provide large collection of open source perl modules. https://www.cpan.org/ To install a perl module from cpanel, run Example