SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
RaspberryPi 101
Indonesia Creative Open Source Software
Balai Kartini - Jakarta
Who We Are ?
PeenTar Team
● Gladhi Guarddin (adin@ui.ac.id)
● Abi Rheza (abi.rheza@ui.ac.id)
● Jan Peter Alexander (jp@ui.ac.id)
● Tonny Adhi S (tonny.adhi@ui.ac.id)
● Ramot Stephanus (ramot.stephanus@gmail.
com)
● Zulfikar Ian (ian.djakman@gmail.com)
● Maulidan Yulianto
(maulidan.ksl@gmail.com)
Join Us
www.peentar.org
What We Will Learn Today ?
● One Device Endless Possibilities
● Raspberry Pi Quick Start Guide
● Raspbian Initial Setup
● Building File / Media Server With
Raspberry Pi
● Building Web Server With Raspberry Pi
● Use Your Media Server : Raspbmc
● Controlling Your Media Server
One Device Endless Possibilities
A Quick Start Guide
Raspbian Initial Setup
Setup Your Repository
Adjust your sources.list file :
sudo nano /etc/apt/sources.list
Our Repository
deb http://kambing.ui.ac.id/raspbian/raspbian
wheezy main contrib non-free
deb-src http://kambing.ui.ac.id/raspbian/raspbian
wheezy main contrib non-free
We will use local repository in this workshop
Setup Your Repository
If needed, the Raspbian public key can be stored into your apt-
get keyring using the following command:
sudo wget  http://archive.raspbian.
org/raspbian.public.key  -O - | sudo apt-key
add -
Also If needed, you will also need to setup your network. Mostly
the first setup is DHCP
sudo nano /etc/network/interfaces
sudo /sbin/route add default gw $GW_IP
Set Your Hostname
Set to your liking
sudo nano /etc/hosts
Building File Server With Raspberry Pi
Install the samba software
Update and Upgrade Raspbian:
sudo apt-get update | sudo apt-get upgrade
Install samba:
sudo apt-get install samba samba-common-bin
Rename your default samba configuration file:
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.old
Configure Samba Server
Create public folder
sudo mkdir /home/shares/public
Change The Permission. Warning : Don't Do This on
Secure Setup
sudo chmod 777 /home/shares/public
Create new configuration file
sudo nano /etc/samba/smb.conf
Configure Samba Server
[global]
create mode = 664
workgroup = RASPBERRYPI
security = SHARE
usershare allow guest = yes
Configure Samba Server
[public]
comment = shared
path = /home/shares/public
guest ok = yes
read only = no
public = yes
writeable = yes
Configure Samba Server
Restart samba to use the new configuration file.
sudo /etc/init.d/samba restart
Done. Let's test it using our Media Center
Adding USB Storage
Check device drive:
dmesg | tail
You should see some lines like this:
usb 2-6: New USB device found, idVendor=0718, idProduct=0077
scsi 30:0:0:0: Direct-Access Imation USB Flash Drive 0.00 PQ: 0 ANSI: 2
sd 30:0:0:0: [sdb] 7897088 512-byte hardware sectors (4043 MB)
See the [sdb] above, that means this device appeared as /dev/sdb.
Mounting Disk:
sudo mkdir /home/shares/public/disk1
sudo mount /dev/sdxx /home/shares/public/disk1
Where sdxx is where your drive is in the file system's device hierarchy. i.e.
/dev/sdb or /dev/sda1
Configuring the Samba client on a
Windows PC
Right Click on Computer Map Network Drive
Configuring the Samba client on a
Windows PC
Configuring the Samba client on a
Linux PC
Open a file manager (e.g. nautilus, thunar) and enter
smb://raspberrypi/
Or :
smb://$SMB_HOST_IP/
Or :
Just Scan Your Network With Your Media Center
Building Web Server With RPi
Update and Upgrade Raspbian:
sudo apt-get update | sudo apt-get upgrade
Apache2 :
aptitude install apache2
MySQL:
aptitude install mysql-server mysql-client
-- You will be asked to provide a password for the MySQL root user:
Installing Apache2, MySql
PHP5:
aptitude install php5 libapache2-mod-php5
Getting MySQL Support In PHP5
aptitude install php5-mysql
Optional:
aptitude install php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap
php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-
recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json
phpMyAdmin:
aptitude install phpmyadmin
-- You will be asked to provide a Username and Password for phpMyAdmin
Installing PHP5 & phpMyAdmin
Configure Apache to include phpMyAdmin
add the following line in the end of
/etc/apache2/apache2.conf
# Include phpMyAdmin
Include /etc/phpmyadmin/apache.conf
Access phpMyAdmin under http:
//localhost/phpmyadmin/
Let's Deploy It
Raspberry Pi Media Center
Get And Deploy It
Raspbc Disk Image :
http://tinyurl.com/raspbmc
We Will Use Our Local Repository
Deploy It :
sudo dd if=raspbmc-final.img of=/dev/sdX bs=256k
Boot and Wait For Initial Setup
Control Your Media Center
XBMC Remote
References
http://elinux.org/RPi_Hub
http://www.raspberrypi.org/
http://www.raspberrypi-spy.co.uk/
And Don't Forget To Join Our Project Page At
http://peentar.org

Contenu connexe

Tendances

Linux Command Line Basics
Linux Command Line BasicsLinux Command Line Basics
Linux Command Line BasicsWe Ihaveapc
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1Lilesh Pathe
 
Get to know linux - First steps with Ubuntu
Get to know linux - First steps with UbuntuGet to know linux - First steps with Ubuntu
Get to know linux - First steps with UbuntuMaja Kraljič
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentationnishantsri
 
2345014 unix-linux-bsd-cheat-sheets-i
2345014 unix-linux-bsd-cheat-sheets-i2345014 unix-linux-bsd-cheat-sheets-i
2345014 unix-linux-bsd-cheat-sheets-iLogesh Kumar Anandhan
 
Linux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for BeginnersLinux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for BeginnersDavide Ciambelli
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Tushar B Kute
 
LivePC creation webcast
LivePC creation webcastLivePC creation webcast
LivePC creation webcastkelvin
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumarymentorsnet
 
Lavigne sept11 bsdmag
Lavigne sept11 bsdmagLavigne sept11 bsdmag
Lavigne sept11 bsdmagDru Lavigne
 
First Responder Course - Session 10 - Static Evidence Collection [2004]
First Responder Course - Session 10 - Static Evidence Collection [2004]First Responder Course - Session 10 - Static Evidence Collection [2004]
First Responder Course - Session 10 - Static Evidence Collection [2004]Phil Huggins FBCS CITP
 
Module 1 introduction to Linux
Module 1 introduction to LinuxModule 1 introduction to Linux
Module 1 introduction to LinuxTushar B Kute
 

Tendances (20)

Ubuntu
UbuntuUbuntu
Ubuntu
 
Hardware
HardwareHardware
Hardware
 
Linux Command Line Basics
Linux Command Line BasicsLinux Command Line Basics
Linux Command Line Basics
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
Get to know linux - First steps with Ubuntu
Get to know linux - First steps with UbuntuGet to know linux - First steps with Ubuntu
Get to know linux - First steps with Ubuntu
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
2345014 unix-linux-bsd-cheat-sheets-i
2345014 unix-linux-bsd-cheat-sheets-i2345014 unix-linux-bsd-cheat-sheets-i
2345014 unix-linux-bsd-cheat-sheets-i
 
Linux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for BeginnersLinux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for Beginners
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.
 
LivePC creation webcast
LivePC creation webcastLivePC creation webcast
LivePC creation webcast
 
Linux
LinuxLinux
Linux
 
Ilf2011
Ilf2011Ilf2011
Ilf2011
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumary
 
Lavigne sept11 bsdmag
Lavigne sept11 bsdmagLavigne sept11 bsdmag
Lavigne sept11 bsdmag
 
Scale9x sun
Scale9x sunScale9x sun
Scale9x sun
 
First Responder Course - Session 10 - Static Evidence Collection [2004]
First Responder Course - Session 10 - Static Evidence Collection [2004]First Responder Course - Session 10 - Static Evidence Collection [2004]
First Responder Course - Session 10 - Static Evidence Collection [2004]
 
005 skyeye
005 skyeye005 skyeye
005 skyeye
 
Module 1 introduction to Linux
Module 1 introduction to LinuxModule 1 introduction to Linux
Module 1 introduction to Linux
 
Unix - An Introduction
Unix - An IntroductionUnix - An Introduction
Unix - An Introduction
 
Linux
Linux Linux
Linux
 

Similaire à Raspberry Pi 101

What the Heck Just Happened?
What the Heck Just Happened?What the Heck Just Happened?
What the Heck Just Happened?Ken Evans
 
Backing Up Android
Backing Up AndroidBacking Up Android
Backing Up AndroidPOSSCON
 
Deploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab FacilitiesDeploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab FacilitiesFIWARE
 
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...Peter Martin
 
Adafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi
Adafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-piAdafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi
Adafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-piMardiyah Azzahra
 
