1、准备
#更新软件源中的所有软件列表(必须)
sudo apt update# 更新软件(建议)
sudo apt upgrade# 更新系统版本(非必要时,不建议升级)
sudo apt dist-upgrade
2、安装 Apache 和 PHP
sudo apt install apache2 php7.0 php7.0-cli php7.0-curl php7.0-gd php7.0-mcrypt
sudo apt install libapache2-mod-php
sudo service apache2 start
3、安装git
sudo apt install git
4、安装配置Pi Dashboard
cd /var/www/html
git clone https://github.com/spoonysonny/pi-dashboard.git pi-dashboard
chown -R www-data pi-dashboard