How To Install drupal7-domain on CentOS 7

In this tutorial we learn how to install drupal7-domain on CentOS 7. drupal7-domain is A domain-based access control system

Introduction

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

What is drupal7-domain

The Domain Access project is a suite of modules that provide tools for running a group of affiliated sites from one Drupal installation and a single shared database. The module allows you to share users, content, and configurations across a group of sites such as * example.com * one.example.com * two.example.com * my.example.com * thisexample.com <– can use any domain string * example.com By default, these sites share all tables in your Drupal installation. The Domain Prefix module (for Drupal 6) allows for selective, dynamic table prefixing for advanced users. This package provides the following Drupal modules * domain * domain_alias * domain_conf * domain_content * domain_nav * domain_settings * domain_source * domain_strict * domain_theme

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

Install drupal7-domain 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-domain using yum by running the following command:

sudo yum -y install drupal7-domain

Install drupal7-domain 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-domain using dnf by running the following command:

sudo dnf -y install drupal7-domain

How To Uninstall drupal7-domain on CentOS 7

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

sudo dnf remove drupal7-domain

References

Summary

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