RaspberryPi允許遠端連線Remote Access

RaspberryPi Raspbian  Image預設是沒有開啟firewall防火牆的,不過要連線MySQL(Mariadb)只能使用本機端,如果有安裝apache及PHP可以考慮用phpMyAdmin,不過如果是用其它container那可能就不適用了。

想要Remote 連接Mysql方法如下:

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'yourpassword';

移除my.conf的/etc/mysql/my.cnf

Read More

Raspbeery Pi 2安裝LAMP Web Service及Webmin管理

Raspberry Pi 2是一個很便宜的小型電腦,使用ARM Cortex-A7架構的CPU,記憶體有1G,只需要SD Card就能啟動,可以裝數種linux OS(for raspberry pi)及windows 10 IOC,要來當做個人家廳多媒體中心,或是簡單的Web Service實分夠用了。

LAMP即Linux Apache MySQL(Mariadb)及PHP的統稱,而Webmin是個Web GUI管理介面,如果不習慣ssh連線的人,是個十分推廌的選擇。

webmin

Read More