\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
On Suse

<pre><code class="language-bash">
\#!/bin/bash
su postgres
psql -d template1 -f /srv/www/htdocs/horde/scripts/sql/create.pgsql.sql
psql -d horde -f /srv/www/htdocs/horde/scripts/sql/horde\_datatree.sql
psql -d horde -f /srv/www/htdocs/horde/scripts/sql/horde\_vfs.pgsql.sql
psql -d horde -f /srv/www/htdocs/horde/scripts/sql/horde\_users.sql
psql -d horde -f /srv/www/htdocs/horde/scripts/sql/horde\_tokens.sql
psql -d horde -f /srv/www/htdocs/horde/scripts/sql/horde\_sessionhandler.pgsql.sql
psql -d horde -f /srv/www/htdocs/horde/scripts/sql/horde\_prefs.sql
psql -d horde -f /srv/www/htdocs/horde/scripts/sql/horde\_log.sql
psql -d horde -f /srv/www/htdocs/horde/kronolith/scripts/sql/kronolith.pgsql.sql
psql -d horde -f /srv/www/htdocs/horde/mnemo/scripts/sql/mnemo.sql
psql -d horde -f /srv/www/htdocs/horde/nag/scripts/sql/nag.sql
psql -d horde -f /srv/www/htdocs/horde/rakim/scripts/sql/rakim.sql
psql -d horde -f /srv/www/htdocs/horde/turba/scripts/sql/turba\_objects.pgsql.sql
psql -d horde -f /srv/www/htdocs/horde/vilma/scripts/sql/vilma.pgsql.sql
exit
</code></pre>
On Redhat based distro

<pre><code class="language-bash">
\#!/bin/bash
su postgres
psql -d template1 -f /var/www/html/horde/scripts/sql/create.pgsql.sql
psql -d horde -f /var/www/html/horde/scripts/sql/horde\_datatree.sql
psql -d horde -f /var/www/html/horde/scripts/sql/horde\_vfs.pgsql.sql
psql -d horde -f /var/www/html/horde/scripts/sql/horde\_users.sql
psql -d horde -f /var/www/html/horde/scripts/sql/horde\_tokens.sql
psql -d horde -f /var/www/html/horde/scripts/sql/horde\_sessionhandler.pgsql.sql
psql -d horde -f /var/www/html/horde/scripts/sql/horde\_prefs.sql
psql -d horde -f /var/www/html/horde/scripts/sql/horde\_log.sql
psql -d horde -f /var/www/html/horde/kronolith/scripts/sql/kronolith.pgsql.sql
psql -d horde -f /var/www/html/horde/mnemo/scripts/sql/mnemo.sql
psql -d horde -f /var/www/html/horde/nag/scripts/sql/nag.sql
psql -d horde -f /var/www/html/horde/rakim/scripts/sql/rakim.sql
psql -d horde -f /var/www/html/horde/turba/scripts/sql/turba\_objects.pgsql.sql
psql -d horde -f /var/www/html/horde/vilma/scripts/sql/vilma.pgsql.sql
</code></pre>
Remove the scripts for the modules not required. Default username is 'horde' and password is 'pass' change the scripts with your choice.

Jigish

\end{document}
