Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: cool34000 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 :
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 :
rm /home/e-smith/files/ibays/phpsysinfo/html/index.html
Now download the lastest version of PhpSysInfo (http://sourceforge.net/projects/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/)
/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 :
[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 !
-
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!
-
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 :
Image = "Redhat.png"
by that :
Image = "SME.png"
and of course you have to put the SME.png in /images folder
Glad to help !