Download buster:
https://downloads.raspberrypi.org/raspbian_lite_latest
Unzip
Burn Image
sudo su
- raspi-config
change timezone
change memory split –> 128
expand sd
reboot
apt update
apt upgrade
apt install mc
apt install ntp
apt-get install realvnc-vnc-server
- raspi-config
enable VNC Server
apt-get install python-pip
pip install pymodbus
pip install requests
pip install paho-mqtt
sudo apt–get install apache2 –y
sudo a2enmod rewrite
sudo service apache2 restart
apt–get install mariadb–server mariadb–client php–mysql –y
apt–get install phpmyadmin –y
- Automatic Configuration? – Choose
[*]apache2
with your Spacebar, hit Tab then Enter - Configure database for phpmyadmin with dbconfig-common? – Choose Yes
- phpMyAdmin application password – [enter new password] [confirm new password] this is for logging into the phpMyAdmin web interface
php.ini
#Tells PHP whether the short form (<? ?>)
short_open_tag = On
#Tell the timezone
date.timezone = “Asia/Jakarta”
#config upload file and post
upload_max_filesize = 20M
post_max_size = 20M
#increase the exec time from 30 to 120
max_execution_time = 120
#increase the mem limit from 128M to 256M
memory_limit = 256M