Pages - Menu

Monday, December 18, 2017

Apache Load Balancer Menggunakan Raspberry Pi

Konfigurasi Raspberry Pi
Setelah instalasi raspbian (saat tulisan ini dibuat, saya menggunakan raspbian jessie lite), lakukan beberapa konfigurasi berikut (dengan mengetikkan "sudo raspi-config" pada jendela terminal):

  • expand filesystem
  • set the hostname masing-masing Pi
  • set memory split to 16MB for the GPU

Lakukan konfigurasi tersebut pada tiap Pi.

Monday, September 25, 2017

Membangun Komputer Cluster Raspberry Pi Menggunakan Docker Swarm

Salah satu hal luar biasa yang bisa kita lakukan dengan Raspberry Pi adalah merangkainya menjadi sebuah komputer cluster. Ada banyak tools yang bisa kita gunakan, salah satunya menggunakan Docker Swarm. Dokumentasi beserta penjelasan2 lengkap mengenai Docker Swarm silahkan baca di https://docs.docker.com/engine/swarm/

Pada bagian ini akan dijelaskan langkah instalasi Docker Swarm pada Raspberry Pi 3, dengan asumsi, kalian sudah mempersiapkan Perangkat keras yang dibutuhkan seperti :

1. Raspberry Pi 3 (>2 buah)
2. SD Card
3. Kabel LAN
4. Switch Hub
5. USB Hub Charger min 2A tiap node
6. Spacer untuk aksesoris

Wednesday, August 23, 2017

Simple Guide for Raspberry Pi Newbies

Installing RASPBIAN Images Using Windows
  • Insert the SD card into your SD card reader and check which drive letter was assigned. You can easily see the drive letter, such as G:, by looking in the left column of Windows Explorer. You can use the SD card slot if you have one, or a cheap SD adapter in a USB port.
  • Download the Win32DiskImager utility from the Sourceforge Project page as a zip file; you can run this from a USB drive.
  • Extract the executable from the zip file and run the Win32DiskImager utility; you may need to run this as administrator. Right-click on the file, and selectRun as administrator.
  • Select the image file you extracted earlier.
  • Select the drive letter of the SD card in the device box. Be careful to select the correct drive; if you get the wrong one you can destroy the data on your computer's hard disk! If you are using an SD card slot in your computer and can't see the drive in the Win32DiskImager window, try using an external SD adapter.
  • Click Write and wait for the write to complete.
  • Exit the imager and eject the SD card.

SMS Gateway di Linux Ubuntu

Hardware Requirement

Spesifikasi Minimum : Processor : Intel P4 1.8GHZ
RAM : 256MB
Hardisk : 80GB
Modem atau handphone kompabilitynya bisa di cek di sini

Software Requirement
Kebutuhan Paket Software :
  1. Linux Ubuntu
  2. Apache 2.x.x
  3. PHP 5.x.x (with mysql, session, hash, json extension)
  4. PHP-CLI
  5. MySQL 5.x.x
  6. Gammu
  7. Kalkun

How to Recover MySQL Database

It was a nightmare when my database was not backed-up and was dropped, accidently.
Fortunately, my database backed-up three months ago, i found it on the middle of nowhere. :p
Then, I recover the db with rollingback the transaction using transaction log.


Tuesday, August 1, 2017

Desktop Programming

Unduh materi kuliah Desktop Programming :

Materi Tahun 2015
  1. Introduction to Lazarus IDE
  2. Conditional Statements
  3. Looping Statements
  4. Array & Record
  5. Function, Procedure & Unit
  6. Exception
  7. Introduction to Structured Query Language
  8. Control Dataset
  9. Authentication
  10. Data Searching & Manipulation
  11. Report

Statistika

Materi kuliah Statistika dapat diunduh pada tautan dibawah ini :

Materi Tahun  2015
  1. Pertemuan 1 : Slide 1 | Slide 2
  2. Summarizing_Data_Sets - Numerical Measures Approaches
  3. Probability
  4. Probability Distribution : Discrete
  5. Probability Distribution : Continue

Pemrograman Berorientasi Objek

Materi Kuliah Pemrograman Berorientasi Objek dapat diunduh pada tautan berikut :

Materi Tahun 2015
  1. Slide Pertemuan 1
  2. Slide Pertemuan 2
  3. Slide Pertemuan 3
  4. Slide Pertemuan 4
    (Sourcecode : index.php , koneksi.class.php)
  5. Slide Pertemuan 5(Sourcecode : index.php, login.php, koneksi.class.php )

Web Programming

Unduh materi kuliah Web Programming melalui tautan dibawah ini :

Materi Tahun 2015
  1. HTML Introduction
  2. Cascading Style Sheet
  3. Introduction to PHP as  Server Side Script
  4. Conditional Statements in PHP
  5. Form Handling in PHP
  6. Array in PHP
  7. Function in PHP
  8. String Manipulation, Date and File Handling
  9. SQL & Database Connection
  10. CRUD Concept
  11. SESSION
  12. Content Management System

Sistem Basis Data

Unduh materi kuliah Sistem Basis Data :

Materi Tahun 2015
  1. Modul Praktikum MySQL
  2. Slide 1 (Introduction to Database System)
  3. Slide 2 (ERD and Workbench)
  4. Slide 3 (Database Application)
  5. Ujian Akhir
  6. Contoh Laporan