Doku für Vhosts hinzugefügt
Dieser Commit ist enthalten in:
Ursprung
8e5fd5dd16
Commit
7ff1462cc8
|
@ -2,7 +2,7 @@
|
|||
% !TeX encoding = UTF-8
|
||||
% !TeX spellcheck = de_DE
|
||||
\chapter{Anhang}
|
||||
\begin{table}[h]
|
||||
\begin{table}[H]% Tabelle Servereinstellungen
|
||||
\begin{tabular}{|l|l|l|l|}
|
||||
\hline
|
||||
&\master&\remote&\management\\\hline
|
||||
|
@ -28,7 +28,7 @@
|
|||
\caption{Einstellungen der Server bei Installation}
|
||||
\label{tab:einstserver}
|
||||
\end{table}
|
||||
\begin{table}[h]
|
||||
\begin{table}[H]% Passwörter
|
||||
\centering
|
||||
\begin{tabular}{ll}
|
||||
\textbf{Anwendung}&\textbf{Passwort}\\\hdashline
|
||||
|
@ -37,10 +37,10 @@
|
|||
Fusiondirectory&DyWeejis\\
|
||||
Openproject&UsadBykEv5\\
|
||||
\end{tabular}
|
||||
\caption{andere Root-Passwörter}
|
||||
\caption{Passwörter}
|
||||
\label{tab:passwort}
|
||||
\end{table}
|
||||
\begin{table}[h]
|
||||
\begin{table}[H]% Liznenzkosten Microsoft
|
||||
\centering
|
||||
\begin{tabular}{|l|l|r|}
|
||||
\hline
|
||||
|
@ -53,7 +53,7 @@
|
|||
\caption{Lizenzkosten Microsoft für gemeinnützige Einrichtungen}
|
||||
\label{tab:lizenzmicrosoft}
|
||||
\end{table}
|
||||
\begin{table}[h]
|
||||
\begin{table}[H]% Alternative Software Lizenzkosten
|
||||
\centering
|
||||
\begin{tabular}{|l|l|r|}
|
||||
\hline
|
||||
|
@ -62,7 +62,7 @@
|
|||
OpenProject Enterprise&User und Monat& 5€\\\hline
|
||||
Redhat Linux Server Standard&Jahr und Host und Prozessorpaar&649,21€\\\hline
|
||||
\end{tabular}
|
||||
\caption{Lizenzen Projektumgebung}
|
||||
\caption{Alternative Software Lizenzkosten}
|
||||
\label{tab:lizfoss}
|
||||
\end{table}
|
||||
\section{Quellcode}
|
||||
|
@ -96,11 +96,37 @@ deb http://repos.fusiondirectory.org/fusiondirectory-extra/debian-jessie jessie
|
|||
\end{listing}
|
||||
\begin{listing}[H]
|
||||
\begin{minted}{bash}
|
||||
apt install fusiondirectory 'fusiondirectory-plugin-(dovecot|mail|posix|postfix|quota|sogo)$'
|
||||
apt install apache2 fusiondirectory 'fusiondirectory-plugin-(dovecot|mail|posix|postfix|quota|sogo)$'
|
||||
\end{minted}
|
||||
\caption{Installation fusiondirectory auf \management{}}
|
||||
\label{list:fusapainstall}
|
||||
\end{listing}
|
||||
\begin{listing}[H]
|
||||
\inputminted{apache}{sourcecode/fusiondirectory-virtualhost.conf}
|
||||
\caption{}
|
||||
\label{list:virthostfus}
|
||||
\end{listing}
|
||||
\begin{listing}[H]
|
||||
\inputminted{apache}{sourcecode/sogo-virtualhost.conf}
|
||||
\caption{}
|
||||
\label{list:virthostsogo}
|
||||
\end{listing}
|
||||
\begin{listing}[H]
|
||||
\inputminted{apache}{sourcecode/icinga2-virtualhost.conf}
|
||||
\caption{}
|
||||
\label{list:virthosticinga}
|
||||
\end{listing}
|
||||
%\begin{listing}[H]
|
||||
% \inputminted{}{sourcecode/}
|
||||
% \caption{}
|
||||
% \label{list:}
|
||||
%\end{listing}
|
||||
%\begin{listing}[H]
|
||||
% \begin{minted}{}
|
||||
% \end{minted}
|
||||
% \caption{}
|
||||
% \label{list:}
|
||||
%\end{listing}
|
||||
\section{Abkürzungen}
|
||||
\begin{acronym}[LDAP]
|
||||
\acro{VM}{virtuelle Maschine}
|
||||
|
|
|
@ -21,11 +21,12 @@ Danach habe ich auf \master{} das folgende Kommando ausgeführt.
|
|||
\mint{text}{sudo apt install slapd postgresql-server}
|
||||
Dieser wird der Nutzerverwaltung und anderen Programmen später als Nutzerdatenbank dienen.
|
||||
Die Frage nach dem Administratorpasswort für \texttt{slapd} habe ich mit dem Passwort aus Tabelle \ref{tab:passwort} beantwortet.
|
||||
|
||||
zusätzlich habe ich
|
||||
\section{Installation Nutzerverwaltung}
|
||||
%\blindtext[3]
|
||||
Auf\master{} und \management{} habe ich die Quellen für Fusiondirectory(Listing \ref{list:fussourcelist}) gespeichert und den \acs{GPG}-Schlüssel \texttt{0xD744D55EACDA69FF} dem Schlüsselbund beider Rechner hinzugefügt. Hiernach habe ich ein Update der Pakete und Quellen durchgeführt und auf \master{} die Befehle aus Listing \ref{list:fusschemainstall} als root ausgeführt. Auf \management{} habe ich die entsprechenden Pakete(Listing \ref{list:fusapainstall}) installiert.
|
||||
|
||||
Hiernach habe ich auf \management{} einen VirtualHost für Fusiondirectory erstellt(Listing \ref{list:virthostfus}).
|
||||
Nachdem die Installation abschlossen war habe ich einen Webbrowser
|
||||
\section{Installation Remoteumgebung}
|
||||
%\blindtext[2]
|
||||
\section{Installation Monitoring}
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName management.literm.local
|
||||
|
||||
<IfModule mod_php.c>
|
||||
<Location />
|
||||
php_admin_flag engine on
|
||||
php_admin_flag register_globals off
|
||||
php_admin_flag allow_call_time_pass_reference off
|
||||
php_admin_flag expose_php off
|
||||
php_admin_flag zend.ze1_compatibility_mode off
|
||||
php_admin_flag register_long_arrays off
|
||||
php_admin_value upload_tmp_dir /var/spool/fusiondirectory/
|
||||
php_admin_value session.cookie_lifetime 0
|
||||
# Remove the comment from the line below if you use fusiondirectory-setup --encrypt-passwords
|
||||
# include /etc/fusiondirectory/fusiondirectory.secrets
|
||||
</Location>
|
||||
</IfModule>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
|
@ -0,0 +1,29 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName icinga.literm.local
|
||||
|
||||
ServerAdmin webmaster@literm.local
|
||||
DocumentRoot /usr/share/icingaweb2/public
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
<Directory "/usr/share/icingaweb2/public">
|
||||
Options SymLinksIfOwnerMatch
|
||||
AllowOverride None
|
||||
SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2"
|
||||
EnableSendfile Off
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteBase /
|
||||
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -d
|
||||
RewriteRule ^.*$ - [NC,L]
|
||||
RewriteRule ^.*$ index.php [NC,L]
|
||||
</IfModule>
|
||||
<IfModule !mod_rewrite.c>
|
||||
DirectoryIndex error_norewrite.html
|
||||
ErrorDocument 404 /error_norewrite.html
|
||||
</IfModule>
|
||||
</Directory>
|
||||
</VirtualHost>
|
|
@ -0,0 +1,8 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName mail.literm.local
|
||||
Include /etc/apache2/conf.d/SOGo.conf
|
||||
<IfModule rewrite_module>
|
||||
RewriteEngine On
|
||||
RewriteRule ^/$ /SOGo [R=301]
|
||||
</Ifmodule>
|
||||
</VirtualHost>
|
In neuem Issue referenzieren