== Setup ==
# Download [http://downloads.raspberrypi.org/NOOBS_lite_latest NOOBS], a simple to use installer that requires no command line knowledge
# Find an empty [http://elinux.org/RPi_SD_cards SD or microSD ] card (minimum 2gb/class 6, 4gb/class 10 recommended - try to find cards with UHS-1), make sure it's FAT32, and then extract all the files from the NOOBS zip onto it
# Plug in the SD card, an HDMI or composite display, a ethernet cable, usb keyboard + mouse, and a ''good'' 5v power supply (seriously - a lot of issues come from low power/fake power supplies) [[File:RasperrySetup.jpg|500px]]
# Power on the Pi, and wait a few seconds until you reach the screen below. Select Raspbian, click install, and wait a few minutes - the Pi should take 20-60 minutes to install depending on your internet connection and SD card. [[File:NOOBS.png|500px]]
# Click on finish, reboot your Pi, and you're good to go!
<pre>
Hackers guide, only do this if you know what you're doing - you could wipe the wrong device!
sync
##remove SD card and copy steps 3 and 5 above
## Configuration tool with menus / Outil de configuration par menu :
raspi-config
## Ddefault user / Utilisateur par défaut : pi
</pre>
=== WiFi ===
If you have a WiFi stick that is directly compatible with Raspbian, follow the instructions bellow. If it's not, then you'll need to troubleshoot with Google.
[http://www.debuntu.org/how-to-wifi-roaming-with-wpa-supplicant/ WPA supplicant setup] with different settings for different networks
=== Headless setup ===
If you don't want to connect a keyboard and monitor to your RPi, you can perform a [[Raspberry Pi: Headless installation|headless installation of Raspbian]] instead of using NOOBS.
== Screen blanking ==
add the following lines to /etc/xdg/lxsession/LXDE/autostart, remove the line with the screensaver option
@xset s off
@xset -dpms
@xset s noblank
== Software ==
Then you can edit files in /var/www/
=== Wiki ===
==== Intro ====
Utiliser un Raspberry Pi pour remplacer un serveur AMD 64 bit est ce réaliste pour héberger un wiki?
Lors de la sortie du modèle B+ en novembre je me suis lancé dans l'aventure d'installer un wikimedia sur le Raspberry Pi en ma possession .
==== mediawiki ====
Afin de minimiser l'utilisation des ressources et compte-tenu de mon besoin j'ai opté pour une installation avec sqllite3 .
Et si le wiki est visible il est d'une lenteur affligeante :-( voyez par vous même belorne .
La faute me semble-t-il à PHP et à la programation de mediadwiki qui est bien trop lourde pour une si petite machine.
Il faut oublier une telle idée, si ce n'est pour jouer .
==== Une autre solution ====
Oui biensur il y en a bcp mais pour une tel machine , la solution la plus ligth mais aussi la plus simple c'est MDwiki.
Un wiki en langage de description de page Markdown.
Je ne vais pas décrire les étapes de cette installation , juste vous donner des liens permettant de comprendre comment cela est faisable.
Les composants :
* Un rapsberry Pi B+
* Os Raspbian 3.12.35+
* Mdwiki [[http://dynalon.github.io/mdwiki/#!index.md Site]]
* 2 comptes Google Drive
* [[https://www.insynchq.com/ insync]] version RaspberryPi
Voici le [[http://boizot.ch/ résultats]]
Comment cela marche ?
Trés trés simplement. de mon portable je peux éditer n'importe quel fichier du site , en changer les liens....
Le tout est quasi immédiatement mise à jour sur le dossier de mon Raspberry Pi qui est synchroniser en temps .
==== Conclusion ====
Biensur on est bien loin de Mediawiki ou de MoinsMoins.
Then you can edit files on your laptop.
=== Push notifications ===
You can send push notifications with Pushbulltet on various events, such as booting your Pi. Let's start off with a script that sends you a push notification with your IP when you turn on your Pi:
nano piip.sh
Paste this inside, and replace the example keys with your own keys:
#!/bin/bash
ipVar=$(/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')
curl https://api.pushbullet.com/v2/pushes \
-u <paste_your_API_key_here>: \
-d device_iden="<device_ID_of_your_phone>" \
-d type="note" \
-d title="Pi IP address" \
-d body=$ipVar \
-X POST
Set permissions to allow it to execute:
sudo chmod 777 piip.sh
Open the crontab:
sudo crontab -e
Then paste at the bottom of the crontab:
@reboot /home/pi/piip.sh
[https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=79151 Documentation]
== Hardware ==
Use the pin
gpio -g write 13 1
[https://projects.drogon.net/raspberry-pi/wiringpi/the-gpio-utility/ Documentation]
[https://github.com/sarfata/pi-blaster PWM library]