HostOnNet Blog

Disable MySQL Strict Mode

To disable MySQL strict mode, edit my.cnf file Find something like following. Replace with Now restart MySQL Verify MySQL Strict Mode To verify if you are running MySQL on strict mode or not, run If MySQL is not running under


Apache Limit Access to a folder

I was working on a site that have “cache” folder inside DocumentRoot of Apache. Since this is a cache folder used by the PHP application, it need to be writable by apache user. We need to prevent access to this


Load Balancing with Haproxy

Haproxy is an open source load balancer software. http://www.haproxy.org If you have large site running on multiple web server, haproxy helps to to balance load between these web servers. To install haproxy on Ubuntu, run Haproxy config file is located


ISPConfig Free Hosting Control Panel

ISPConfig is a free Open Source control panel. https://www.ispconfig.org Port used by ISPConfig 8080. Web sites are stored in folder Here is an example folder structure Each site have following folder structure See Free Hosting Control Panels


Benchmarking Web Server with ab

ab is a tool for benchmarking web servers. It generate large amount of concurrent requests to a web site, simulating high traffic. This helps you identify how many visitors your web server able to handle. Here we generate 30 concurrent


Convert Putty PPK file to Linux

ppk is format used to store private key by popular windows ssh client Putty. This do not work on Linux, if you want to use .ppk file to connect to remote server from Linux machine, you need to convert it


rpm – Package Manager for RedHat Linux

rpm manage software packages in distros like Fedora, RedHat, CentOS. To list all installed software packages, run To see if a package is installed, run Example root@server2 [~]# rpm -qa | grep exim exim-4.89-3.cp1162.x86_64 root@server2 [~]# List all Files in


Ubuntu 16.04 PhpMyAdmin root login problem

On Ubuntu 16.04 when i login to PhpMyAdmin with user root, i get error This is because MySQL by default use local system account to login as user root. This is done with plugin “unix_socket”. To allow MySQL user root


Disable Alerts in NetData

Netdata have several health checks. This can be found in folder You can configure alarm notify options in file If you want to disable all alerts from netdata, edit Find Replace with Restart netdata netdata Server Monitoring Tools