Koozali.org: home of the SME Server

phpSysInfo 2.5.2_rc3 howto

Offline cool34000

  • *
  • 339
  • +0/-0
phpSysInfo 2.5.2_rc3 howto
« on: August 27, 2006, 01:34:08 AM »
Hello,
This is how to install phpSysInfo's last version (2.5.2_rc3) on SME 7.0
I know a rpm exists but this howto is up to date (for the moment...)

So first you have to create an i-bay, php must be activated of course...
I use lazy-admin-tools to do that :
Code: [Select]
lat-ibays -a -c "phpsysinfo | PhpSysInfo i-bay | admin | wr-group-rd-everyone | local | | enabled"I make an i-bay only accessible on the LAN with no password by default, you may want to change that (via the server-manager ibay panel)

Then you have to delete the default index.html in the phpsysinfo i-bay :
Code: [Select]
rm /home/e-smith/files/ibays/phpsysinfo/html/index.html
Now download the lastest version of PhpSysInfo and extract all the files to your phpsysinfo html's folder.
Then rename the file config.php.new to config.php

Finally, you have to allow phpsysinfo to access some folders (/proc  /bin /etc and /usr/bin/)
Code: [Select]
/sbin/e-smith/db accounts setprop phpsysinfo PHPBaseDir /home/e-smith/files/ibays/phpsysinfo/:/proc:/bin:/etc:/usr/bin/
/sbin/e-smith/signal-event ibay-modify phpsysinfo




You can edit config.php to activate or deactivate some stuffs.

You may also want to replace redhat's default png by a fresh SME png ! Just edit distros.ini to change to something like this :
Code: [Select]
[RedHat]
Image = "SME.png"
Files = "/etc/redhat-release;/etc/redhat_version"
and find/put your SME.png in /images folder...

I've stoled my icon here http://argenlos.free.fr/index.php?option=com_wrapper&Itemid=50  :-D


Hope it can help someone !

drfresh

phpSysInfo 2.5.2_rc3 howto
« Reply #1 on: August 27, 2006, 02:49:26 PM »
Thanks - worked great.

I have a few points though: Is it correct that you get a phpsysinfo directory in the html directory, or should I have extracted it in some other way? And perhaps you should mention where the SME.png info should be edited. I found it and it works.

Thanks!

Offline cool34000

  • *
  • 339
  • +0/-0
phpSysInfo 2.5.2_rc3 howto
« Reply #2 on: August 27, 2006, 04:37:54 PM »
Hello,

I don't have a phpsysinfo folder in html, all my files are in html.
Sorry for not mentionning about SME.png
So you have to replace that :
Code: [Select]
Image = "Redhat.png"by that :
Code: [Select]
Image = "SME.png"and of course you have to put the SME.png in /images folder


Glad to help !