Fuck it, YOLO!

This commit is contained in:
2023-12-22 01:59:46 +02:00
parent 26e48a8371
commit 206c1fa2ac
17 changed files with 3131 additions and 1329 deletions

View File

@@ -3,48 +3,9 @@
%% ----------------------------------------------------------------
% Set up the document
\documentclass[a4paper, 11pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn
\graphicspath{Figures/} % Location of the graphics files (set up for graphics to be in PDF format)
% Table configuration packages
\usepackage{array,graphicx}
\usepackage{booktabs}
\usepackage{pifont}
\usepackage{tabu}
\usepackage{longtable}
\usepackage{xcolor}
\usepackage{tcolorbox}
\usepackage{textcomp}
% Υποστήριξη για ελληνικά
\usepackage[utf8]{inputenc}
\usepackage[greek]{babel}
\usepackage{alphabeta}
\usepackage[LGR, T1]{fontenc}
\usepackage{multicol}
\makeatother
% Include any extra LaTeX packages required
\usepackage[square, numbers, comma, sort, compress]{natbib} % Use the "Natbib" style for the references in the Bibliography
\usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
\usepackage{float} % To keep figures in place
\hypersetup{urlcolor=black, colorlinks=false, pdfborder = {0 0 0}} % Colours hyperlinks in blue
% Define enumerated description lists
\usepackage{enumitem}
\newcounter{descriptcount}
\newcounter{descriptcount2}
\newlist{enumdescript}{description}{2}
\setlist[enumdescript,1]{%
before={\setcounter{descriptcount}{0}%
\renewcommand*\thedescriptcount{\arabic{descriptcount}.}}
,font=\bfseries\stepcounter{descriptcount}\thedescriptcount~
}
\setlist[enumdescript,2]{%
before={\setcounter{descriptcount2}{0}%
\renewcommand*\thedescriptcount{\roman{descriptcount2}.}}
,font=\bfseries\stepcounter{descriptcount2}\thedescriptcount~
}
\documentclass[a4paper, 12pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn
\input{SettingsAndPackages/formatsAndDefs} % Include settings and custom commands
%% ----------------------------------------------------------------
\begin{document}
@@ -54,7 +15,7 @@
%\pagenumbering{arabic}
% Set up the Title Page
\title {Σκλήρυνση Μηχανής Δοχείων και Λειτουργικού Συστήματος σε Περιβάλλοντα \textlatin{Linux}}
\title{Σκλήρυνση Μηχανής Δοχείων και Λειτουργικού Συστήματος σε Περιβάλλοντα Linux}
\authors {\texorpdfstring
{\href{mailto:icsd16221@aegean.gr}{Χωλίδης Κωνσταντίνος - 321/2016221}}
@@ -63,7 +24,7 @@
\addresses {\groupname\\\deptname\\\univname} % Do not change this here, instead these must be set in the "Thesis.cls" file, please look through it instead
\date {Σάμος, Ιούλιος 2022}
\subject {}
\keywords {}
\keywords {docker, linux, security, virtualization, cloud, hardening, containers, virtual machines}
\maketitle
@@ -80,36 +41,8 @@
%% ----------------------------------------------------------------
% Declaration Page required for the Thesis, your institution may give you a different text to place here
\Declaration{
\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
Εγώ, ο Χωλίδης Κωνσταντίνος, δηλώνω ότι αυτή η διπλωματική εργασία με τίτλο, Σκλήρυνση Μηχανής Δοχείων και Λειτουργικού Συστήματος σε Περιβάλλοντα \textlatin{Linux}, και η δουλειά που παρουσιάζεται σε αυτή είναι δικά μου. Επιβεβαιώνω ότι:
\begin{itemize}
\item[\tiny{$\blacksquare$}] Αυτή η δουλειά πραγματοποιήθηκε ολοκληρωτικά ή κυρίως κατά την υποψηφιότητά μου για τίτλο προπτυχιακών σπουδών σε αυτό το πανεπιστήμιο.
\item[\tiny{$\blacksquare$}] Όπου οποιοδήποτε μέρος αυτής της πτυχιακής εργασίας έχει προηγουμένως κατατεθεί για την απόκτηση πτυχίου ή άλλου τίτλου σε αυτό ή άλλο πανεπιστήμιο, αυτό διατυπώνεται ξεκάθαρα.
\item[\tiny{$\blacksquare$}] Όπου έχω συμβουλευτεί την δημοσιευμένη δουλειά τρίτων, αυτό αποδίδεται ορθώς.
\item[\tiny{$\blacksquare$}] Όπου έχω παραθέσει από δουλειά τρίτων, η πηγή δίνεται πάντα. Με εξαίρεση αυτές τις παραθέσεις, αυτή η πτυχιακή εργασία είναι εξ ολοκλήρου προσωπική μου δουλειά.
\item[\tiny{$\blacksquare$}] Έχω παραθέσει όλες τις κύριες πηγές βοήθειας.
\item[\tiny{$\blacksquare$}] Όπου αυτή η πτυχιακή εργασία είναι βασισμένη σε συνεργατική δουλειά δική μου και τρίτων, έχω καταστήσει ξεκάθαρο ποια κομμάτια έχουν πραγματοποιηθεί από άλλους και πώς συνέβαλα εγώ.
% Alternative to "\\" without the "Underfull \hbox (badness 10000) in paragraph" error
\vspace{\baselineskip}
\end{itemize}
Υπογραφή:\\
\rule[1em]{25em}{0.5pt} % This prints a line for the signature
Ημερομηνία:\\
\rule[1em]{25em}{0.5pt} % This prints a line to write the date
}
\clearpage % Declaration ended, now start a new page
\input{Declaration/declaration} % Include the declaration page
%% ----------------------------------------------------------------
% The "Funny Quote Page"
@@ -117,10 +50,10 @@
\null\vfill
% Now comes the "Funny Quote", written in italics
\textit{\textlatin{Απόφθεγμα (προαιρετικό)}}
\textquote{\textit{UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity.}}
\begin{flushright}
\textlatin{Συγγραφέας Αποφθέγματος}
Dennis Ritchie (1941 - 2011)
\end{flushright}
\vfill\vfill\vfill\vfill\vfill\vfill\null
@@ -128,37 +61,9 @@
%% ----------------------------------------------------------------
% The Abstract Page
\addtotoc{Σύνοψη} % Add the "Abstract" page entry to the Contents
\abstract{
\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
Τη σήμερον ημέρα όλο και περισσότερος κόσμος βασίζεται πλέον σε υπηρεσίες τύπου
\textlatin{IaaS} έναντι των παραδοσιακών \textlatin{Server Room} για τις
υποδομές υπηρεσιών. Αυτό συμβαίνει διότι κατ'' αυτό τον τρόπο μειώνονται τα
λειτουργικά έξοδα μιας και δεν υπάρχει ανάγκη δαπάνης για την αγορά εξοπλισμού
για την έναρξη διάθεσης της εκάστοτε υπηρεσίας αλλά είναι πλέον δυνατό να
κλιμακωθεί ανάλογα με τις ανάγκες των χρηστών της υπηρεσίας που προσφέρεται με
μια απλή και γρήγορη επανεκκίνηση της εικονικής μηχανής χρησιμοποιώντας νέες
παραμέτρους. Με αυτόν τον τρόπο μεταβιβάζεται η ευθύνη της συντήρησης
εξοπλισμού σε τρίτους αλλά ταυτόχρονα εισάγεται ένα καινούριο μοντέλο
εμπιστοσύνης ανάμεσα όχι μόνο στον χρήστη και τον πάροχο νέφους αλλά και αυτόν
που παρέχει τις πολλές φορές προ ρυθμισμένες διανομές \textlatin{Linux} σε
αυτόν.
\input{Abstract/abstract} % Include the abstract page
Στην παρούσα εργασία θα αναλύσουμε τις τρωτότητες μιας ιδεατής μηχανής και
τρόπους για την αντιμετώπισή τους. Έπειτα θα μιλήσουμε για την τεχνολογία
\textlatin{Docker} και το πως μπορεί να γίνει χρήση της με μεγαλύτερη ασφάλεια.
Ο σκοπός της εργασίας είναι η δημιουργία ενός εργαλείου που θα μπορεί όχι μόνο
να δημιουργεί ιδεατές μηχανές κατά μήκος πολλών παρόχων νέφους αλλά και να τις
σκληραίνει με έναν αυτοματοποιημένο τρόπο. Επιπροσθέτως θα εγκαθιστά σε αυτές
τη μηχανή δοχείων \textlatin{Docker} την οποία επίσης θα σκληραίνει με σκοπό το
εύκολο στήσιμο υπηρεσιών με ασφαλή τρόπο για οποιονδήποτε χρήστη ανεξαρτήτως
επιπέδου γνώσεων στον τομέα της ασφάλειας και των λειτουργικών συστημάτων τύπου
\textlatin{Unix}.
}
\clearpage % Abstract ended, start a new page
%% ----------------------------------------------------------------
\setstretch{1.3} % Reset the line-spacing to 1.3 for body text (if it has changed)
@@ -169,37 +74,30 @@
Εδώ γράφονται οι ευχαριστίες.
}
\clearpage % End of the Acknowledgements
%% ----------------------------------------------------------------
\pagestyle{fancy} %The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
%% ----------------------------------------------------------------
\lhead{\emph{Περιεχόμενα}} % Set the left side page header to "Contents"
% Changed all \emph to \textgreek to get the corrext font
\lhead{\textgreek{Περιεχόμενα}} % Set the left side page header to "Contents"
\tableofcontents % Write out the Table of Contents
%% ----------------------------------------------------------------
\lhead{\emph{Κατάλογος Σχημάτων}} % Set the left side page header to "List if Figures"
\lhead{\textgreek{Κατάλογος Σχημάτων}} % Set the left side page header to "List if Figures"
\listoffigures % Write out the List of Figures
%% ----------------------------------------------------------------
\lhead{\emph{Κατάλογος Πινάκων}} % Set the left side page header to "List of Tables"
\lhead{\textgreek{Κατάλογος Πινάκων}} % Set the left side page header to "List of Tables"
\listoftables % Write out the List of Tables
%% ----------------------------------------------------------------
\setstretch{1.5} % Set the line spacing to 1.5, this makes the following tables easier to read
\clearpage % Start a new page
\lhead{\emph{Συντομογραφίες}} % Set the left side page header to "Abbreviations"
\listofsymbols{ll} % Include a list of Abbreviations (a table of two columns)
{
% \textbf{Acronym} & \textbf{W}hat (it) \textbf{S}tands \textbf{F}or \\
% Εδώ μπαίνουν οι συντομογραφίες
}
\lhead{}
\input{Abbreviations/abbreviations} % Include a list of abbreviations (a table of two columns)
%% ----------------------------------------------------------------
% End of the pre-able, contents and lists of things
% Begin the Dedication page
@@ -211,7 +109,6 @@
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%% ----------------------------------------------------------------
\mainmatter % Begin normal, numeric (1,2,3...) page numbering
\pagestyle{fancy} % Return the page headers back to the "fancy" style
@@ -225,16 +122,14 @@
\input{Chapters/3.RelevantWork} % Relevant Work
\input{Chapters/4.ProjectDevelopment} % Framework
\input{Chapters/4.ProjectDevelopment} % Project Development
\input{Chapters/5.ProjectShowcase} % Project
\input{Chapters/5.ProjectShowcase} % Project Showcase
\input{Chapters/6.Experimentation} % Experiment 2
\input{Chapters/6.Experimentation} % Metrics
\input{Chapters/7.Conclusions} % Results and Discussion
%\input{Chapters/Chapter7} % Conclusion
%% ----------------------------------------------------------------
% Now begin the Appendices, including them as separate files
@@ -248,14 +143,22 @@
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%% ----------------------------------------------------------------
\label{Bibliography}
\lhead{\emph{Βιβλιογραφία}} % Change the left side page header to "Bibliography"
\bibliographystyle{ACM-Reference-Format}
% \bibliographystyle{unsrtnat} % Use the "unsrtnat" BibTeX style for formatting the Bibliography
\textlatin{
\bibliography{Bibliography} % The references (bibliography) information are stored in the file named "Bibliography.bib"
\lhead{\textgreek{Βιβλιογραφία}} % Change the left side page header to "Bibliography"
\renewcommand*{\bibfont}{\textbf\small} % Have the correct font
% So far the settings bellow in conjunction with the microtype package fix the overflow and underflow of the bibliography
% If you want to break on URL numbers
\setcounter{biburlnumpenalty}{9000}
% If you want to break on URL lower case letters
\setcounter{biburllcpenalty}{9000}
% If you want to break on URL UPPER CASE letters
\setcounter{biburlucpenalty}{9000}
\textenglish{ % Majority of the bibliography is in english so we need the english hyphenation
\printbibliography[title={Βιβλιογραφία}]
}
\end{document} % The End
%% ----------------------------------------------------------------