| Contributed by: | contributed by Martin Elhøj |
| Created/Updated: | februar 09, 2004 |
1) create a <new> ibay using the server-manager
2) download the latest PhpSysInfo version from http://sourceforge.net/projects/phpsysinfo/ into the newly created ibay. If you are using version 2.1 then issue the following commands:
[root@e-smith ]# cd /home/e-smith/files/ibays/<new>/html
[root@e-smith ]# wget http://belnet.dl.sourceforge.net/sourceforge/phpsysinfo/phpSysInfo-2.1.tar.gz
[root@e-smith ]# tar -zxvf phpSysInfo-2.1.tar.gz
A new directory will be created (phpsysinfo-2.1) where an index.php is located.
3) enable the PHP script to access the /proc directory (where all the fun is...)
[root@e-smith ]# /sbin/e-smith/db accounts setprop <new> PHPBaseDir /home/e-smith/files/ibays/<new>/:/proc:/bin
[root@e-smith ]# /sbin/e-smith/signal-event ibay-modify <new>
4) try it out... (http://your.domain.com/<new>/phpsysinfo-2.1/index.php)
An example of PhpSysInfo can be seen here