difficulty installing

Discussion in 'Install/Configuration' started by harry, Jan 2, 2006.

  1. harry

    harry New Member

    Hello
    i downloaded the server and extracted the file. I followed the instructions to Go to the installation directory and run command ./install.sh. When i do this the file does not ececute but rather opens in kwrite. I know it is most likely my fault but could some one help me here. I am new to linux.
    Running knoppix
    thanks
    Harry Law
    Ireland
  2. ts77

    ts77 New Member

    use a console window, don't just click on that file ;).
  3. harry

    harry New Member

    I have tried that but to no avail
  4. ts77

    ts77 New Member

    leading to which result?
  5. harry

    harry New Member

    it stiil opens i kwrite this is what is see
    #!/bin/sh

    cd `dirname "$0"`
    source ./functions.sh
    if [ $? != 0 ]; then
    . ./functions.sh
    if [ $? != 0 ]; then
    echo [ERROR] Can not include 'functions.sh'.
    exit 1
    fi
    fi

    LSINSTALL_DIR=`dirname "$0"`
    cd $LSINSTALL_DIR

    init
    license
    install_dir
    admin_login


    if [ $INSTALL_TYPE = "reinstall" ]; then

    getUserGroup
    stopLshttpd
    getServerPort
    getAdminPort
    enablePHPHandler
    fi

    cat <<EOF

    Installing, please wait...

    EOF

    buildConfigFiles

    installation

    setupPHPAccelerator
    installAWStats
    importApacheConfig
    finish
  6. ts77

    ts77 New Member

    you've dropped on the command-line, changed to the lsws-install-directory, and sending
    ./install.sh
    there opened it in kwrite for you? then something really strange is going on on your system.
  7. zellster

    zellster New Member

    It might help to send the result of "ls -l install.sh". I am curious if the execute bits are unset.

Share This Page