Mise en place de Sparkleshare sur serveur Debian & client Ubuntu : Différence entre versions
De wikiGite
Ligne 13 : | Ligne 13 : | ||
cd /home/git | cd /home/git | ||
git init --bare sparkleshare | git init --bare sparkleshare | ||
− | + | ||
Configuration de SSH : | Configuration de SSH : | ||
mkdir .ssh | mkdir .ssh |
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