Lrwxrwxrwx 1 root root 26 Oct 27 12:07 ssl.load ->. Lrwxrwxrwx 1 root root 26 Oct 27 12:07 ssl.conf ->. $ sudo ls -la /etc/apache2/mods-enabled/ | grep ssl To activate the new configuration, you need to run: See /usr/share/doc/apache2/ on how to configure SSL and create self-signed certificates. Check ls -la /etc/apache2/mods-enabled/Īs we can see.the ssl module is not avaiable! Let's enable it with a2enmod!Ĭonsidering dependency socache_shmcb for ssl: These are modules that are available for apache. $ sudo ls -la /etc/apache2/mods-available You can check the apache modules available at /etc/apache2/mods-available: ![]() See: Set Up Let’s Encrypt On Debian 11 With Apache Server Note: This is important if installing ssl certs at a later date. ![]() Let’s use these to install Apache modules. a2query: This utility can be used to gather information about sites currently enabled. a2dismod: This utility is used to disable extra Apache2 modules. a2enmod: This utility is used to enable extra Apache2 modules. a2dissite: This utility is used to disable a website by specifying the website’s configuration file. a2ensite: This utility is used to enable a website after the configuration file has been created. Now we have utilities for managing both sites and modules in Apache. The other option is to simply navigate to the IP address of the webserver. The easiest option is to use the lsof utility: ![]() There are several ways to confirm that the Apache webserver is up and running. Once installed, the Apache webserver will be up and serving a default web page. $ sudo apt install mariadb-server php libapache2-mod-php php-zip php-mbstring php-cli php-common php-curl php-xml php-mysqlĪfter MySQL and PHP installation finishes, it is often recommended to secure MySQL installation using mysql_secure_installation the utility. Once Debian 11 is installed, let’s follow and install the rest with the apt meta-packager. The first step is to install a Devian server. This article describes How to install LAMP (Linux, Apache, MySql-Maria, PHP) on Debian 11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |