Projet

Général

Profil

Installation » Historique » Version 11

Luc Bourdot, 15/06/2010 15:47

1 8 Luc Bourdot
h1. EMC  sur Scribe  
2 8 Luc Bourdot
(document de travail en attente de l'installation via un paquet)
3 1 Luc Bourdot
4 5 Luc Bourdot
_Récuperer l'archive dans la zone fichier du site _
5 5 Luc Bourdot
6 11 Luc Bourdot
http://dev-eole.ac-dijon.fr/attachments/download/64/emc-0.5.tar.gz
7 1 Luc Bourdot
8 2 Luc Bourdot
*Paquets en dépendances :*
9 4 Luc Bourdot
10 4 Luc Bourdot
Installer avec apt-get install
11 1 Luc Bourdot
12 1 Luc Bourdot
- neko 
13 1 Luc Bourdot
- mod_neko pour apache
14 1 Luc Bourdot
- ffmpeg 
15 2 Luc Bourdot
16 2 Luc Bourdot
h1. installation
17 2 Luc Bourdot
18 2 Luc Bourdot
L'application doit être installé dans /var/www/html/haxe/emc 
19 6 Luc Bourdot
Vous devez donc décompresser l'archive dans /var/www/html
20 6 Luc Bourdot
21 6 Luc Bourdot
22 2 Luc Bourdot
l'url est www.monetab.fr/haxe/emc
23 2 Luc Bourdot
24 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
25 7 Luc Bourdot
26 7 Luc Bourdot
<pre>
27 7 Luc Bourdot
#  test EMC
28 7 Luc Bourdot
Alias /haxe/emc /var/www/html/haxe/emc
29 7 Luc Bourdot
<Directory "/var/www/html/apps/emc/">
30 7 Luc Bourdot
    AddDefaultCharset UTF-8
31 7 Luc Bourdot
    DirectoryIndex index.n
32 7 Luc Bourdot
    Order Allow,Deny
33 7 Luc Bourdot
    Allow from All
34 7 Luc Bourdot
</Directory>
35 7 Luc Bourdot
</pre>
36 7 Luc Bourdot
37 7 Luc Bourdot
38 2 Luc Bourdot
- Créer la base mysql avec  mysql_add.py 
39 2 Luc Bourdot
Nom de la Base emc
40 2 Luc Bourdot
user et mot de passe au choix
41 2 Luc Bourdot
42 9 Luc Bourdot
*dans le dossier haxe*
43 9 Luc Bourdot
44 9 Luc Bourdot
modifier le fichier config.xml 
45 2 Luc Bourdot
46 10 Luc Bourdot
<pre>
47 10 Luc Bourdot
<config
48 10 Luc Bourdot
        db="/var/www/html/haxe/emc/eolemedias"   <= Nom de la base sqlite (Pas utilisé)
49 10 Luc Bourdot
        typedb="mysql"                           <= Type de base - laisser mysql
50 10 Luc Bourdot
        dbuser="ecm"                             <= Utilisateur déclarer à la création de la base
51 10 Luc Bourdot
        dbpass="passwd"                          <= Mot de passe
52 10 Luc Bourdot
        dbhost="localhost"
53 10 Luc Bourdot
        dbport="3306"
54 10 Luc Bourdot
        database="emc"
55 10 Luc Bourdot
        description="Eole Media Center 0.5"
56 10 Luc Bourdot
        title="E.M.C"
57 10 Luc Bourdot
        url="https://wwww.monetab.fr/haxe/emc"   <= Adapter à votre site remplacer par l'adresse internet du serveur
58 10 Luc Bourdot
        mp3server="www.montetab.fr/haxe/emc"
59 10 Luc Bourdot
        mediaserver="wwww.monetab.fr"
60 10 Luc Bourdot
        AutoCreate="true"
61 10 Luc Bourdot
        Debug="true"
62 10 Luc Bourdot
        casserver="https://www.monetab.fr.fr:8443" <= Serveur SSO
63 10 Luc Bourdot
        basedir="/var/spool/Ressources/"           <= Stockage des medias 
64 10 Luc Bourdot
        hostname="www.monetab.fr"
65 10 Luc Bourdot
/>
66 10 Luc Bourdot
</pre>
67 10 Luc Bourdot
68 10 Luc Bourdot
69 10 Luc Bourdot
70 2 Luc Bourdot
lancer la commande neko createdb.n pour créer les structures des tables dans la base
71 2 Luc Bourdot
72 2 Luc Bourdot
lancer la commande nohup mediaserver.n &  pour démarrer le service de streaming 
73 3 Luc Bourdot
Ce service utilise le port 1935  (à ouvrir sur votre parefeu)
74 10 Luc Bourdot
75 10 Luc Bourdot
76 10 Luc Bourdot
77 10 Luc Bourdot
Création de l'espace de stockage
78 10 Luc Bourdot
79 10 Luc Bourdot
ex:
80 10 Luc Bourdot
mkdir   /var/spool/Ressources/
81 1 Luc Bourdot
mkdir   /var/spool/Ressources/public/videos
82 11 Luc Bourdot
mkdir   /var/spool/Ressources/public/audios
83 11 Luc Bourdot
 
84 11 Luc Bourdot
mkdir   /var/spool/Ressources/users
85 11 Luc Bourdot
86 10 Luc Bourdot
87 10 Luc Bourdot
88 3 Luc Bourdot
89 3 Luc Bourdot