Checklist for Server-Installation

Mandatory Packages

OK?

Package / Configuration

git

curl

ntp

ftp

sshpass

fontconfig

ghostscript

libxext6

libxrender1

ttf-mscorefonts-installer

unzip

tmux

zip

apache2

libapache2-mod-php7.4

php-common

php7.4

php7.4-bcmath

php7.4-bz2

php7.4-cli

php7.4-common

php7.4-curl

php7.4-gd

php7.4-igbinary

php7.4-imap

php7.4-intl

php7.4-json

php7.4-ldap

php7.4-mailparse

php7.4-mbstring

php7.4-mysql

php7.4-opcache

php7.4-readline

php7.4-ssh2

php7.4-soap

php7.4-tidy

php7.4-xml

php7.4-xmlrpc

php7.4-zip

mariadb-client

mariadb-server

General

$ apt update && apt upgrade

$ apt install git curl ntp ftp sshpass fontconfig ghostscript \
  libxext6 libxrender1 ttf-mscorefonts-installer unzip tmux zip

Apache

$ apt install apache2

PHP

$ apt install libapache2-mod-php7.4 php-common php7.4 php7.4-bcmath php7.4-bz2 \
  php7.4-cli php7.4-common php7.4-curl php7.4-gd php7.4-igbinary php7.4-imap \
  php7.4-intl php7.4-json php7.4-ldap php7.4-mailparse php7.4-mbstring \
  php7.4-mysql php7.4-opcache php7.4-readline php7.4-ssh2 php7.4-soap \
  php7.4-tidy php7.4-xml php7.4-xmlrpc php7.4-zip

MariaDB

$ apt install mariadb-client mariadb-server

Optional Packages

OK?

packages

etckeeper

lynis

php-redis

redis-server

unattended-upgrades

Configurations

OK?

packages

Apache Module activated (alias deflate rewrite expires filter headers [ssl])

Apache Module deactivated (autoindex status cgi)

PHP (Apache)

PHP (CLI)

MariaDB

SSH Key-Pair

SourceGuardian Loader

Note

Square brackets […] mean that these are optional packages / modules / configurations.