Wiki » Historique » Version 49
Patrice Nadeau, 2018-04-15 13:12
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 | 37 | Patrice Nadeau | |
24 | 49 | Patrice Nadeau | - La programmation des µc AVR d'Atmel se fait de cette manière |
25 | - Je connais déjà le C |
||
26 | - Linux est écrit en C |
||
27 | 1 | Patrice Nadeau | |
28 | 49 | Patrice Nadeau | ### Ressources |
29 | |||
30 | 1 | Patrice Nadeau | http://beagleboard.org/bone |
31 | |||
32 | 49 | Patrice Nadeau | [Getting Started with |
33 | BeagleBone](http://shop.oreilly.com/product/0636920028116.do?sortby=publicationDate) |
||
34 | 40 | Patrice Nadeau | |
35 | 39 | Patrice Nadeau | http://elinux.org/GPIO |
36 | 40 | Patrice Nadeau | |
37 | 49 | Patrice Nadeau | \[\[ Environnement de travail à distance\]\] |
38 | -------------------------------------------- |
||
39 | 42 | Patrice Nadeau | |
40 | 49 | Patrice Nadeau | \[\[Programmation sous Linux\]\] |
41 | -------------------------------- |
||
42 | 1 | Patrice Nadeau | |
43 | 49 | Patrice Nadeau | Retrait des services BeagleBone Black |
44 | ------------------------------------- |
||
45 | 1 | Patrice Nadeau | |
46 | 49 | Patrice Nadeau | Informations provenant de |
47 | http://www.element14.com/community/community/designcenter/single-board-computers/next-gen\_beaglebone/blog/2013/11/20/beaglebone-web-server--setup |
||
48 | 1 | Patrice Nadeau | |
49 | 49 | Patrice Nadeau | ```bash |
50 | 1 | Patrice Nadeau | # on se met en mode "root" |
51 | 46 | Patrice Nadeau | su - |
52 | 42 | Patrice Nadeau | # On arrete les services suivants |
53 | systemctl disable cloud9.service |
||
54 | systemctl disable gateone.service |
||
55 | systemctl disable bonescript.service |
||
56 | systemctl disable bonescript.socket |
||
57 | systemctl disable bonescript-autorun.service |
||
58 | systemctl disable avahi-daemon.service |
||
59 | 1 | Patrice Nadeau | systemctl disable gdm.service |
60 | 44 | Patrice Nadeau | systemctl disable mpd.service |
61 | # On reboot |
||
62 | 42 | Patrice Nadeau | shutdown -r now |
63 | 49 | Patrice Nadeau | ``` |
64 | 48 | Patrice Nadeau | |
65 | 49 | Patrice Nadeau | Remettre le port 80 au lieu de 8080 comme par défaut pour *apache* dans |
66 | le fichier **/etc/apache2/ports.conf**. |
||
67 | 47 | Patrice Nadeau | |
68 | 49 | Patrice Nadeau | Relancer *apache* |
69 | |||
70 | ```bash |
||
71 | 1 | Patrice Nadeau | sudo systemctl reload apache2.service |
72 | 49 | Patrice Nadeau | ``` |