Technology

RPI – Buster – IoT – miniserver

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 aptget install apache2 y
sudo a2enmod rewrite
sudo service apache2 restart
aptget install mariadbserver mariadbclient phpmysql y
aptget 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s