Install phpSysInfo on Debian/Ubuntu

Log into the Debian/Ubuntu device

Run the following commands in a terminal:# update repositories and install any available software updates

sudo apt update
sudo apt upgrade
# install Apache HTTPD
sudo apt install apache2
# install PHP components
sudo apt install php7.3 php7.3-xml
# download phpSysInfo
wget https://github.com/phpsysinfo/phpsysinfo/archive/v3.3.2.zip
# extract v3.3.2.zip
sudo unzip v3.3.2.zip -d /var/www/html
# rename the extracted folder
sudo mv /var/www/html/phpsysinfo-3.3.2 /var/www/html/phpsysinfo
# make a copy of phpsysinfo.ini
sudo cp /var/www/html/phpsysinfo/phpsysinfo.ini.new /var/www/html/phpsysinfo/phpsysinfo.ini
# set the owner of the new phpsysinfo directory to www-data
sudo chown -R www-data:www-data /var/www/html/phpsysinfo
sudo systemctl restart apache2

Open a web browser and navigate to http://DNSorIP/phpsysinfo

Share

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.