Changeset 3369


Ignore:
Timestamp:
May 23, 2007, 5:00:41 PM (14 years ago)
Author:
Martin Svensson
Message:

Removed the empty row at the top in each programlisting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/src/docbook/admindoc/installation_upgrade.xml

    r3368 r3369  
    211211            to <filename
    212212            class="directory">/path/to/base/bin/</filename> and issue
    213             <programlisting>
    214 sh ./updatedb.sh <emphasis>base_root_password</emphasis>
    215 sh ./updateindexes.sh <emphasis>base_root_password</emphasis>
    216 </programlisting>
     213<programlisting>sh ./updatedb.sh <emphasis>base_root_password</emphasis>
     214sh ./updateindexes.sh <emphasis>base_root_password</emphasis></programlisting>
    217215            where <emphasis>base_root_password</emphasis> is the
    218216            password for the root user account within the BASE
     
    228226            As tomcat user, remove cached files and directories. Do
    229227            something like
    230             <programlisting>
    231 cd /usr/share/apache-tomcat-5.5.15/
    232 rm -rf work/Catalina
    233 </programlisting>
     228<programlisting>cd /usr/share/apache-tomcat-5.5.15/
     229rm -rf work/Catalina</programlisting>
    234230          </para>
    235231        </listitem>
     
    294290            with tomcat
    295291            (directory <filename
    296             class="directory">bin</filename>): <programlisting>
    297 CATALINA_OPTS="-server -Xmx500m"
    298 </programlisting>
     292            class="directory">bin</filename>):
     293<programlisting>CATALINA_OPTS="-server -Xmx500m"</programlisting>
    299294          </para>
    300295          <para>
     
    439434                  new database. To do this, connect to your MySQL
    440435                  server and issue the next lines:
    441                   <programlisting>
    442 CREATE DATABASE base2;
     436<programlisting>CREATE DATABASE base2;
    443437CREATE DATABASE base2dynamic;
    444438GRANT ALL ON base2.* TO db_user@localhost IDENTIFIED BY 'db_password';
    445 GRANT ALL ON base2dynamic.* TO db_user@localhost;
    446 </programlisting>
     439GRANT ALL ON base2dynamic.* TO db_user@localhost;</programlisting>
    447440                </para>
    448441                <para>
     
    469462                  privileges. To do this, log in as your PostgreSQL
    470463                  user and issue these lines (omit comments):
    471                   <programlisting>
    472 createuser db_user -P
     464<programlisting>createuser db_user -P
    473465  # this will prompt for an password for the new user, and issue two
    474466  # more question that should be answered with character 'n' for no.
     
    477469  # this will start the psql command line tool. Issue the next line
    478470  # within the tool and quit with a '\q'.
    479 CREATE SCHEMA "dynamic" AUTHORIZATION "db_user";
    480 </programlisting>
     471CREATE SCHEMA "dynamic" AUTHORIZATION "db_user";</programlisting>
    481472                  The <filename>/path/to/base/misc/sql/createdb.postgresql.sql</filename>
    482473                  file contains the above statements and can be used
     
    550541            Change directory to
    551542            <filename class="directory">/path/to/base/bin</filename>
    552             and run <filename>initdb.sh</filename> as <programlisting>
    553 ./initdb.sh base_root_password
    554 </programlisting>
     543            and run <filename>initdb.sh</filename> as
     544<programlisting>./initdb.sh base_root_password</programlisting>
    555545            <important>
    556546            The <emphasis>base_root_password</emphasis> you use here
     
    577567            <filename class="directory">webapps</filename> directory to
    578568            the <filename class="directory">/path/to/base/www</filename>
    579             directory <programlisting>
    580 cd /path/to/tomcat/webapps
    581 ln -s /path_to_base/www base2
    582 </programlisting>
     569            directory
     570<programlisting>cd /path/to/tomcat/webapps
     571ln -s /path_to_base/www base2</programlisting>
    583572            Start/restart tomcat, and try http://hostname:8080/base2
    584573            (change <emphasis>hostname</emphasis> to your hostname) in
     
    638627              <listitem>
    639628                In <filename>jk.conf</filename> add the lines below
    640                 and change paths appropriately. <programlisting>
    641 # The following lines makes apache aware of the location of
     629                and change paths appropriately.
     630<programlisting># The following lines makes apache aware of the location of
    642631# the /base2 context
    643632Alias /base2 "/srv/www/tomcat5/base/webapps/base2"
     
    653642AllowOverride None
    654643deny from all
    655 &lt;/Location&gt;
    656 </programlisting>
     644&lt;/Location&gt;</programlisting>
    657645              </listitem>
    658646            </itemizedlist>
     
    800788        <listitem>
    801789          <para>
    802             Run migration utility: <programlisting>
    803 cd /path_to_base/dist/bin
    804 ./migrate_from_1.2.sh
    805 </programlisting>
     790            Run migration utility:
     791<programlisting>cd /path_to_base/dist/bin
     792./migrate_from_1.2.sh</programlisting>
    806793          </para>
    807794        </listitem>
Note: See TracChangeset for help on using the changeset viewer.