PDA

View Full Version : difficulty installing


harry
01-02-2006, 08:56 AM
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

ts77
01-02-2006, 11:07 AM
use a console window, don't just click on that file ;).

harry
01-02-2006, 01:03 PM
I have tried that but to no avail

ts77
01-02-2006, 01:04 PM
leading to which result?

harry
01-02-2006, 01:28 PM
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

ts77
01-02-2006, 03:50 PM
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.

zellster
01-03-2006, 01:32 PM
It might help to send the result of "ls -l install.sh". I am curious if the execute bits are unset.