How To Install lighttpd-mod-vhostdb-dbi on Ubuntu 20.04
Introduction
In this tutorial we learn how to install lighttpd-mod-vhostdb-dbi
on Ubuntu 20.04.
What is lighttpd-mod-vhostdb-dbi
lighttpd-mod-vhostdb-dbi is:
This package contains the vhostdb_dbi module for lighttpd. With this module, it is possible to write the configuration for virtual hosts into a database table instead of including it in the lighttpd configuration file.
Package: lighttpd-mod-vhostdb-dbi Architecture: amd64 Version: 1.4.55-1ubuntu1 Priority: optional Section: universe/httpd Source: lighttpd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian lighttpd maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 23 Depends: lighttpd (= 1.4.55-1ubuntu1), libc6 (>= 2.4), libdbi1 (>= 0.9.0) Filename: pool/universe/l/lighttpd/lighttpd-mod-vhostdb-dbi_1.4.55-1ubuntu1_amd64.deb Size: 4944 MD5sum: 9218f6d9a004fa62f1b680398fb1ae7d SHA1: a7d72130655fc609b6544a422a0dc8a4b735f8d0 SHA256: a477fd81137934ebbd8a139aac66294552858c5090a92a36b2ecabbdb56e0c3a Homepage: https://www.lighttpd.net/ Description-en: DBI-based virtual host configuration for lighttpd This package contains the vhostdb_dbi module for lighttpd. With this module, it is possible to write the configuration for virtual hosts into a database table instead of including it in the lighttpd configuration file.
There are three methods to install lighttpd-mod-vhostdb-dbi
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install lighttpd-mod-vhostdb-dbi Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install lighttpd-mod-vhostdb-dbi
using apt-get
by running the following command:
sudo apt-get -y install lighttpd-mod-vhostdb-dbi
Install lighttpd-mod-vhostdb-dbi Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lighttpd-mod-vhostdb-dbi
using apt
by running the following command:
sudo apt -y install lighttpd-mod-vhostdb-dbi
Install lighttpd-mod-vhostdb-dbi Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install lighttpd-mod-vhostdb-dbi
using aptitude
by running the following command:
sudo aptitude -y install lighttpd-mod-vhostdb-dbi
How To Uninstall lighttpd-mod-vhostdb-dbi on Ubuntu 20.04
To uninstall only the lighttpd-mod-vhostdb-dbi
package we can use the following command:
sudo apt-get remove lighttpd-mod-vhostdb-dbi
Uninstall lighttpd-mod-vhostdb-dbi And Its Dependencies
To uninstall lighttpd-mod-vhostdb-dbi
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove lighttpd-mod-vhostdb-dbi
Remove lighttpd-mod-vhostdb-dbi Configurations and Data
To remove lighttpd-mod-vhostdb-dbi
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge lighttpd-mod-vhostdb-dbi
Remove lighttpd-mod-vhostdb-dbi configuration, data, and all of its dependencies
We can use the following command to remove lighttpd-mod-vhostdb-dbi
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lighttpd-mod-vhostdb-dbi
References
Summary
In this tutorial we learn how to install lighttpd-mod-vhostdb-dbi
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.