Wiki » Historique » Version 50
Patrice Nadeau, 2020-07-05 09:49
| 1 | 49 | Patrice Nadeau | Utilisation d'un BeagleBone Black |
|---|---|---|---|
| 2 | ================================= |
||
| 3 | 2 | Patrice Nadeau | |
| 4 | 49 | Patrice Nadeau | ------------------------------------------------------------------------ |
| 5 | 1 | Patrice Nadeau | |
| 6 | {{toc}} |
||
| 7 | |||
| 8 | Dans ce document, l'appellation BeagleBone Black sera remplacé par BBB. |
||
| 9 | |||
| 10 | 49 | Patrice Nadeau | ## Introduction |
| 11 | 41 | Patrice Nadeau | |
| 12 | 49 | Patrice Nadeau | Le *BBB (BeagleBone Black)* est un ordinateur complet avec licence libre |
| 13 | utilisant GN/Linux comme système d'exploitation.\ |
||
| 14 | Toutes les spécifications sont disponibles sur le site |
||
| 15 | http://beagleboard.org/. |
||
| 16 | 33 | Patrice Nadeau | |
| 17 | 1 | Patrice Nadeau | Ceci en fait un outil de développement idéal. |
| 18 | |||
| 19 | 49 | Patrice Nadeau | Ce document explique comment utiliser un poste sous openSUSE pour faire |
| 20 | du développement avec le langage C. |
||
| 21 | 1 | Patrice Nadeau | |
| 22 | 49 | Patrice Nadeau | J'ai choisi cette méthode pour les raisons suivantes : |
| 23 | 50 | Patrice Nadeau | * La programmation des µc AVR d'Atmel se fait de cette manière |
| 24 | * Je connais déjà le C |
||
| 25 | * Linux est écrit en C |
||
| 26 | 1 | Patrice Nadeau | |
| 27 | 49 | Patrice Nadeau | ### Ressources |
| 28 | |||
| 29 | 50 | Patrice Nadeau | * <http://beagleboard.org/bone> |
| 30 | * [Getting Started with BeagleBone](http://shop.oreilly.com/product/0636920028116.do?sortby=publicationDate) |
||
| 31 | * <http://elinux.org/GPIO> |
||
| 32 | 49 | Patrice Nadeau | |
| 33 | \[\[ Environnement de travail à distance\]\] |
||
| 34 | 42 | Patrice Nadeau | -------------------------------------------- |
| 35 | 49 | Patrice Nadeau | |
| 36 | \[\[Programmation sous Linux\]\] |
||
| 37 | 1 | Patrice Nadeau | -------------------------------- |
| 38 | 49 | Patrice Nadeau | |
| 39 | Retrait des services BeagleBone Black |
||
| 40 | 1 | Patrice Nadeau | ------------------------------------- |
| 41 | 49 | Patrice Nadeau | |
| 42 | Informations provenant de |
||
| 43 | 1 | Patrice Nadeau | http://www.element14.com/community/community/designcenter/single-board-computers/next-gen\_beaglebone/blog/2013/11/20/beaglebone-web-server--setup |
| 44 | 49 | Patrice Nadeau | |
| 45 | 1 | Patrice Nadeau | ```bash |
| 46 | 46 | Patrice Nadeau | # on se met en mode "root" |
| 47 | 42 | Patrice Nadeau | su - |
| 48 | # On arrete les services suivants |
||
| 49 | systemctl disable cloud9.service |
||
| 50 | systemctl disable gateone.service |
||
| 51 | 1 | Patrice Nadeau | systemctl disable bonescript.service |
| 52 | 42 | Patrice Nadeau | systemctl disable bonescript.socket |
| 53 | systemctl disable bonescript-autorun.service |
||
| 54 | systemctl disable avahi-daemon.service |
||
| 55 | 44 | Patrice Nadeau | systemctl disable gdm.service |
| 56 | 42 | Patrice Nadeau | systemctl disable mpd.service |
| 57 | 49 | Patrice Nadeau | # On reboot |
| 58 | 48 | Patrice Nadeau | shutdown -r now |
| 59 | 49 | Patrice Nadeau | ``` |
| 60 | |||
| 61 | 50 | Patrice Nadeau | Remettre le port 80 au lieu de 8080 comme par défaut pour *apache* dans le fichier **/etc/apache2/ports.conf**. |
| 62 | 49 | Patrice Nadeau | |
| 63 | Relancer *apache* |
||
| 64 | |||
| 65 | 1 | Patrice Nadeau | ```bash |
| 66 | 49 | Patrice Nadeau | sudo systemctl reload apache2.service |
| 67 | 1 | Patrice Nadeau | ``` |