\documentclass{article}
\usepackage{ulem}
\pagestyle{headings}
\begin{document}
\tableofcontents

\part{ Upgrading Horde on CentOS 5.2}
Taking Horde installations from 3.1.x to 3.2x

\section{ Upgrading from 3.1.x}
\begin{itemize}
\item{Your system may need different directory settings.}
\item{I assume you have full root access to your server.}
\end{itemize}
\begin{verbatim}

mkdir /zone
mkdir /zone/horde.upgrade
cd /zone/horde.upgrade
wget ftp://ftp.horde.org/pub/horde/horde-3.2.1.tar.gz
gunzip horde-3.2.1.tar.gz
tar -xf horde-3.2.1.tar -C .
mv horde-3.2.1 /var/www/html/

cd /var/www/html/horde-3.2.1/config
for foo in *.dist; do cp $foo `basename $foo .dist`; done
chown -R apache.apache /var/www/html/horde-3.2.1
\end{verbatim}

MAKE COPIES\newline
\begin{verbatim}
cd /zone/horde.upgrade
rsync -auvtP /var/lib/mysql/horde /zone/horde.upgrade
\end{verbatim}

\renewcommand{\labelenumi}{\arabic{enumi}}
\begin{enumerate}
\item{Goto the installation http://yoursite.whatever/horde-3.2.1\footnote{http://yoursite.whatever/horde-3.2.1}}
\item{You will only have horde so set that up.}
\item{Use the settings for the existing Horde mysql database}
\item{Save}
\item{Run the upgrade sql script (putty into your server)}
\item{\texttt{ mysql -uroot horde -ppassword < /var/www/html/horde-3.2.1/scripts/upgrades/3.1\_to\_3.2.mysql.sql }}
\item{Try and logon to this copy of horde}
\end{enumerate}
The only issue I had with logging in was to make sure the \texttt{config/conf.php} pointed at this new installation. \texttt{\$conf['cookie']['path'] = '/horde-3.2.1';}

Once I knew I could login I copied all the other module over from horde to horde-3.2.1\newline
I use rsync to preserver dates.\newline
<code>rsync -auvtP /var/www/html/horde/imp /var/www/html/horde-3.2.1/

for i in forwards mottle vacation agora gollem kronolith nag rakim volos ansel ingo nic chora jeta occam thor whups hermes jonah trean wicked mimp passwd sam turba wps\_sober ducttape klutz mnemo swoosh       \newline
do \newline
  rsync -auvtP /var/www/html/horde/\$i /var/www/html/horde-3.2.1/\newline
done\newline
<code>\newline
Now run all the patches from horde to upgrade the various modules.

\section{ Resources}
Include links to protocol descriptions, specifications, RFCs, external applications, presentations on http://horde.org/papers/\footnote{http://horde.org/papers/} or elsewhere that are relevant, articles, API docs from http://dev.horde.org/\footnote{http://dev.horde.org/} - anything that might be useful to someone working on this.


\noindent\rule{\textwidth}{1pt}
Back to the Project List\footnote{http://example.com/index.php?page=Project}

\end{document}
