\documentclass[11pt,english,a4paper,twoside]{book}
\usepackage{babel,fancyhdr,graphicx,url,graphics,listings,longtable,minitoc}
\usepackage[latin1]{inputenc}
\usepackage{hyperref,xspace}
\usepackage{graphicx}
\usepackage{tocbibind}
%\setlength{\parskip}{1em}
%\setlength{\parindent}{0pt}
\usepackage{varioref}
\newcommand{\abbrev}[1]{\textsc{#1}}
\newcommand{\rpm}{\abbrev{rpm}\xspace}
\newcommand{\unix}{\abbrev{Unix}\xspace}
\newcommand{\bsd}{\abbrev{bsd}\xspace}
\newcommand{\apt}{\abbrev{apt}\xspace}
\newcommand{\vms}{\abbrev{vms}\xspace}
\newcommand{\freebsd}{Free\bsd}

\date{}
\title{Scalable software distribution systems\\{\small TDT4750 Computer systems administration, depth study}}
\author{Tollef Fog Heen (tfheen@idi.ntnu.no)}
\date{\today}
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{4}
\renewcommand{\intextsep}{1em}

%%% Page layout


\pagestyle{fancy}
\lhead[\thepage]{\leftmark}      % Note the different brackets!
\rhead[\leftmark]{\thepage}
\lfoot{Scalable software distribution systems}
\rfoot{}
\cfoot{}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\evensidemargin=0.5cm
\oddsidemargin=1.5cm
\headheight=15pt

\begin{document}
\pagenumbering{roman}
\bibliographystyle{unsrt}
\renewcommand\bibname{References}
\maketitle

\pagestyle{empty}
\cleardoublepage
\input{preamble}
\input{summary}
\tableofcontents

\cleardoublepage
\input{dissertation}
\cleardoublepage
\pagestyle{fancy}
\pagenumbering{arabic}
\input{introduction}

\input{problem_definition}
\input{philosophy}

\input{existing_solutions}
\input{composition}

\input{postamble}
\input{furtherwork}

\bibliography{bibliography}

\end{document} 