Linux Installation
Linux InstallationLinux Installation
Linux InstallationBIT DURG
 
New Jersey Red Hat Users Group Presentation: Provisioning anywhere
New Jersey Red Hat Users Group Presentation: Provisioning anywhereNew Jersey Red Hat Users Group Presentation: Provisioning anywhere
New Jersey Red Hat Users Group Presentation: Provisioning anywhereRodrique Heron
 
Introduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning ToolIntroduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning ToolSuresh Paulraj
 
Chapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docx
Chapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docxChapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docx
Chapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docxchristinemaritza
 
ZeroNights - SmartTV
ZeroNights - SmartTV ZeroNights - SmartTV
ZeroNights - SmartTV Sergey Belov
 
Up and Running with Freebsd
Up and Running with FreebsdUp and Running with Freebsd
Up and Running with FreebsdGLC Networks
 
Android System Developement
Android System DevelopementAndroid System Developement
Android System DevelopementSiji Sunny
 
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Ron Munitz
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introductionLotfi Messaoudi
 

Similaire à Raspberry Pi 101 (20)

What the Heck Just Happened?
What the Heck Just Happened?What the Heck Just Happened?
What the Heck Just Happened?
 
Backing Up Android
Backing Up AndroidBacking Up Android
Backing Up Android
 
Deploy MediaWiki usgin Fiware Lab Facilities
Deploy MediaWiki usgin Fiware Lab FacilitiesDeploy MediaWiki usgin Fiware Lab Facilities
Deploy MediaWiki usgin Fiware Lab Facilities
 
Deploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab FacilitiesDeploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab Facilities
 
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
 
Adafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi
Adafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-piAdafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi
Adafruit raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi
 
Linux basics 1/2
Linux basics 1/2Linux basics 1/2
Linux basics 1/2
 
Linux Installation
Linux InstallationLinux Installation
Linux Installation
 
New Jersey Red Hat Users Group Presentation: Provisioning anywhere
New Jersey Red Hat Users Group Presentation: Provisioning anywhereNew Jersey Red Hat Users Group Presentation: Provisioning anywhere
New Jersey Red Hat Users Group Presentation: Provisioning anywhere
 
Introduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning ToolIntroduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning Tool
 
Linux Recovery
Linux RecoveryLinux Recovery
Linux Recovery
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Chapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docx
Chapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docxChapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docx
Chapter 8 Common Forensic ToolsOverviewIn this chapter, youl.docx
 
ZeroNights - SmartTV
ZeroNights - SmartTV ZeroNights - SmartTV
ZeroNights - SmartTV
 
Up and Running with Freebsd
Up and Running with FreebsdUp and Running with Freebsd
Up and Running with Freebsd
 
Portable OS & Portable Application
Portable OS & Portable ApplicationPortable OS & Portable Application
Portable OS & Portable Application
 
Android System Developement
Android System DevelopementAndroid System Developement
Android System Developement
 
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introduction
 
Windows 7 project final
Windows 7 project finalWindows 7 project final
Windows 7 project final
 

Plus de Tonny Adhi Sabastian

The_Story_of_Microservices_YAI_KALBIS.pdf
The_Story_of_Microservices_YAI_KALBIS.pdfThe_Story_of_Microservices_YAI_KALBIS.pdf
The_Story_of_Microservices_YAI_KALBIS.pdfTonny Adhi Sabastian
 
Introduction to Open Telemetry as Observability Library
Introduction to Open  Telemetry as Observability LibraryIntroduction to Open  Telemetry as Observability Library
Introduction to Open Telemetry as Observability LibraryTonny Adhi Sabastian
 
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...Tonny Adhi Sabastian
 
Delivering High Quality Elixir Code using Gitlab
Delivering High Quality Elixir Code using GitlabDelivering High Quality Elixir Code using Gitlab
Delivering High Quality Elixir Code using GitlabTonny Adhi Sabastian
 
Single Sign On (SSO) Services with Free/Open Source Software
Single Sign On (SSO) Services with Free/Open Source SoftwareSingle Sign On (SSO) Services with Free/Open Source Software
Single Sign On (SSO) Services with Free/Open Source SoftwareTonny Adhi Sabastian
 
Cloud Services On UI and Ideas for Federated Cloud on idREN
Cloud Services On UI and Ideas for Federated Cloud on idRENCloud Services On UI and Ideas for Federated Cloud on idREN
Cloud Services On UI and Ideas for Federated Cloud on idRENTonny Adhi Sabastian
 
