0275.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install phpSysInfo on Debian/Ubuntu</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Web Based,Web Based Tools,PHP,LAMP,Web Server,Web Server Administrator,Web Server Administration,PHP System Monitor,FOSS,Free Open Source Software,Free Software,Linux,Open-Source,Open Source Software,Debian,Self-Hosted,PHPSysInfo,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install phpSysInfo on Debian/Ubuntu">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="08/08/2022 05:44:26 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install phpSysInfo on Debian/Ubuntu</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Log into the Debian/Ubuntu device</li>
  27. <li>Run the following commands in a terminal: <code class="codeBlock"># update repositories and install any available software updates<br />
  28. sudo apt update<br />
  29. sudo apt upgrade<br />
  30. # install Apache HTTPD<br />
  31. sudo apt install apache2<br />
  32. # install PHP components<br />
  33. sudo apt install php7.3&nbsp;php7.3-xml<br />
  34. # download phpSysInfo<br />
  35. wget&nbsp;https://github.com/phpsysinfo/phpsysinfo/archive/v3.3.2.zip<br />
  36. # extract v3.3.2.zip<br />
  37. sudo unzip v3.3.2.zip -d /var/www/html<br />
  38. # rename the extracted folder<br />
  39. sudo mv /var/www/html/phpsysinfo-3.3.2 /var/www/html/phpsysinfo<br />
  40. # make a copy of&nbsp;phpsysinfo.ini<br />
  41. sudo cp&nbsp;/var/www/html/phpsysinfo/phpsysinfo.ini.new&nbsp;/var/www/html/phpsysinfo/phpsysinfo.ini<br />
  42. # set the owner of the new phpsysinfo directory to www-data<br />
  43. sudo chown -R www-data:www-data /var/www/html/phpsysinfo<br />
  44. sudo systemctl restart apache2</code></li>
  45. <li>Open a web browser and navigate to http://DNSorIP/phpsysinfo</li>
  46. </ol>
  47. <p>Source:&nbsp;<a href="https://github.com/phpsysinfo/phpsysinfo/releases/latest" target="_blank">https://github.com/phpsysinfo/phpsysinfo/releases/latest</a></p> </div>
  48. </div>
  49. </body>
  50. </html>