RSS

Raspberry

Activity

  • sudo apt-get update
  • sudo apt-get upgrade
  • ================================================
  • sudo reboot
  • sudo shutdown -h now
  • ================================================

Berikut capturenya…

sudo-update-upgrade-raspberry

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

raspberry-df-ls-free

Speed Test CLI, hasil speed test click

speedtest-cli-raspberry

Install Apache

Ketik command berikut

  • sudo apt-get install apache2 -y

Berikut capturenya… :

capture-port-80-raspberry

OK Berhasil, lanjutkan install PHP

sudo apt-get install php5 libapache2-mod-php5 -y

install-php-raspberry

Ikuti seperti capture diatas, ganti file index.html menjadi index.php dan isi sesuai dengan capture dan berikut hasil capturenya…

hasil-test-php-raspberry

Coba cek disk free, dan bersihkan disk dari file dari aktifitas “sudo apt-get upgrade” seperti capture berikut :

sudo-apt-get-clean-raspberry

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…

capture-mysql-raspberry

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

install-phpmyadmin-apache2

Ikuti perintah selanjutnya

  • nano /etc/apache2/apache2.conf

Tambahkan “Include /etc/phpmyadmin/apache.conf” pada baris akhir

Lakukan test seperti capture dibawah

capture-phpmyadmin-raspberry

Sumber : Click

Reference Raspberry

helloraspberry

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

 

 

Leave a comment