PhpSysInfo is a web-based application that displays system information for Linux servers. It can display information like CPU usage, memory usage, network interfaces, and more. In this tutorial, we will show you how to install PhpSysInfo on Debian.
Before we start, make sure you have the following:
If you don't have an HTTP server installed on your Debian server, you can install Apache2 by running:
sudo apt-get update
sudo apt-get install apache2
Once Apache is installed, you can verify it is running by visiting your server's IP address in a web browser.
Next, we need to install PHP. Debian uses apt to manage packages, so you can install PHP with the following command:
sudo apt-get install php
You will need PHP version 7.0 or higher for PhpSysInfo to work properly.
To install PhpSysInfo, you need to download the latest package from the official repository. To do this, run the following command:
cd /var/www/html
wget https://github.com/phpsysinfo/phpsysinfo/archive/refs/tags/phpsysinfo-3.3.2.tar.gz
Note: Make sure to check for the latest version of phpsysinfo and replace it for the right URL
This will download the latest version of PhpSysInfo and extract it to /var/www/html/phpsysinfo
.
To configure PhpSysInfo, you need to modify its configuration file. Open the configuration file using your preferred text editor:
sudo nano /var/www/html/phpsysinfo/phpsysinfo.ini
By default, the configuration should be set correctly. However, you may want to configure some options, such as the refresh rate of the dashboard or the server name. Once you have finished configuring the options, save and close the file.
With the installation and configuration complete, you can now access PhpSysInfo in a web browser by visiting your server's IP address followed by "/phpsysinfo" (e.g., http://12.34.56.78/phpsysinfo/
).
You should be able to view system information such as CPU usage, memory usage, and more.
In just a few steps, you can install and set up PhpSysInfo on your Debian server. This is a great tool to monitor your server's system resources on a dashboard-like page.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!