Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
projets:vroom [19/02/2015 23:35] dani |
projets:vroom [11/03/2015 16:08] dani |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== VROOM ====== | ====== VROOM ====== | ||
+ | {{odt> | ||
===== Intro ===== | ===== Intro ===== | ||
Ligne 117: | Ligne 117: | ||
<code bash> | <code bash> | ||
- | yum install git nodejs npm tar wget httpd mod_ssl openssl | + | yum install git tar wget httpd mod_ssl openssl mariadb-server \ |
' | ' | ||
' | ' | ||
Ligne 136: | Ligne 136: | ||
=== Setup MySQL/ | === Setup MySQL/ | ||
- | A database will be used to share informations between | + | A database will be used to store rooms configuration, |
<code bash> | <code bash> | ||
systemctl enable mariadb.service | systemctl enable mariadb.service | ||
Ligne 255: | Ligne 254: | ||
</ | </ | ||
- | === Setup SignalMaster === | ||
- | |||
- | This daemon is a slightly modified version of [[https:// | ||
- | |||
- | <code bash> | ||
- | cd / | ||
- | npm install | ||
- | </ | ||
- | |||
- | Ok, now lets create a user to run this | ||
- | <code bash> | ||
- | useradd -r signalmaster | ||
- | </ | ||
- | |||
- | Lets configure signalmaster: | ||
- | <code bash> | ||
- | cat <<' | ||
- | { | ||
- | " | ||
- | " | ||
- | " | ||
- | }, | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | } | ||
- | } | ||
- | EOF | ||
- | </ | ||
- | |||
- | Now, lets add our unit file so systemd will be able to manage this daemon: | ||
- | <code bash> | ||
- | cp / | ||
- | systemctl daemon-reload | ||
- | systemctl enable signalmaster | ||
- | systemctl start signalmaster | ||
- | </ | ||
- | |||
- | <note important> | ||
=== Setup Apache === | === Setup Apache === |