HostOnNet Blog

Category Archives: Linux

How to benchmark Linux computer

Benchmarking a Linux system with Simple command line tools measure many different attributes such as CPU performance, disk I/O, memory, graphics card, network speed testing etc. In the terminal type following command (Below command requires root privilege, so run it


What is the equivalent of the “tracert” DOS command?

Traceroute and tracert commands are network diagnostic tools used to track the pathway taken by a packet on an IP network from source to destination. The main difference is of the Operating System and how the command is implemented in


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