HostOnNet Blog

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


Checking hard disk health with smartctl

To check hard disk for error, run To list all smart data, run Here is a hard disk that is failing. This server had following messages in /var/log/messages


Format partition with mkfs

mkfs command is used to format disk partition in linux. To format a partition to ext4 format, run For example (be careful, you lose all data on /dev/sdb1).


Google Cloud

gsutil gcloud is command line tool that is used to provision and manage Google Cloud Platform services. You can download and install it from https://cloud.google.com/sdk/gcloud/ You can also access it by clicking “Cloud Shell” button on Google Cloud Console top


SUSE Linux Enterprise Server

To install software on SUSE Linux Enterprise Server, you can use command zypper or yast. zypper is command line tool like yum or apt. yast have GUI based on ncurses, that work in terminal. cnf is another useful tool that


Kernel panic – not syncing: No working init found.

On a CentOS 7 server, i got error “Kernel panic – not syncing: No working init found.” on boot. This normally happen when you try boot wit wrong partition or system files are missing. I checked the server in rescue


Restart IIS from Command Line

To restart IIS from command line, run command prompt as administrator and run


ClamAV – Open Source Antivirus for Windows and Linux

ClamAV is a free Open Source antivirus engine for detecting malware and virus. You can use it on Linux and Windows. https://www.clamav.net/ To scan a file To scan all files in /home folder.


Find inside files

To find all php files in /home folder with content “Spy Shell” Some of the common function used in hacker scripts that you can search for. Find the particular string from the list of files in current directory: To find


Free Open Source Live Chat Software

LiveHelperChat is an Open source – Live Support chat for your website. Web and desktop clients. Co-Browsing, XMPP notifications, GTalk, Jabber, Openfire, Skype, Chrome extension, Node.js support, MySQL, PostgreSQL. https://livehelperchat.com/ You can find source code in GitHub https://github.com/LiveHelperChat/livehelperchat