phpsysinfo under Alpine Linux

phpSysInfo is a simple application that displays information about the host it’s running on. I have mentioned phpsysinfo already two times on this blog (Installation under Debian on a Qnap TS-209 and Installation on Fedora). This time Alpine Linux is covered. The steps below are needed.

  • Setting Up Lighttpd with FastCGI
  • Create a directory mkdir -p /usr/share/webapps/
  • Switch to that directory cd /usr/share/webapps/
  • Now get the current release of phpSysInfo wg et http://downloads.sourceforge.net/project/phpsysinfo/phpsysinfo/3.0.13/phpsysinfo-3.0.13.tar.gz
  • Unpack the archive in the current location tar -xzf phpsysinfo-3.0.13.tar.gz && rm phpsysinfo-3.0.13.tar.gz
  • Rename the directory mv phpsysinfo-3.0.13 phpsysinfo
  • A config.php is needed to run phpSysInfo cp phpsysinfo/config.php.new phpsysinfo/config.php
  • Create a symlink that point to the webserver directory ln -s /usr/share/webapps/phpsysinfo/ /var/www/localhost/htdocs/phpsysinfo
  • Change permission of the directory chmod -R 777 /usr/share/webapps/
  • Restart lighttpd /etc/init.d/lighttpd restart
  • Now the page is up and running http://IP-ADDRESS/phpsysinfo

Full article is available on the Alpine Linux wiki.

This entry was posted in Alpine Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.