Towards universitas indonesia_next_generation_firewall_service
Towards universitas indonesia_next_generation_firewall_serviceTowards universitas indonesia_next_generation_firewall_service
Towards universitas indonesia_next_generation_firewall_serviceTonny Adhi Sabastian
 
Paparan menteri kadisdik 141201 - low v.0
Paparan menteri   kadisdik 141201 - low v.0Paparan menteri   kadisdik 141201 - low v.0
Paparan menteri kadisdik 141201 - low v.0Tonny Adhi Sabastian
 
Cloud computing 101 & The Development Beyond
Cloud computing 101  &  The Development BeyondCloud computing 101  &  The Development Beyond
Cloud computing 101 & The Development BeyondTonny Adhi Sabastian
 
Kreatif Dengan Piranti Keras Open Source Raspberry Pi
Kreatif Dengan Piranti Keras Open Source Raspberry PiKreatif Dengan Piranti Keras Open Source Raspberry Pi
Kreatif Dengan Piranti Keras Open Source Raspberry PiTonny Adhi Sabastian
 
RaspberryPi-KopiDarat-IDPython-Oktober2013
RaspberryPi-KopiDarat-IDPython-Oktober2013RaspberryPi-KopiDarat-IDPython-Oktober2013
RaspberryPi-KopiDarat-IDPython-Oktober2013Tonny Adhi Sabastian
 

Plus de Tonny Adhi Sabastian (14)

The_Story_of_Microservices_YAI_KALBIS.pdf
The_Story_of_Microservices_YAI_KALBIS.pdfThe_Story_of_Microservices_YAI_KALBIS.pdf
The_Story_of_Microservices_YAI_KALBIS.pdf
 
Introduction to Open Telemetry as Observability Library
Introduction to Open  Telemetry as Observability LibraryIntroduction to Open  Telemetry as Observability Library
Introduction to Open Telemetry as Observability Library
 
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
 
Delivering High Quality Elixir Code using Gitlab
Delivering High Quality Elixir Code using GitlabDelivering High Quality Elixir Code using Gitlab
Delivering High Quality Elixir Code using Gitlab
 
Single Sign On (SSO) Services with Free/Open Source Software
Single Sign On (SSO) Services with Free/Open Source SoftwareSingle Sign On (SSO) Services with Free/Open Source Software
Single Sign On (SSO) Services with Free/Open Source Software
 
Software Delivery Pipeline
Software Delivery PipelineSoftware Delivery Pipeline
Software Delivery Pipeline
 
DevOps Culture and Principles
DevOps Culture and PrinciplesDevOps Culture and Principles
DevOps Culture and Principles
 
Cloud Services On UI and Ideas for Federated Cloud on idREN
Cloud Services On UI and Ideas for Federated Cloud on idRENCloud Services On UI and Ideas for Federated Cloud on idREN
Cloud Services On UI and Ideas for Federated Cloud on idREN
 
Towards universitas indonesia_next_generation_firewall_service
Towards universitas indonesia_next_generation_firewall_serviceTowards universitas indonesia_next_generation_firewall_service
Towards universitas indonesia_next_generation_firewall_service
 
Paparan menteri kadisdik 141201 - low v.0
Paparan menteri   kadisdik 141201 - low v.0Paparan menteri   kadisdik 141201 - low v.0
Paparan menteri kadisdik 141201 - low v.0
 
Cloud computing 101 & The Development Beyond
Cloud computing 101  &  The Development BeyondCloud computing 101  &  The Development Beyond
Cloud computing 101 & The Development Beyond
 
Raspberry Pi GPIO 101
Raspberry Pi GPIO 101Raspberry Pi GPIO 101
Raspberry Pi GPIO 101
 
Kreatif Dengan Piranti Keras Open Source Raspberry Pi
Kreatif Dengan Piranti Keras Open Source Raspberry PiKreatif Dengan Piranti Keras Open Source Raspberry Pi
Kreatif Dengan Piranti Keras Open Source Raspberry Pi
 
RaspberryPi-KopiDarat-IDPython-Oktober2013
RaspberryPi-KopiDarat-IDPython-Oktober2013RaspberryPi-KopiDarat-IDPython-Oktober2013
RaspberryPi-KopiDarat-IDPython-Oktober2013
 

