All posts by HydTech

How to Install Sensu Monitoring on Ubuntu 16.04

Zabihah Halal Vitamins
How to Install Sensu Monitoring on Ubuntu 16.04
Sensu is a free and open source tool for composing the monitoring system you need. In this tutorial, we will go through step by step installation of Redis, RabbitMQ and Sensu on Ubuntu 16.04.

Powered by WPeMatico

Linux: Iptables List and Show All NAT IPTables Rules Command

Linux: Iptables List and Show All NAT IPTables Rules Command
I am using /sbin/iptables -L -v -n | more command. However, I am unable to list NAT rules. How do I use the iptables command to view or list NAT rules stored in NAT tables? How do I see all the rules in NAT tables under CentOS / RHEL / Debian / Ubuntu Linux based server?
Halal Vitamins

Powered by WPeMatico

How to change or configure OpenBSD package install mirror

How to change or configure OpenBSD package install mirror
openbsd commandI am trying to install nginx server on OpenBSD but keep getting an error that read as follows when I run the pkg_add command:

https://mirror.leaseweb.com/pub/OpenBSD/6.1/packages/amd64/quirks-2.304.tgz” title=”quirks-2.304.tgz: ftp: Error retrieving file: 404 Not Found
signify: gzheader truncated
https://mirror.leaseweb.com/pub/OpenBSD/6.1/packages/amd64/nginx-1.10.2p2.tgz” title=”nginx-1.10.2p2.tgz: ftp: Error retrieving file: 404 Not Found
signify: gzheader truncated

How do I change or configure OpenBSD package install mirror for the pkg_add command?
Halal Vitamins

Powered by WPeMatico

Linux expand Command Tutorial For Beginners (with Examples)

Zabihah Halal Vitamins
Linux expand Command Tutorial For Beginners (with Examples)
While working on the command line in Linux, there may arise a situation where-in the requirement is to replace tabs in a file with spaces. The task isn’t difficult if the file is small, but what if the file you’re dealing with is huge, or worse, there are hundreds of files in which you have to make this change? Worry not, there exists a command line tool that’s specifically built for this work. The tool in question is expand, and in this tutorial, we will discuss the basics of expand using some easy to understand examples.

Powered by WPeMatico

How to test PHP 7 and WordPress MySQL/MariaDB Database connectivity using a PHP script

How to test PHP 7 and WordPress MySQL/MariaDB Database connectivity using a PHP script

I wanted to test if my PHP 7 and MySQL/MariaDB for WordPress are working. If not I wanted to see some error on screen or for my monitoring system. How to write a script for a quick PHP MySQL DB connection test for WordPress or any other database and send an email or text when site is down?
Halal Vitamins

Powered by WPeMatico