HostOnNet Blog

Category Archives: Linux

How to check Ubuntu version in terminal

If you have forgotten the version of your Ubuntu OS then follow this tutorial which explains how to find the Ubuntu version. Open the Terminal (keyboard shortcut: Ctrl+Alt+T) In the terminal type following command: Your version will be shown on


Magento

magento 2

magento 2 comes with command line tool, to get list of all commands, run Magento 2 by default run in “production” mode. On this mode, it won’t show any errors, it write to log file in var/logs folder. When you


How to install HP LaserJet 1020 plus printer drivers in Ubuntu 16.04

For the first time, I’ve installed Ubuntu 16.04 on my PC. Previously I was using Windows 7. The printer was connected when I was using Windows and now when OS changed, I had to do following things to make it


VestaCP Free Hosting Control Panel

VestaCP – Free Hosting Control panel

VestaCP is a free open source hosting control panel available at http://vestacp.com/ Source code available at https://github.com/serghey-rodin/vesta


ISPConfig Free Hosting Control Panel

ISPConfig DNS Error

When i add a DNS zone in ISPConfig, it get added, but domain did not resolve. When i check the /var/named folder, i see the domain name with .err extension [root@server named]# ll total 44 drwxrwx—. 2 named named 4096


Target is busy

When i try to un mount a disk, i get error I need to find which program is using the drive, stop it before i can un mount the drive. To do this, run In this case, i have swap


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


Haproxy

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 Free Hosting Control Panel

ISPConfig DNS Error 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