HostOnNet Blog

Author Archives: admin

Setting hostname On CentOS 7 Server

CentOS 7 come with a command hostnamectl to query and change the system hostname and related settings. Set hostname To set hostname, run Example [root@localhost ~]# hostnamectl set-hostname server2.hosthat.com [root@localhost ~]# hostname server2.hosthat.com [root@localhost ~]# See also HostName


Enable SSL in Apache VirtualHost

To enable SSL in for a web site in Apache, you need to copy the non SSL virtual host entry and make a new entry for SSL enabled Virtual Host. Let says we have a virtual host entry like following.


Verify SSL certificate and private key

Some times you have a SSL certificate and private key that do not match. To verify if SSL certificate and Private keys are matched, run Compare the md5 sum you got with that of private key.


TailWatch – Monitor Services in Cpanel Server

TailWatch is a service that monitors log files for errors in Cpanel Servers. TailWatch also monitors following cpanel modules chkservd cpbandwd eximstats jailmanager modseclog recentauthedmailiptracker chkservd chkservd determines whether a process is online and whether to restart it. Config files


CRM – Open Source Software for Business

Dolibarr ERP & CRM is a modern and easy to use Open Source Software package to manage your business (customers, invoices, orders, products, stocks, agenda, e-mailings, shipments…). https://www.dolibarr.org It’s an Open Source software (wrote in PHP language) designed for small,


Windows 2016 Nano Server

Microsoft introduced new Nano Server with Windows Server 2016. A deeply refactored version of Windows Server, designed to give you the lightest and fastest server OS configuration with fewer patch and updates, faster restarts, better resource utilization and tighter security.


Cpanel webmail down, cpanel_php_fpm keep failing

On a cpanel server webmail is down and keep getting email from cpanel server saying cpanel_php_fpm failed. On checking cpanel php-fpm log, have following error Problem is fixed by editing file Add Now restart php-fpm service


Installing SSL on WSO2 Application Server

WSO2 is an Open Source Enterpise ready API and Application Server available fom http://wso2.com Inststruction for SSL certificate installation available at https://docs.wso2.com/display/AS521/Creating+New+Keystores First you need to Generate CSR and Private Key. Follow instructions at https://blog.hostonnet.com/csr Now you have .csr and


Moodle PHP has not been properly configured with the PGSQL

On installing Moodle on Ubuntu 16.04 server, i got following error Fixed by installing php7.0-pgsql package.


Building Packages For EasyApache 4!

EasyApache 4 on cpanel servers provide rpm based packages for Apache web server and PHP. EasyApache 3 used to build Apache and PHP from source. This is a time consuming process. Easy update/build process take anywhere between 20 to 30