Nicholas SNA Individual (Almost Done)
Nicholas SNA Individual (Almost Done)
Table of Contents
Section 1.....................................................................................................................................................3
Section 2.....................................................................................................................................................6
Section 3...................................................................................................................................................11
Section 4...................................................................................................................................................15
Install Dovecot.........................................................................................................................................23
Section 5...................................................................................................................................................32
Section 6...................................................................................................................................................36
Section 7...................................................................................................................................................60
1.0 Section 1
1.1 Sudo apt update
1.2 Sudo apt upgrade (First Screenshot)
1.3 Sudo apt upgrade (Second screenshot)
Section 2
Sudo apt install bind9 (First screenshot)
Sudo apt install bind9 (second screenshot)
Configuring BIND (Berkeley Internet Domain)
1. As shown the Status of the DHCP Server is Active and running with
specified subnet configuration
Section 4
Postfix Installation
First Screenshot
Postfix Installation
Second Screenshot
Second Screenshot
Dovecot Configuration File Command
First Screenshot
1. This Dovecot Configuration File contains the settings which are related to
authentication purposes
Second Screenshot
2. This Dovecot Configuration File contains the settings which are related to
authentication purposes.
Dovecot Mail Server Configuration Command
First Screenshot
Apache2 Installation Command
Second Screenshot
1. You can alter the "index.html" file's content by opening it using sudo nano
index.html. Typically, the HTML file "index.html" allows you to edit the
HTML markup, add or delete text, insert images, update links, and make any
other adjustments to the structure and style of the web page.
2. In my case, I went ahead and edited the heading one to “This is Nicholas’s
Website” and the paragraphs to “This website is for you to purchase goods”
The following represents the website I have edited.
Section 6 (LDAP Server)
Question 6
LDAP Installation
Configure LDAP Authentication for Email and Web Services:
First Screenshot
PHP LDAP Admin Installation
Second Screenshot
1. A web-based LDAP client called PHP LDAP Admin offers a graphical user
interface for controlling LDAP (Lightweight Directory Access Protocol)
servers. A protocol called LDAP is used to access and maintain distributed
directory information services over a network.
Configuring Web Services In - PHPLdapadmin Configuration File
First Screenshot
Second Screenshot
1. The LDIF File contains information with regards to user accounts which
contains different attributes unique to the user, such as their username,
password, mail and etc.
Command to Encrypt User Password
First Screenshot
Second Screenshot
1. This shows that the record entry to the LDAP Server was successful.
This command installs several packages in order to setup and email server
alongside postfix which is responsible for mail transfer whilst Dovecot takes care
of IMAP functionality.
1. Postfix is a well-liked mail transfer agent (MTA) for sending and receiving
emails. The primary element in charge of managing both incoming and
outgoing email delivery is this one. IMAP and POP3 email servers, such as
Dovecot, are available for free. Dovecot's fundamental components, which
are necessary for the software to work, are included in the dovecot-core
package. IMAP (Internet Message Access Protocol) server functionality for
Dovecot is especially provided by the package known as dovecot-imapd.
IMAP is a protocol that gives users access to their email on a distant mail
server, the ability to manage folders, and the ability to sync their email
across several devices. Dovecot-LDAP: This package enhances support for
LDAP integration with Dovecot. Centralized authentication and user
administration are made simple by LDAP, a protocol that is used to store and
retrieve user and group information.
This File Configuration is to the Postfix mail server's primary controls and
settings
Command
1. In this Configuration File I edited the #LDAP Server settings, the changes
made were to the dc, uid, userPassword, homeDirectory, hosts, uidNumber
and gidNumber according to my personal settings.
1. The (sudo a2endmod authnz_ldap) command was run to enable the module
and then the (sudo systemctl restart apache2) restarted and made the module
take into effect.
Command to Open the Apache Server Configuration File
This particular Certbot plugin is for integrating with the Apache web server.
It enables Certbot to easily set up HTTPS for websites hosted on an Apache
server by automatically configuring Apache to use the acquired SSL/TLS
certificates.
First Screenshot
Second Screenshot