[livesupport-dev] first version of install script
  • I added the first version of the livesupport install script into the
    CVS, as livesupport/bin/install.sh. it currently only 'installs' the PHP
    stuff, basically moving them to the installation directory, and
    configuring them properly.

    Tomas and/or Sebastian, could you give it a try, and take a look if it
    does what it's supposed to do?

    (for the confguration files, I created conf.php.template files, which
    have specific tokens at the configuration options I change. please,
    after running the install script, double-check the configuration files
    for the PHP modules...)

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 1 Comment sorted by
  • On Fri, 25 Mar 2005 16:56:08 +0100 Akos Maroy wrote:
    > I added the first version of the livesupport install script into the
    > CVS, as livesupport/bin/install.sh. it currently only 'installs' the PHP
    > stuff, basically moving them to the installation directory, and
    > configuring them properly.
    >
    > Tomas and/or Sebastian, could you give it a try, and take a look if it
    > does what it's supposed to do?
    >
    > (for the confguration files, I created conf.php.template files, which
    > have specific tokens at the configuration options I change. please,
    > after running the install script, double-check the configuration files
    > for the PHP modules...)

    I've made this changes to install.sh:
    ------------------- diff --------------------
    diff -r1.2 install.sh
    223c223,224
    < if [ "`pear info $1`" ]; then
    ---
    > test_result=`pear info $1`
    > if [ $? = 0 ]; then
    272c273
    < | psql" \
    ---
    > | psql template1" \
    277c278
    < | psql" \
    ---
    > | psql template1" \
    ------------------- diff --------------------

    it's commited.

    The 1st thing is for pear module check - it was true for not installed too.
    The 2nd and 3rd: psql have said me 'database postgres does not exists'
    (and template1 exists from postgres installation)

    Next I've created symlink from webspace to installation dir and
    run 'php -q install.php' in storageServer/var/install dir.

    Then it seems to work OK!
    I have tried:
    through XMLRPC: resetStorage, login, getAudioClip and logout
    in htmlUi: login, browse, MDataXML and logout
    all OK

    Generated config files seems to be OK.

    thanks to Akos

    I will try to run storageServe's tests on installed system ...

    Tomas Hlava
    th@red2head.com

    ------------------------------------------
    Posted to Phorum via PhorumMail