How To Install drupal7-honeypot on CentOS 7

In this tutorial we learn how to install drupal7-honeypot on CentOS 7. drupal7-honeypot is Mitigates spam form submissions using the honeypot method

Introduction

In this tutorial we learn how to install drupal7-honeypot on CentOS 7.

What is drupal7-honeypot

Honeypot uses both the honeypot and timestamp methods of deterring spam bots from completing forms on your Drupal site (read more here). These methods are effective against many spam bots, and are not as intrusive as CAPTCHAs or other methods which punish the user [YouTube]. The module currently supports enabling for all forms on the site, or particular forms like user registration or password reset forms, webforms, contact forms, node forms, and comment forms. This package provides the following Drupal module * honeypot

We can use yum or dnf to install drupal7-honeypot on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install drupal7-honeypot.

Install drupal7-honeypot on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install drupal7-honeypot using yum by running the following command:

sudo yum -y install drupal7-honeypot

Install drupal7-honeypot on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install drupal7-honeypot using dnf by running the following command:

sudo dnf -y install drupal7-honeypot

How To Uninstall drupal7-honeypot on CentOS 7

To uninstall only the drupal7-honeypot package we can use the following command:

sudo dnf remove drupal7-honeypot

References

Summary

In this tutorial we learn how to install drupal7-honeypot on CentOS 7 using yum and dnf.