Projet

Général

Profil

Installation » Historique » Version 7

Luc Bourdot, 15/06/2010 15:22

1 2 Luc Bourdot
h1. EMC  sur Scribe  (document de travail)
2 1 Luc Bourdot
3 5 Luc Bourdot
_Récuperer l'archive dans la zone fichier du site _
4 5 Luc Bourdot
5 5 Luc Bourdot
http://dev-eole.ac-dijon.fr/attachments/download/62/emc-0.5.tar.gz
6 1 Luc Bourdot
7 2 Luc Bourdot
*Paquets en dépendances :*
8 4 Luc Bourdot
9 4 Luc Bourdot
Installer avec apt-get install
10 1 Luc Bourdot
11 1 Luc Bourdot
- neko 
12 1 Luc Bourdot
- mod_neko pour apache
13 1 Luc Bourdot
- ffmpeg 
14 2 Luc Bourdot
15 2 Luc Bourdot
h1. installation
16 2 Luc Bourdot
17 2 Luc Bourdot
L'application doit être installé dans /var/www/html/haxe/emc 
18 6 Luc Bourdot
Vous devez donc décompresser l'archive dans /var/www/html
19 6 Luc Bourdot
20 6 Luc Bourdot
21 2 Luc Bourdot
l'url est www.monetab.fr/haxe/emc
22 2 Luc Bourdot
23 7 Luc Bourdot
Vous devez soit faire la déclaration du site par gen_config, soit créer un fichier emc.conf dans  /etc/apache2/sites-enabled
24 7 Luc Bourdot
25 7 Luc Bourdot
<pre>
26 7 Luc Bourdot
#  test EMC
27 7 Luc Bourdot
Alias /haxe/emc /var/www/html/haxe/emc
28 7 Luc Bourdot
<Directory "/var/www/html/apps/emc/">
29 7 Luc Bourdot
    AddDefaultCharset UTF-8
30 7 Luc Bourdot
    DirectoryIndex index.n
31 7 Luc Bourdot
    Order Allow,Deny
32 7 Luc Bourdot
    Allow from All
33 7 Luc Bourdot
</Directory>
34 7 Luc Bourdot
</pre>
35 7 Luc Bourdot
36 7 Luc Bourdot
37 2 Luc Bourdot
- Créer la base mysql avec  mysql_add.py 
38 2 Luc Bourdot
Nom de la Base emc
39 2 Luc Bourdot
user et mot de passe au choix
40 2 Luc Bourdot
41 2 Luc Bourdot
modifier le fichier config.xml (dans le dossier haxe)
42 2 Luc Bourdot
43 2 Luc Bourdot
lancer la commande neko createdb.n pour créer les structures des tables dans la base
44 2 Luc Bourdot
45 2 Luc Bourdot
lancer la commande nohup mediaserver.n &  pour démarrer le service de streaming 
46 3 Luc Bourdot
Ce service utilise le port 1935  (à ouvrir sur votre parefeu)
47 3 Luc Bourdot
48 3 Luc Bourdot