Raspberry
Activity
- sudo apt-get update
- sudo apt-get upgrade
- ================================================
- sudo reboot
- sudo shutdown -h now
- ================================================
Berikut capturenya…
Cek status disk free, list file dan free memory pada raspberry pi
- df -lh = cek disk free
- ls -lh = cek list file
- free -lh = cek free momory
Speed Test CLI, hasil speed test click
Install Apache
Ketik command berikut
- sudo apt-get install apache2 -y
Berikut capturenya… :
OK Berhasil, lanjutkan install PHP
sudo apt-get install php5 libapache2-mod-php5 -y
Ikuti seperti capture diatas, ganti file index.html menjadi index.php dan isi sesuai dengan capture dan berikut hasil capturenya…
Coba cek disk free, dan bersihkan disk dari file dari aktifitas “sudo apt-get upgrade” seperti capture berikut :
Coba perhatikan… lumayan bertambah 200 MB
Lanjut install mysql, berikut commandnya
- sudo apt-get install mysql-server python-mysqldb
Ikuti semua prosedurnya, berikut hasil capturenya…
Uninstall Program
Berikut ini prosedur uninstall program
- sudo apt-get remove mysql-server python-mysqldb
- sudo apt-get remove php5 libapache2-mod-php5 -y
- sudo apt-get remove apache2 -y
Install phpmyadmin (Apache2, PHP, Mysql)
- sudo bash
- apt-get install phpmyadmin
Ikuti perintah selanjutnya
- nano /etc/apache2/apache2.conf
Tambahkan “Include /etc/phpmyadmin/apache.conf” pada baris akhir
Lakukan test seperti capture dibawah
Sumber : Click
Reference Raspberry
Raspberry Pi Project Example
http://www.instructables.com/id/Simple-and-intuitive-web-interface-for-your-Raspbe/?ALLSTEPS
http://mattrichardson.com/Raspberry-Pi-Flask/
http://blog.davidsingleton.org/raspberry-pi-website-hit-tracker/
http://www.instructables.com/id/Raspberry-Pi-GPIO-home-automation/?ALLSTEPS
http://www.penguintutor.com/linux/pi-power
http://deddieslab.blogspot.nl/2014/08/pi-files-doorbell-alert-with.html