HostOnNet Blog

Category Archives: Linux

What is the location of DNS zone file in WHM

What is the location of DNS zone file in WHM Default location of zone file is /var/named. We have root access to the system in order to view the /var/named directory. We can add a new or change an existing


How to set root password in Ubuntu Linux

Open terminal command on your computer and type the following command to set root password sudo passwd root By typing the following command in terminal, you can connect as root user su –


How to add a phpinfo file in your site to check PHP information

This article describes about creating a phpinfo.php file on your site. You can use a phpinfo() page to view the current PHP information for your server such as: Information about PHP compilation options and extensions PHP version Server information and


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