Mise en place de Sparkleshare sur serveur Debian & client Ubuntu : Différence entre versions
De wikiGite
(Page créée avec « == Côté Serveur (Debian Squeeze) == apt-get install gtk-sharp2 mono-runtime mono-devel monodevelop libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev mono-... ») |
|||
Ligne 1 : | Ligne 1 : | ||
== Côté Serveur (Debian Squeeze) == | == Côté Serveur (Debian Squeeze) == | ||
− | apt-get install | + | Installation des pré-requis (obligatoire sur le serveur) : |
+ | apt-get install mono-runtime mono-devel monodevelop mono-mcs mono-gmcs | ||
+ | apt-get install gtk-sharp2 libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev | ||
+ | |||
+ | Installation de Git et openssh-server : | ||
apt-get install git openssh-server | apt-get install git openssh-server | ||
+ | Configuration de Git : | ||
adduser --disabled-password git | adduser --disabled-password git | ||
cd /home/git | cd /home/git | ||
git init --bare sparkleshare | git init --bare sparkleshare | ||
+ | |||
+ | Configuration de SSH : | ||
mkdir .ssh | mkdir .ssh | ||
vi .ssh/authorized_keys | vi .ssh/authorized_keys | ||
Ligne 19 : | Ligne 26 : | ||
== Côté Client == | == Côté Client == | ||
+ | Installation des pré-requis : | ||
sudo apt-get install intltool | sudo apt-get install intltool | ||
sudo apt-get install mono-runtime | sudo apt-get install mono-runtime | ||
Ligne 25 : | Ligne 33 : | ||
sudo apt-get update | sudo apt-get update | ||
+ | Installation de Sparkleshare : | ||
mkdir /opt/sparkleshare | mkdir /opt/sparkleshare | ||
Ligne 41 : | Ligne 50 : | ||
cd /opt/sparkleshare/bin | cd /opt/sparkleshare/bin | ||
./sparkleshare start | ./sparkleshare start | ||
+ | |||
+ | Configuration de SSH : | ||
Mettre sa clé SSH sur le serveur dans /home/git/.ssh/authorized_keys | Mettre sa clé SSH sur le serveur dans /home/git/.ssh/authorized_keys | ||
+ | |||
+ | Paramétrage de Sparkleshare : | ||
Puis dans l'interface de Sparkleshare, ajouter un "projet" : | Puis dans l'interface de Sparkleshare, ajouter un "projet" : | ||
− | + | *Choisir Own Server | |
− | + | *<u>Exemple :</u> <nom_serveur>.kogite.fr | |
− | + | *<u>Exemple :</u> /home/git/sparkleshare |
Version du 5 janvier 2012 à 11:01
Côté Serveur (Debian Squeeze)
Installation des pré-requis (obligatoire sur le serveur) :
apt-get install mono-runtime mono-devel monodevelop mono-mcs mono-gmcs
apt-get install gtk-sharp2 libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev
Installation de Git et openssh-server :
apt-get install git openssh-server
Configuration de Git :
adduser --disabled-password git cd /home/git git init --bare sparkleshare
Configuration de SSH :
mkdir .ssh vi .ssh/authorized_keys
mettre la clé SSH du/des poste(s) client(s)
chmod 700 .ssh chmod 600 .ssh/authorized_keys chown -R git .
Côté Client
Installation des pré-requis :
sudo apt-get install intltool sudo apt-get install mono-runtime sudo apt-get install git
sudo apt-get update
Installation de Sparkleshare :
mkdir /opt/sparkleshare
wget https://github.com/downloads/hbons/SparkleShare/ tar xzf sparkleshare-0.6.0.tar.gz
cd sparkleshare-0.6.0
./configure --prefix=/opt/sparkleshare
Remarque : si souci avec mono --> sudo apt-get remove mono-runtime puis sudo apt-get install mono-runtime
make sudo make install
cd /opt/sparkleshare/bin ./sparkleshare start
Configuration de SSH :
Mettre sa clé SSH sur le serveur dans /home/git/.ssh/authorized_keys
Paramétrage de Sparkleshare :
Puis dans l'interface de Sparkleshare, ajouter un "projet" :
- Choisir Own Server
- Exemple : <nom_serveur>.kogite.fr
- Exemple : /home/git/sparkleshare