yes i have PhpSysInfo version 2.5.1 running on my test server, first i upgrade from server version 6.5 and i have to run my install ones again and then it works, second i made a fress install af SME-SERVER 7.0rc3 and then run my install script and it works
Here is my script :
#!/bin/sh
clear
echo "==================================================================="
echo " To run script type 'sh phpSysInfo-install.sh Directory IBay File' "
echo " Directory default to ..: 'PhpSysInfo' "
echo " IBay default to .......: 'Primary' "
echo " File default to .......: 'phpsysinfo-2.5.1.tar.gz' "
echo "==================================================================="
echo " This phpSysInfo install script has bee developed by "
echo " Svenn-Erik Krengelund Thomsen at http://sme.sekt.dk "
echo " e-mail me at mailto:sekt@sekt.dk "
echo " skype me at callto:svenn-erik "
echo " and developed for use with SME Server version 6.5-01 "
echo " "
echo " ----------------------------------------------------------------- "
echo " Revision History: "
echo " "
echo " Dec 29, 2005: Initial revision history. "
echo " June 01, 2006: can run with comandline options "
echo " ----------------------------------------------------------------- "
echo " No express or implied warranties are provided and its usage "
echo " is at your own risk! "
echo " "
echo " If you feel confortable with the above then press <Enter> "
echo " if not press <Ctrl>+<C> to abort the instalation "
echo "==================================================================="
echo ""
read x
clear
if [ $1 ]
then
echo "Using install directory as specified on command line = '$1'"
MyDir=$1
else
echo "No Install directory specified using default 'PhpSysInfo'"
MyDir="PhpSysInfo"
fi
if [ $2 ]
then
echo "Using install ibay as specified on command line = '$2'"
MyIBay=$2
else
echo "No Install ibay specified using default 'Primary'"
MyIBay="Primary"
fi
if [ $3 ]
then
echo "Using the file as specified on command line = '$3'"
MyFile=$3
else
echo "No file option specified using default 'phpsysinfo-2.5.1.tar.gz'"
MyFile="phpsysinfo-2.5.1.tar.gz"
fi
if [ -d /home/e-smith/files/ibays/$MyIBay ]
then
mkdir /root/plus/phpsysinfo/download
cd /root/plus/phpsysinfo/download
echo ""
echo "================================================================================="
echo "= First Download all required file "
echo "================================================================================="
echo ""
wget -nc http://kent.dl.sourceforge.net/sourceforge/phpsysinfo/$MyFile
echo ""
echo "================================================================="
echo " Installing $MyFile "
echo "-----------------------------------------------------------------"
echo ""
mkdir -p /home/e-smith/files/ibays/$MyIBay/html/$MyDir
tar -zxvf $MyFile
mv ./phpsysinfo/* /home/e-smith/files/ibays/$MyIBay/html/$MyDir
rmdir phpsysinfo
cd /home/e-smith/files/ibays/$MyIBay/html/$MyDir
mv config.php.new config.php
echo ""
echo "================================================================="
echo " Enable the PHP script to access the /proc directory "
echo "================================================================="
echo ""
/sbin/e-smith/db accounts setprop $MyIBay PHPBaseDir /home/e-smith/files/ibays/$MyIBay/:/proc:/bin
echo ""
echo "================================================================="
echo " Update iBay, Please wait! "
echo "================================================================="
echo ""
/sbin/e-smith/signal-event ibay-modify $MyIBay
echo ""
echo "================================================================="
echo " Installation completed"
echo "================================================================="
echo ""
else
echo ""
echo "================================================================="
echo "The '$MyIBay' iBay does not exist!! "
echo "Please create one and return to the installation script "
echo "================================================================="
fi
the script kan be run with option
sh PhpSysInfo.sh Directory IBay File
If not used Directory default to PhpSysInfo, IBay Default to Primary and File default to phpsysinfo-2.5.1.tar.gz
I have som more script for SMEServer 6.0 & 6.5 at
http://sme.sekt.dk/Server_Script/Have good fun!
Svenn-Erik K. Thomsen