Dernier

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Raspberry Pi 101

  • 1. RaspberryPi 101 Indonesia Creative Open Source Software Balai Kartini - Jakarta
  • 2. Who We Are ? PeenTar Team ● Gladhi Guarddin (adin@ui.ac.id) ● Abi Rheza (abi.rheza@ui.ac.id) ● Jan Peter Alexander (jp@ui.ac.id) ● Tonny Adhi S (tonny.adhi@ui.ac.id) ● Ramot Stephanus (ramot.stephanus@gmail. com) ● Zulfikar Ian (ian.djakman@gmail.com) ● Maulidan Yulianto (maulidan.ksl@gmail.com)
  • 4. What We Will Learn Today ? ● One Device Endless Possibilities ● Raspberry Pi Quick Start Guide ● Raspbian Initial Setup ● Building File / Media Server With Raspberry Pi ● Building Web Server With Raspberry Pi ● Use Your Media Server : Raspbmc ● Controlling Your Media Server
  • 5. One Device Endless Possibilities
  • 6.
  • 8.
  • 9.
  • 11.
  • 12. Setup Your Repository Adjust your sources.list file : sudo nano /etc/apt/sources.list Our Repository deb http://kambing.ui.ac.id/raspbian/raspbian wheezy main contrib non-free deb-src http://kambing.ui.ac.id/raspbian/raspbian wheezy main contrib non-free We will use local repository in this workshop
  • 13. Setup Your Repository If needed, the Raspbian public key can be stored into your apt- get keyring using the following command: sudo wget http://archive.raspbian. org/raspbian.public.key -O - | sudo apt-key add - Also If needed, you will also need to setup your network. Mostly the first setup is DHCP sudo nano /etc/network/interfaces sudo /sbin/route add default gw $GW_IP
  • 14. Set Your Hostname Set to your liking sudo nano /etc/hosts
  • 15. Building File Server With Raspberry Pi
  • 16. Install the samba software Update and Upgrade Raspbian: sudo apt-get update | sudo apt-get upgrade Install samba: sudo apt-get install samba samba-common-bin Rename your default samba configuration file: sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.old
  • 17. Configure Samba Server Create public folder sudo mkdir /home/shares/public Change The Permission. Warning : Don't Do This on Secure Setup sudo chmod 777 /home/shares/public Create new configuration file sudo nano /etc/samba/smb.conf
  • 18. Configure Samba Server [global] create mode = 664 workgroup = RASPBERRYPI security = SHARE usershare allow guest = yes
  • 19. Configure Samba Server [public] comment = shared path = /home/shares/public guest ok = yes read only = no public = yes writeable = yes
  • 20. Configure Samba Server Restart samba to use the new configuration file. sudo /etc/init.d/samba restart Done. Let's test it using our Media Center
  • 21. Adding USB Storage Check device drive: dmesg | tail You should see some lines like this: usb 2-6: New USB device found, idVendor=0718, idProduct=0077 scsi 30:0:0:0: Direct-Access Imation USB Flash Drive 0.00 PQ: 0 ANSI: 2 sd 30:0:0:0: [sdb] 7897088 512-byte hardware sectors (4043 MB) See the [sdb] above, that means this device appeared as /dev/sdb. Mounting Disk: sudo mkdir /home/shares/public/disk1 sudo mount /dev/sdxx /home/shares/public/disk1 Where sdxx is where your drive is in the file system's device hierarchy. i.e. /dev/sdb or /dev/sda1
  • 22. Configuring the Samba client on a Windows PC Right Click on Computer Map Network Drive
  • 23. Configuring the Samba client on a Windows PC
  • 24. Configuring the Samba client on a Linux PC Open a file manager (e.g. nautilus, thunar) and enter smb://raspberrypi/ Or : smb://$SMB_HOST_IP/ Or : Just Scan Your Network With Your Media Center
  • 26. Update and Upgrade Raspbian: sudo apt-get update | sudo apt-get upgrade Apache2 : aptitude install apache2 MySQL: aptitude install mysql-server mysql-client -- You will be asked to provide a password for the MySQL root user: Installing Apache2, MySql
  • 27. PHP5: aptitude install php5 libapache2-mod-php5 Getting MySQL Support In PHP5 aptitude install php5-mysql Optional: aptitude install php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5- recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json phpMyAdmin: aptitude install phpmyadmin -- You will be asked to provide a Username and Password for phpMyAdmin Installing PHP5 & phpMyAdmin
  • 28. Configure Apache to include phpMyAdmin add the following line in the end of /etc/apache2/apache2.conf # Include phpMyAdmin Include /etc/phpmyadmin/apache.conf Access phpMyAdmin under http: //localhost/phpmyadmin/
  • 29. Let's Deploy It Raspberry Pi Media Center
  • 30. Get And Deploy It Raspbc Disk Image : http://tinyurl.com/raspbmc We Will Use Our Local Repository Deploy It : sudo dd if=raspbmc-final.img of=/dev/sdX bs=256k Boot and Wait For Initial Setup
  • 31. Control Your Media Center XBMC Remote