Guide to Install Free SME Server Linux Operating System as File Server. The SME server is a very simple to use linux distribution for servers.
How to install PhpSysInfo in an i-Bay
First Create an ibay where you remember to enable "Execution of dynamic content"
Information bay name: awstats
Description: AWStats Web Statistics
Group: Admin
User access: Write=group, Read=everyone
Public access: As you like it
Execution of dynamic content: Enabled
1) create a 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//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 PHPBaseDir /home/e-smith/files/ibays//:/proc:/bin
[root@e-smith ]# /sbin/e-smith/signal-event ibay-modify
4) try it out... (http://your.domain.com//phpsysinfo-2.1/index.php)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment